Home
last modified time | relevance | path

Searched refs:aif_id (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/drivers/sound/
H A Dmax98095.c58 enum en_max_audio_interface aif_id, in max98095_hw_params() argument
67 if (aif_id == AIF1) { in max98095_hw_params()
168 enum en_max_audio_interface aif_id) in max98095_set_fmt() argument
182 if (aif_id == AIF1) { in max98095_set_fmt()
329 enum en_max_audio_interface aif_id) in max98095_setup_interface() argument
339 if (aif_id == AIF1) in max98095_setup_interface()
351 if (aif_id == AIF1) in max98095_setup_interface()
381 if (aif_id == AIF1) in max98095_setup_interface()
393 enum en_max_audio_interface aif_id, in max98095_do_init() argument
399 ret = max98095_setup_interface(priv, aif_id); in max98095_do_init()
[all …]
H A Dwm8994.c163 switch (aif_id) { in wm8994_set_fmt()
290 int id = aif_id - 1; in wm8994_hw_params()
295 switch (aif_id) { in wm8994_hw_params()
507 priv->sysclk[aif_id - 1] = clk_id; in wm8994_set_sysclk()
512 if (aif_id == 2) { in wm8994_set_sysclk()
557 ret |= configure_aif_clock(priv, aif_id); in wm8994_set_sysclk()
686 enum en_audio_interface aif_id) in wm8994_setup_interface() argument
705 if (aif_id == WM8994_AIF1) { in wm8994_setup_interface()
721 } else if (aif_id == WM8994_AIF2) { in wm8994_setup_interface()
758 if (aif_id == WM8994_AIF1) { in wm8994_setup_interface()
[all …]
H A Dwm8994.h65 int wm8994_init(const void *blob, enum en_audio_interface aif_id,
H A Dmax98095.h313 int max98095_init(const void *blob, enum en_max_audio_interface aif_id,
/openbmc/linux/sound/soc/codecs/
H A Dtscs454.c99 int aif_id, bool playback) in set_aif_status_active() argument
101 u8 mask = 0x01 << (aif_id * 2 + !playback); in set_aif_status_active()
107 int aif_id, bool playback) in set_aif_status_inactive() argument
109 u8 mask = ~(0x01 << (aif_id * 2 + !playback)); in set_aif_status_inactive()
119 static bool aif_active(struct aifs_status *status, int aif_id) in aif_active() argument
121 return (0x03 << aif_id * 2) & status->streams; in aif_active()
760 unsigned int aif_id, bool provider) in aif_set_provider() argument
767 switch (aif_id) { in aif_set_provider()
788 aif_id, provider ? "provider" : "consumer", ret); in aif_set_provider()
3117 int aif_id) in set_aif_sample_format() argument
[all …]
H A Dwcd934x.c3325 int aif_id; in slim_rx_mux_to_dai_id() local
3329 aif_id = AIF1_PB; in slim_rx_mux_to_dai_id()
3332 aif_id = AIF2_PB; in slim_rx_mux_to_dai_id()
3335 aif_id = AIF3_PB; in slim_rx_mux_to_dai_id()
3338 aif_id = AIF4_PB; in slim_rx_mux_to_dai_id()
3341 aif_id = -1; in slim_rx_mux_to_dai_id()
3345 return aif_id; in slim_rx_mux_to_dai_id()
3360 int aif_id; in slim_rx_mux_put() local
3370 if (aif_id < 0) in slim_rx_mux_put()
3385 aif_id = slim_rx_mux_to_dai_id(mux_idx); in slim_rx_mux_put()
[all …]