mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-27 16:53:35 +00:00
git-subtree-dir: techpack/audio git-subtree-mainline:c4ac9f41f5git-subtree-split:d4a1fdac7bChange-Id: I9f1af2abd41942d29296c963aac75ed023624164
50 lines
1.8 KiB
C
50 lines
1.8 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2015-2017, 2020, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __SDM660_EXTERNAL
|
|
#define __SDM660_EXTERNAL
|
|
|
|
int msm_snd_hw_params(struct snd_pcm_substream *substream,
|
|
struct snd_pcm_hw_params *params);
|
|
int msm_ext_slimbus_2_hw_params(struct snd_pcm_substream *substream,
|
|
struct snd_pcm_hw_params *params);
|
|
int msm_btsco_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
|
|
struct snd_pcm_hw_params *params);
|
|
int msm_proxy_rx_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
|
|
struct snd_pcm_hw_params *params);
|
|
int msm_proxy_tx_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
|
|
struct snd_pcm_hw_params *params);
|
|
int msm_audrx_init(struct snd_soc_pcm_runtime *rtd);
|
|
int msm_snd_cpe_hw_params(struct snd_pcm_substream *substream,
|
|
struct snd_pcm_hw_params *params);
|
|
struct snd_soc_card *populate_snd_card_dailinks(struct device *dev,
|
|
int snd_card_val);
|
|
int msm_ext_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
|
|
struct snd_pcm_hw_params *params);
|
|
int msm_snd_card_tavil_late_probe(struct snd_soc_card *card);
|
|
int msm_snd_card_tasha_late_probe(struct snd_soc_card *card);
|
|
#if IS_ENABLED(CONFIG_SND_SOC_EXT_CODEC)
|
|
int msm_ext_cdc_init(struct platform_device *, struct msm_asoc_mach_data *,
|
|
struct snd_soc_card **, struct wcd_mbhc_config *);
|
|
void msm_ext_register_audio_notifier(struct platform_device *pdev);
|
|
void msm_ext_cdc_deinit(struct msm_asoc_mach_data *pdata);
|
|
#else
|
|
inline int msm_ext_cdc_init(struct platform_device *pdev,
|
|
struct msm_asoc_mach_data *pdata,
|
|
struct snd_soc_card **card,
|
|
struct wcd_mbhc_config *wcd_mbhc_cfg_ptr1)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
inline void msm_ext_register_audio_notifier(struct platform_device *pdev)
|
|
{
|
|
}
|
|
inline void msm_ext_cdc_deinit(void)
|
|
{
|
|
}
|
|
#endif
|
|
#endif
|