/kernel/linux/linux-5.10/sound/soc/mediatek/common/ |
H A D | mtk-afe-fe-dai.h | 3 * mtk-afe-fe-dais.h -- Mediatek afe fe dai operator definition 17 struct snd_soc_dai *dai); 19 struct snd_soc_dai *dai); 22 struct snd_soc_dai *dai); 24 struct snd_soc_dai *dai); 26 struct snd_soc_dai *dai); 28 struct snd_soc_dai *dai);
|
/kernel/linux/linux-6.6/sound/soc/mediatek/common/ |
H A D | mtk-afe-fe-dai.h | 3 * mtk-afe-fe-dais.h -- Mediatek afe fe dai operator definition 17 struct snd_soc_dai *dai); 19 struct snd_soc_dai *dai); 22 struct snd_soc_dai *dai); 24 struct snd_soc_dai *dai); 26 struct snd_soc_dai *dai); 28 struct snd_soc_dai *dai);
|
/kernel/linux/linux-5.10/sound/soc/bcm/ |
H A D | bcm2835-i2s.c | 219 static int bcm2835_i2s_set_dai_fmt(struct snd_soc_dai *dai, in bcm2835_i2s_set_dai_fmt() argument 222 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_set_dai_fmt() 227 static int bcm2835_i2s_set_dai_bclk_ratio(struct snd_soc_dai *dai, in bcm2835_i2s_set_dai_bclk_ratio() argument 230 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_set_dai_bclk_ratio() 249 static int bcm2835_i2s_set_dai_tdm_slot(struct snd_soc_dai *dai, in bcm2835_i2s_set_dai_tdm_slot() argument 253 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_set_dai_tdm_slot() 331 struct snd_soc_dai *dai) in bcm2835_i2s_hw_params() 333 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_hw_params() 618 struct snd_soc_dai *dai) in bcm2835_i2s_prepare() 620 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_prepare() 329 bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) bcm2835_i2s_hw_params() argument 617 bcm2835_i2s_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) bcm2835_i2s_prepare() argument 641 bcm2835_i2s_stop(struct bcm2835_i2s_dev *dev, struct snd_pcm_substream *substream, struct snd_soc_dai *dai) bcm2835_i2s_stop() argument 660 bcm2835_i2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) bcm2835_i2s_trigger() argument 693 bcm2835_i2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) bcm2835_i2s_startup() argument 718 bcm2835_i2s_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) bcm2835_i2s_shutdown() argument 751 bcm2835_i2s_dai_probe(struct snd_soc_dai *dai) bcm2835_i2s_dai_probe() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/bcm/ |
H A D | bcm2835-i2s.c | 219 static int bcm2835_i2s_set_dai_fmt(struct snd_soc_dai *dai, in bcm2835_i2s_set_dai_fmt() argument 222 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_set_dai_fmt() 227 static int bcm2835_i2s_set_dai_bclk_ratio(struct snd_soc_dai *dai, in bcm2835_i2s_set_dai_bclk_ratio() argument 230 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_set_dai_bclk_ratio() 249 static int bcm2835_i2s_set_dai_tdm_slot(struct snd_soc_dai *dai, in bcm2835_i2s_set_dai_tdm_slot() argument 253 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_set_dai_tdm_slot() 331 struct snd_soc_dai *dai) in bcm2835_i2s_hw_params() 333 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_hw_params() 618 struct snd_soc_dai *dai) in bcm2835_i2s_prepare() 620 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_prepare() 329 bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) bcm2835_i2s_hw_params() argument 617 bcm2835_i2s_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) bcm2835_i2s_prepare() argument 641 bcm2835_i2s_stop(struct bcm2835_i2s_dev *dev, struct snd_pcm_substream *substream, struct snd_soc_dai *dai) bcm2835_i2s_stop() argument 660 bcm2835_i2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) bcm2835_i2s_trigger() argument 693 bcm2835_i2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) bcm2835_i2s_startup() argument 718 bcm2835_i2s_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) bcm2835_i2s_shutdown() argument 740 bcm2835_i2s_dai_probe(struct snd_soc_dai *dai) bcm2835_i2s_dai_probe() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/ti/ |
H A D | omap-dmic.c | 91 struct snd_soc_dai *dai) in omap_dmic_dai_startup() 93 struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); in omap_dmic_dai_startup() 98 if (!snd_soc_dai_active(dai)) in omap_dmic_dai_startup() 109 struct snd_soc_dai *dai) in omap_dmic_dai_shutdown() 111 struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); in omap_dmic_dai_shutdown() 117 if (!snd_soc_dai_active(dai)) in omap_dmic_dai_shutdown() 188 struct snd_soc_dai *dai) in omap_dmic_dai_hw_params() 190 struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); in omap_dmic_dai_hw_params() 219 dma_data = snd_soc_dai_get_dma_data(dai, substream); in omap_dmic_dai_hw_params() 228 struct snd_soc_dai *dai) in omap_dmic_dai_prepare() 90 omap_dmic_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) omap_dmic_dai_startup() argument 108 omap_dmic_dai_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) omap_dmic_dai_shutdown() argument 186 omap_dmic_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) omap_dmic_dai_hw_params() argument 227 omap_dmic_dai_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) omap_dmic_dai_prepare() argument 260 omap_dmic_dai_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) omap_dmic_dai_trigger() argument 390 omap_dmic_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir) omap_dmic_set_dai_sysclk() argument 413 omap_dmic_probe(struct snd_soc_dai *dai) omap_dmic_probe() argument 432 omap_dmic_remove(struct snd_soc_dai *dai) omap_dmic_remove() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8192/ |
H A D | mt8192-dai-tdm.c | 484 /* dai ops */ 515 struct snd_soc_dai *dai) in mtk_dai_tdm_hw_params() 517 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_tdm_hw_params() 519 int tdm_id = dai->id; in mtk_dai_tdm_hw_params() 630 static int mtk_dai_tdm_set_sysclk(struct snd_soc_dai *dai, in mtk_dai_tdm_set_sysclk() argument 633 struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); in mtk_dai_tdm_set_sysclk() 635 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_tdm_set_sysclk() 652 static int mtk_dai_tdm_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in mtk_dai_tdm_set_fmt() argument 654 struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); in mtk_dai_tdm_set_fmt() 656 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai in mtk_dai_tdm_set_fmt() 513 mtk_dai_tdm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) mtk_dai_tdm_hw_params() argument 755 struct mtk_base_afe_dai *dai; mt8192_dai_tdm_register() local [all...] |
/kernel/linux/linux-6.6/sound/soc/ti/ |
H A D | omap-dmic.c | 91 struct snd_soc_dai *dai) in omap_dmic_dai_startup() 93 struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); in omap_dmic_dai_startup() 98 if (!snd_soc_dai_active(dai)) in omap_dmic_dai_startup() 109 struct snd_soc_dai *dai) in omap_dmic_dai_shutdown() 111 struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); in omap_dmic_dai_shutdown() 117 if (!snd_soc_dai_active(dai)) in omap_dmic_dai_shutdown() 188 struct snd_soc_dai *dai) in omap_dmic_dai_hw_params() 190 struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); in omap_dmic_dai_hw_params() 219 dma_data = snd_soc_dai_get_dma_data(dai, substream); in omap_dmic_dai_hw_params() 228 struct snd_soc_dai *dai) in omap_dmic_dai_prepare() 90 omap_dmic_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) omap_dmic_dai_startup() argument 108 omap_dmic_dai_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) omap_dmic_dai_shutdown() argument 186 omap_dmic_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) omap_dmic_dai_hw_params() argument 227 omap_dmic_dai_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) omap_dmic_dai_prepare() argument 260 omap_dmic_dai_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) omap_dmic_dai_trigger() argument 390 omap_dmic_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir) omap_dmic_set_dai_sysclk() argument 404 omap_dmic_probe(struct snd_soc_dai *dai) omap_dmic_probe() argument 423 omap_dmic_remove(struct snd_soc_dai *dai) omap_dmic_remove() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/tegra/ |
H A D | tegra30_i2s.c | 76 static int tegra30_i2s_set_fmt(struct snd_soc_dai *dai, in tegra30_i2s_set_fmt() argument 79 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_set_fmt() 127 pm_runtime_get_sync(dai->dev); in tegra30_i2s_set_fmt() 129 pm_runtime_put(dai->dev); in tegra30_i2s_set_fmt() 136 struct snd_soc_dai *dai) in tegra30_i2s_hw_params() 138 struct device *dev = dai->dev; in tegra30_i2s_hw_params() 139 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_hw_params() 240 struct snd_soc_dai *dai) in tegra30_i2s_trigger() 242 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_trigger() 268 static int tegra30_i2s_set_tdm(struct snd_soc_dai *dai, in tegra30_i2s_set_tdm() argument 134 tegra30_i2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tegra30_i2s_hw_params() argument 239 tegra30_i2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) tegra30_i2s_trigger() argument 296 tegra30_i2s_probe(struct snd_soc_dai *dai) tegra30_i2s_probe() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/ |
H A D | Makefile | 7 mt8183-dai-i2s.o \ 8 mt8183-dai-tdm.o \ 9 mt8183-dai-pcm.o \ 10 mt8183-dai-hostless.o \ 11 mt8183-dai-adda.o
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | compress.h | 19 struct snd_soc_dai *dai); 21 struct snd_soc_dai *dai); 23 struct snd_compr_params *params, struct snd_soc_dai *dai); 25 struct snd_soc_dai *dai); 27 struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai);
|
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8183/ |
H A D | Makefile | 7 mt8183-dai-i2s.o \ 8 mt8183-dai-tdm.o \ 9 mt8183-dai-pcm.o \ 10 mt8183-dai-hostless.o \ 11 mt8183-dai-adda.o
|
/kernel/linux/linux-5.10/sound/soc/adi/ |
H A D | axi-spdif.c | 49 struct snd_soc_dai *dai) in axi_spdif_trigger() 51 struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); in axi_spdif_trigger() 76 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in axi_spdif_hw_params() 78 struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); in axi_spdif_hw_params() 108 static int axi_spdif_dai_probe(struct snd_soc_dai *dai) in axi_spdif_dai_probe() argument 110 struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); in axi_spdif_dai_probe() 112 snd_soc_dai_init_dma_data(dai, &spdif->dma_data, NULL); in axi_spdif_dai_probe() 118 struct snd_soc_dai *dai) in axi_spdif_startup() 120 struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); in axi_spdif_startup() 140 struct snd_soc_dai *dai) in axi_spdif_shutdown() 48 axi_spdif_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) axi_spdif_trigger() argument 75 axi_spdif_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) axi_spdif_hw_params() argument 117 axi_spdif_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) axi_spdif_startup() argument 139 axi_spdif_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) axi_spdif_shutdown() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/adi/ |
H A D | axi-spdif.c | 49 struct snd_soc_dai *dai) in axi_spdif_trigger() 51 struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); in axi_spdif_trigger() 76 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in axi_spdif_hw_params() 78 struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); in axi_spdif_hw_params() 108 static int axi_spdif_dai_probe(struct snd_soc_dai *dai) in axi_spdif_dai_probe() argument 110 struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); in axi_spdif_dai_probe() 112 snd_soc_dai_init_dma_data(dai, &spdif->dma_data, NULL); in axi_spdif_dai_probe() 118 struct snd_soc_dai *dai) in axi_spdif_startup() 120 struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); in axi_spdif_startup() 140 struct snd_soc_dai *dai) in axi_spdif_shutdown() 48 axi_spdif_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) axi_spdif_trigger() argument 75 axi_spdif_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) axi_spdif_hw_params() argument 117 axi_spdif_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) axi_spdif_startup() argument 139 axi_spdif_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) axi_spdif_shutdown() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | sdw-mockup.c | 41 static int sdw_mockup_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream, in sdw_mockup_set_sdw_stream() argument 44 snd_soc_dai_dma_data_set(dai, direction, sdw_stream); in sdw_mockup_set_sdw_stream() 50 struct snd_soc_dai *dai) in sdw_mockup_shutdown() 52 snd_soc_dai_set_dma_data(dai, substream, NULL); in sdw_mockup_shutdown() 57 struct snd_soc_dai *dai) in sdw_mockup_pcm_hw_params() 59 struct snd_soc_component *component = dai->component; in sdw_mockup_pcm_hw_params() 63 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); in sdw_mockup_pcm_hw_params() 83 dev_err(dai->dev, "Unable to configure port\n"); in sdw_mockup_pcm_hw_params() 89 struct snd_soc_dai *dai) in sdw_mockup_pcm_hw_free() 91 struct snd_soc_component *component = dai in sdw_mockup_pcm_hw_free() 49 sdw_mockup_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) sdw_mockup_shutdown() argument 55 sdw_mockup_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) sdw_mockup_pcm_hw_params() argument 88 sdw_mockup_pcm_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) sdw_mockup_pcm_hw_free() argument [all...] |
H A D | sti-sas.c | 151 static int sti_sas_dac_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in sti_sas_dac_set_fmt() argument 155 dev_err(dai->component->dev, in sti_sas_dac_set_fmt() 178 static int stih407_sas_dac_mute(struct snd_soc_dai *dai, int mute, int stream) in stih407_sas_dac_mute() argument 180 struct snd_soc_component *component = dai->component; in stih407_sas_dac_mute() 196 static int sti_sas_spdif_set_fmt(struct snd_soc_dai *dai, in sti_sas_spdif_set_fmt() argument 200 dev_err(dai->component->dev, in sti_sas_spdif_set_fmt() 212 * before CPU dai is stopped. 216 struct snd_soc_dai *dai) in sti_sas_spdif_trigger() 218 struct snd_soc_component *component = dai->component; in sti_sas_spdif_trigger() 254 static int sti_sas_set_sysclk(struct snd_soc_dai *dai, in argument 215 sti_sas_spdif_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) sti_sas_spdif_trigger() argument 279 sti_sas_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) sti_sas_prepare() argument [all...] |
H A D | hdmi-codec.c | 427 struct snd_soc_dai *dai) in hdmi_codec_startup() 429 struct hdmi_codec_priv *hcp = snd_soc_dai_get_drvdata(dai); in hdmi_codec_startup() 440 dev_err(dai->dev, "Only one simultaneous stream supported!\n"); in hdmi_codec_startup() 446 ret = hcp->hcd.ops->audio_startup(dai->dev->parent, hcp->hcd.data); in hdmi_codec_startup() 452 ret = hcp->hcd.ops->get_eld(dai->dev->parent, hcp->hcd.data, in hdmi_codec_startup() 473 struct snd_soc_dai *dai) in hdmi_codec_shutdown() 475 struct hdmi_codec_priv *hcp = snd_soc_dai_get_drvdata(dai); in hdmi_codec_shutdown() 484 hcp->hcd.ops->audio_shutdown(dai->dev->parent, hcp->hcd.data); in hdmi_codec_shutdown() 491 static int hdmi_codec_fill_codec_params(struct snd_soc_dai *dai, in hdmi_codec_fill_codec_params() argument 497 struct hdmi_codec_priv *hcp = snd_soc_dai_get_drvdata(dai); in hdmi_codec_fill_codec_params() 426 hdmi_codec_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) hdmi_codec_startup() argument 472 hdmi_codec_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) hdmi_codec_shutdown() argument 542 hdmi_codec_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) hdmi_codec_hw_params() argument 587 hdmi_codec_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) hdmi_codec_prepare() argument 623 hdmi_codec_i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) hdmi_codec_i2s_set_fmt() argument 690 hdmi_codec_mute(struct snd_soc_dai *dai, int mute, int direction) hdmi_codec_mute() argument 774 hdmi_codec_pcm_new(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai) hdmi_codec_pcm_new() argument 813 hdmi_dai_probe(struct snd_soc_dai *dai) hdmi_dai_probe() argument 897 hdmi_dai_spdif_probe(struct snd_soc_dai *dai) hdmi_dai_spdif_probe() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/tegra/ |
H A D | tegra210_admaif.c | 267 struct snd_soc_dai *dai) in tegra_admaif_hw_params() 269 struct device *dev = dai->dev; in tegra_admaif_hw_params() 270 struct tegra_admaif *admaif = snd_soc_dai_get_drvdata(dai); in tegra_admaif_hw_params() 304 reg = CH_TX_REG(TEGRA_ADMAIF_CH_ACIF_TX_CTRL, dai->id); in tegra_admaif_hw_params() 307 reg = CH_RX_REG(TEGRA_ADMAIF_CH_ACIF_RX_CTRL, dai->id); in tegra_admaif_hw_params() 310 cif_conf.mono_conv = admaif->mono_to_stereo[path][dai->id]; in tegra_admaif_hw_params() 311 cif_conf.stereo_conv = admaif->stereo_to_mono[path][dai->id]; in tegra_admaif_hw_params() 320 static int tegra_admaif_start(struct snd_soc_dai *dai, int direction) in tegra_admaif_start() argument 322 struct tegra_admaif *admaif = snd_soc_dai_get_drvdata(dai); in tegra_admaif_start() 329 reg = CH_TX_REG(TEGRA_ADMAIF_TX_ENABLE, dai in tegra_admaif_start() 265 tegra_admaif_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tegra_admaif_hw_params() argument 345 tegra_admaif_stop(struct snd_soc_dai *dai, int direction) tegra_admaif_stop() argument 399 tegra_admaif_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) tegra_admaif_trigger() argument 543 tegra_admaif_dai_probe(struct snd_soc_dai *dai) tegra_admaif_dai_probe() argument [all...] |
H A D | tegra20_i2s.c | 59 static int tegra20_i2s_set_fmt(struct snd_soc_dai *dai, in tegra20_i2s_set_fmt() argument 62 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_set_fmt() 117 struct snd_soc_dai *dai) in tegra20_i2s_hw_params() 119 struct device *dev = dai->dev; in tegra20_i2s_hw_params() 120 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_hw_params() 202 struct snd_soc_dai *dai) in tegra20_i2s_trigger() 204 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_trigger() 230 static int tegra20_i2s_probe(struct snd_soc_dai *dai) in tegra20_i2s_probe() argument 232 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_probe() 234 dai in tegra20_i2s_probe() 115 tegra20_i2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) tegra20_i2s_hw_params() argument 201 tegra20_i2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) tegra20_i2s_trigger() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | sti-sas.c | 157 static int sti_sas_dac_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in sti_sas_dac_set_fmt() argument 161 dev_err(dai->component->dev, in sti_sas_dac_set_fmt() 184 static int stih407_sas_dac_mute(struct snd_soc_dai *dai, int mute, int stream) in stih407_sas_dac_mute() argument 186 struct snd_soc_component *component = dai->component; in stih407_sas_dac_mute() 202 static int sti_sas_spdif_set_fmt(struct snd_soc_dai *dai, in sti_sas_spdif_set_fmt() argument 206 dev_err(dai->component->dev, in sti_sas_spdif_set_fmt() 218 * before CPU dai is stopped. 222 struct snd_soc_dai *dai) in sti_sas_spdif_trigger() 224 struct snd_soc_component *component = dai->component; in sti_sas_spdif_trigger() 260 static int sti_sas_set_sysclk(struct snd_soc_dai *dai, in argument 221 sti_sas_spdif_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) sti_sas_spdif_trigger() argument 285 sti_sas_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) sti_sas_prepare() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | probes.c | 54 static int avs_probe_compr_open(struct snd_compr_stream *cstream, struct snd_soc_dai *dai) in avs_probe_compr_open() argument 56 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_open() 61 dev_err(dai->dev, "Cannot open more than one extractor stream\n"); in avs_probe_compr_open() 67 dev_err(dai->dev, "Failed to assign HDAudio stream for extraction\n"); in avs_probe_compr_open() 78 static int avs_probe_compr_free(struct snd_compr_stream *cstream, struct snd_soc_dai *dai) in avs_probe_compr_free() argument 81 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_free() 91 dev_err(dai->dev, "get probe points failed: %d\n", ret); in avs_probe_compr_free() 121 struct snd_compr_params *params, struct snd_soc_dai *dai) in avs_probe_compr_set_params() 125 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_set_params() 167 dev_err(dai in avs_probe_compr_set_params() 120 avs_probe_compr_set_params(struct snd_compr_stream *cstream, struct snd_compr_params *params, struct snd_soc_dai *dai) avs_probe_compr_set_params() argument 177 avs_probe_compr_trigger(struct snd_compr_stream *cstream, int cmd, struct snd_soc_dai *dai) avs_probe_compr_trigger() argument 212 avs_probe_compr_pointer(struct snd_compr_stream *cstream, struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai) avs_probe_compr_pointer() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/atmel/ |
H A D | mchp-spdiftx.c | 285 struct snd_soc_dai *dai) in mchp_spdiftx_dai_startup() 287 struct mchp_spdiftx_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_spdiftx_dai_startup() 297 struct snd_soc_dai *dai) in mchp_spdiftx_dai_shutdown() 299 struct mchp_spdiftx_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_spdiftx_dai_shutdown() 306 struct snd_soc_dai *dai) in mchp_spdiftx_trigger() 308 struct mchp_spdiftx_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_spdiftx_trigger() 353 struct snd_soc_dai *dai) in mchp_spdiftx_hw_params() 356 struct mchp_spdiftx_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_spdiftx_hw_params() 521 struct snd_soc_dai *dai) in mchp_spdiftx_hw_free() 523 struct mchp_spdiftx_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_spdiftx_hw_free() 284 mchp_spdiftx_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mchp_spdiftx_dai_startup() argument 296 mchp_spdiftx_dai_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mchp_spdiftx_dai_shutdown() argument 305 mchp_spdiftx_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) mchp_spdiftx_trigger() argument 351 mchp_spdiftx_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) mchp_spdiftx_hw_params() argument 520 mchp_spdiftx_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) mchp_spdiftx_hw_free() argument 574 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); mchp_spdiftx_cs_get() local 590 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); mchp_spdiftx_cs_put() local 633 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); mchp_spdiftx_subcode_get() local 650 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); mchp_spdiftx_subcode_put() local 710 mchp_spdiftx_dai_probe(struct snd_soc_dai *dai) mchp_spdiftx_dai_probe() argument 731 mchp_spdiftx_dai_remove(struct snd_soc_dai *dai) mchp_spdiftx_dai_remove() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | audio_codec.c | 36 struct gbaudio_codec_dai *dai; in find_dai_stream_params() local 38 list_for_each_entry(dai, &codec->dai_list, list) { in find_dai_stream_params() 39 if (dai->id == id) in find_dai_stream_params() 40 return &dai->params[stream]; in find_dai_stream_params() 55 /* find the dai */ in gbaudio_module_enable_tx() 138 /* find the dai */ in gbaudio_module_disable_tx() 190 /* find the dai */ in gbaudio_module_enable_rx() 273 /* find the dai */ in gbaudio_module_disable_rx() 361 struct snd_soc_dai *dai) in gbcodec_startup() 363 struct gbaudio_codec_info *codec = dev_get_drvdata(dai in gbcodec_startup() 360 gbcodec_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) gbcodec_startup() argument 388 gbcodec_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) gbcodec_shutdown() argument 410 gbcodec_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hwparams, struct snd_soc_dai *dai) gbcodec_hw_params() argument 515 gbcodec_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) gbcodec_prepare() argument 584 gbcodec_mute_stream(struct snd_soc_dai *dai, int mute, int stream) gbcodec_mute_stream() argument 1031 struct gbaudio_codec_dai *dai; gbcodec_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | audio_codec.c | 36 struct gbaudio_codec_dai *dai; in find_dai_stream_params() local 38 list_for_each_entry(dai, &codec->dai_list, list) { in find_dai_stream_params() 39 if (dai->id == id) in find_dai_stream_params() 40 return &dai->params[stream]; in find_dai_stream_params() 55 /* find the dai */ in gbaudio_module_enable_tx() 132 /* find the dai */ in gbaudio_module_disable_tx() 181 /* find the dai */ in gbaudio_module_enable_rx() 259 /* find the dai */ in gbaudio_module_disable_rx() 343 struct snd_soc_dai *dai) in gbcodec_startup() 345 struct gbaudio_codec_info *codec = dev_get_drvdata(dai in gbcodec_startup() 342 gbcodec_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) gbcodec_startup() argument 370 gbcodec_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) gbcodec_shutdown() argument 392 gbcodec_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hwparams, struct snd_soc_dai *dai) gbcodec_hw_params() argument 496 gbcodec_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) gbcodec_prepare() argument 564 gbcodec_mute_stream(struct snd_soc_dai *dai, int mute, int stream) gbcodec_mute_stream() argument 1001 struct gbaudio_codec_dai *dai; gbcodec_probe() local [all...] |
/kernel/linux/linux-6.6/sound/soc/rockchip/ |
H A D | rockchip_i2s_tdm.c | 74 struct snd_soc_dai_driver *dai; member 168 static inline struct rk_i2s_tdm_dev *to_info(struct snd_soc_dai *dai) in to_info() argument 170 return snd_soc_dai_get_drvdata(dai); in to_info() 285 struct snd_soc_dai *dai, int on) in rockchip_snd_txrxctrl() 287 struct rk_i2s_tdm_dev *i2s_tdm = to_info(dai); in rockchip_snd_txrxctrl() 547 struct snd_soc_dai *dai) in rockchip_i2s_io_multiplex() 549 struct rk_i2s_tdm_dev *i2s_tdm = to_info(dai); in rockchip_i2s_io_multiplex() 612 struct snd_soc_dai *dai, in rockchip_i2s_trcm_mode() 617 struct rk_i2s_tdm_dev *i2s_tdm = to_info(dai); in rockchip_i2s_trcm_mode() 652 struct snd_soc_dai *dai) in rockchip_i2s_tdm_hw_params() 284 rockchip_snd_txrxctrl(struct snd_pcm_substream *substream, struct snd_soc_dai *dai, int on) rockchip_snd_txrxctrl() argument 546 rockchip_i2s_io_multiplex(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) rockchip_i2s_io_multiplex() argument 611 rockchip_i2s_trcm_mode(struct snd_pcm_substream *substream, struct snd_soc_dai *dai, unsigned int div_bclk, unsigned int div_lrck, unsigned int fmt) rockchip_i2s_trcm_mode() argument 650 rockchip_i2s_tdm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) rockchip_i2s_tdm_hw_params() argument 740 rockchip_i2s_tdm_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) rockchip_i2s_tdm_trigger() argument 773 rockchip_i2s_tdm_dai_probe(struct snd_soc_dai *dai) rockchip_i2s_tdm_dai_probe() argument 785 rockchip_dai_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) rockchip_dai_tdm_slot() argument 805 rockchip_i2s_tdm_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) rockchip_i2s_tdm_set_bclk_ratio() argument 1034 struct snd_soc_dai_driver *dai; rockchip_i2s_tdm_init_dai() local [all...] |
/kernel/linux/linux-5.10/sound/soc/samsung/ |
H A D | i2s.c | 95 struct i2s_dai *dai; member 219 static inline struct i2s_dai *to_info(struct snd_soc_dai *dai) in to_info() argument 221 struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); in to_info() 223 return &priv->dai[dai->id - 1]; in to_info() 497 static int i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int rfs, in i2s_set_sysclk() argument 500 struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); in i2s_set_sysclk() 501 struct i2s_dai *i2s = to_info(dai); in i2s_set_sysclk() 510 pm_runtime_get_sync(dai->dev); in i2s_set_sysclk() 615 pm_runtime_put(dai in i2s_set_sysclk() 623 i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) i2s_set_fmt() argument 719 i2s_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) i2s_hw_params() argument 816 i2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) i2s_startup() argument 843 i2s_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) i2s_shutdown() argument 929 i2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) i2s_trigger() argument 978 i2s_set_clkdiv(struct snd_soc_dai *dai, int div_id, int div) i2s_set_clkdiv() argument 1007 i2s_delay(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) i2s_delay() argument 1041 samsung_i2s_dai_probe(struct snd_soc_dai *dai) samsung_i2s_dai_probe() argument 1086 samsung_i2s_dai_remove(struct snd_soc_dai *dai) samsung_i2s_dai_remove() argument 1159 struct i2s_dai *dai; i2s_alloc_dais() local [all...] |