kernel_samsung_a34x-permissive/sound/soc/mediatek/common_int/mtk-auddrv-underflow-mach.h

42 lines
1 KiB
C
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019 MediaTek Inc.
* Author: Michael Hsiao <michael.hsiao@mediatek.com>
*/
/*******************************************************************************
*
* Filename:
* ---------
* AudDrv_devtree_parser.c
*
* Project:
* --------
*
*
* Description:
* ------------
* AudDrv_devtree_parser
*
* Author:
* -------
* Chipeng Chang (mtk02308)
*
*------------------------------------------------------------------------------
*
*
******************************************************************************
*/
#include <mt-plat/aee.h>
void SetUnderFlowThreshold(unsigned int Threshold);
void Auddrv_Aee_Dump(void);
void Auddrv_Set_UnderFlow(void);
void Auddrv_Reset_Dump_State(void);
void Auddrv_Set_Interrupt_Changed(bool bChange);
void Auddrv_CheckInterruptTiming(void);
void RefineInterrruptInterval(void);
bool Auddrv_Set_DlSamplerate(unsigned int Samplerate);
bool Auddrv_Set_InterruptSample(unsigned int count);
bool Auddrv_Enable_dump(bool bEnable);