Home
last modified time | relevance | path

Searched full:dai (Results 1 – 25 of 1309) sorted by relevance

12345678910>>...53

/linux/sound/soc/
H A Dsoc-dai.c3 // soc-dai.c
10 #include <sound/soc-dai.h>
13 #define soc_dai_ret(dai, ret) _soc_dai_ret(dai, __func__, ret) argument
14 static inline int _soc_dai_ret(const struct snd_soc_dai *dai, in _soc_dai_ret() argument
17 return snd_soc_ret(dai->dev, ret, in _soc_dai_ret()
18 "at %s() on %s\n", func, dai->name); in _soc_dai_ret()
25 #define soc_dai_mark_push(dai, substream, tgt) ((dai)->mark_##tgt = substream) argument
26 #define soc_dai_mark_pop(dai, tg argument
27 soc_dai_mark_match(dai,substream,tgt) global() argument
38 snd_soc_dai_set_sysclk(struct snd_soc_dai * dai,int clk_id,unsigned int freq,int dir) snd_soc_dai_set_sysclk() argument
64 snd_soc_dai_set_clkdiv(struct snd_soc_dai * dai,int div_id,int div) snd_soc_dai_set_clkdiv() argument
87 snd_soc_dai_set_pll(struct snd_soc_dai * dai,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) snd_soc_dai_set_pll() argument
111 snd_soc_dai_set_bclk_ratio(struct snd_soc_dai * dai,unsigned int ratio) snd_soc_dai_set_bclk_ratio() argument
125 struct snd_soc_dai *dai; snd_soc_dai_get_fmt_max_priority() local
155 snd_soc_dai_get_fmt(const struct snd_soc_dai * dai,int priority) snd_soc_dai_get_fmt() argument
193 snd_soc_dai_set_fmt(struct snd_soc_dai * dai,unsigned int fmt) snd_soc_dai_set_fmt() argument
251 snd_soc_dai_set_tdm_slot(struct snd_soc_dai * dai,unsigned int tx_mask,unsigned int rx_mask,int slots,int slot_width) snd_soc_dai_set_tdm_slot() argument
296 snd_soc_dai_set_channel_map(struct snd_soc_dai * dai,unsigned int tx_num,const unsigned int * tx_slot,unsigned int rx_num,const unsigned int * rx_slot) snd_soc_dai_set_channel_map() argument
320 snd_soc_dai_get_channel_map(const struct snd_soc_dai * dai,unsigned int * tx_num,unsigned int * tx_slot,unsigned int * rx_num,unsigned int * rx_slot) snd_soc_dai_get_channel_map() argument
341 snd_soc_dai_set_tristate(struct snd_soc_dai * dai,int tristate) snd_soc_dai_set_tristate() argument
353 snd_soc_dai_prepare(struct snd_soc_dai * dai,struct snd_pcm_substream * substream) snd_soc_dai_prepare() argument
369 snd_soc_dai_mute_is_ctrled_at_trigger(struct snd_soc_dai * dai) snd_soc_dai_mute_is_ctrled_at_trigger() argument
385 snd_soc_dai_digital_mute(struct snd_soc_dai * dai,int mute,int direction) snd_soc_dai_digital_mute() argument
404 snd_soc_dai_hw_params(struct snd_soc_dai * dai,struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params) snd_soc_dai_hw_params() argument
421 snd_soc_dai_hw_free(struct snd_soc_dai * dai,struct snd_pcm_substream * substream,int rollback) snd_soc_dai_hw_free() argument
436 snd_soc_dai_startup(struct snd_soc_dai * dai,struct snd_pcm_substream * substream) snd_soc_dai_startup() argument
455 snd_soc_dai_shutdown(struct snd_soc_dai * dai,struct snd_pcm_substream * substream,int rollback) snd_soc_dai_shutdown() argument
473 snd_soc_dai_compress_new(struct snd_soc_dai * dai,struct snd_soc_pcm_runtime * rtd) snd_soc_dai_compress_new() argument
488 snd_soc_dai_stream_valid(const struct snd_soc_dai * dai,int dir) snd_soc_dai_stream_valid() argument
496 snd_soc_dai_action(struct snd_soc_dai * dai,int stream,int action) snd_soc_dai_action() argument
507 snd_soc_dai_active(const struct snd_soc_dai * dai) snd_soc_dai_active() argument
521 struct snd_soc_dai *dai; snd_soc_pcm_dai_probe() local
547 struct snd_soc_dai *dai; snd_soc_pcm_dai_remove() local
572 struct snd_soc_dai *dai; snd_soc_pcm_dai_new() local
590 struct snd_soc_dai *dai; snd_soc_pcm_dai_prepare() local
602 soc_dai_trigger(struct snd_soc_dai * dai,struct snd_pcm_substream * substream,int cmd) soc_dai_trigger() argument
621 struct snd_soc_dai *dai; snd_soc_pcm_dai_trigger() local
664 struct snd_soc_dai *dai; snd_soc_pcm_dai_delay() local
687 snd_soc_dai_compr_startup(struct snd_soc_dai * dai,struct snd_compr_stream * cstream) snd_soc_dai_compr_startup() argument
704 snd_soc_dai_compr_shutdown(struct snd_soc_dai * dai,struct snd_compr_stream * cstream,int rollback) snd_soc_dai_compr_shutdown() argument
720 snd_soc_dai_compr_trigger(struct snd_soc_dai * dai,struct snd_compr_stream * cstream,int cmd) snd_soc_dai_compr_trigger() argument
733 snd_soc_dai_compr_set_params(struct snd_soc_dai * dai,struct snd_compr_stream * cstream,struct snd_compr_params * params) snd_soc_dai_compr_set_params() argument
747 snd_soc_dai_compr_get_params(struct snd_soc_dai * dai,struct snd_compr_stream * cstream,struct snd_codec * params) snd_soc_dai_compr_get_params() argument
761 snd_soc_dai_compr_ack(struct snd_soc_dai * dai,struct snd_compr_stream * cstream,size_t bytes) snd_soc_dai_compr_ack() argument
775 snd_soc_dai_compr_pointer(struct snd_soc_dai * dai,struct snd_compr_stream * cstream,struct snd_compr_tstamp * tstamp) snd_soc_dai_compr_pointer() argument
789 snd_soc_dai_compr_set_metadata(struct snd_soc_dai * dai,struct snd_compr_stream * cstream,struct snd_compr_metadata * metadata) snd_soc_dai_compr_set_metadata() argument
803 snd_soc_dai_compr_get_metadata(struct snd_soc_dai * dai,struct snd_compr_stream * cstream,struct snd_compr_metadata * metadata) snd_soc_dai_compr_get_metadata() argument
[all...]
/linux/include/sound/
H A Dsoc-dai.h3 * linux/sound/soc-dai.h -- ALSA SoC Layer
7 * Digital Audio Interface (DAI) API.
22 * DAI hardware audio formats.
56 * DAI Clock gating.
58 * DAI bit clocks can be gated (disabled) when the DAI is not
76 * DAI hardware signal polarity.
78 * Specifies whether the DAI can also support inverted clocks for the specified
110 * DAI hardware clock providers/consumers
165 int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, in
220 snd_soc_dai_activate(struct snd_soc_dai * dai,int stream) snd_soc_dai_activate() argument
225 snd_soc_dai_deactivate(struct snd_soc_dai * dai,int stream) snd_soc_dai_deactivate() argument
472 snd_soc_dai_get_pcm_stream(const struct snd_soc_dai * dai,int stream) snd_soc_dai_get_pcm_stream() argument
478 snd_soc_dai_get_widget_playback(dai) global() argument
479 snd_soc_dai_get_widget_capture(dai) global() argument
481 snd_soc_dai_get_widget(struct snd_soc_dai * dai,int stream) snd_soc_dai_get_widget() argument
486 snd_soc_dai_set_widget_playback(dai,widget) global() argument
487 snd_soc_dai_set_widget_capture(dai,widget) global() argument
489 snd_soc_dai_set_widget(struct snd_soc_dai * dai,int stream,struct snd_soc_dapm_widget * widget) snd_soc_dai_set_widget() argument
494 snd_soc_dai_dma_data_get_playback(dai) global() argument
495 snd_soc_dai_dma_data_get_capture(dai) global() argument
496 snd_soc_dai_get_dma_data(dai,ss) global() argument
497 snd_soc_dai_dma_data_get(const struct snd_soc_dai * dai,int stream) snd_soc_dai_dma_data_get() argument
502 snd_soc_dai_dma_data_set_playback(dai,data) global() argument
503 snd_soc_dai_dma_data_set_capture(dai,data) global() argument
504 snd_soc_dai_set_dma_data(dai,ss,data) global() argument
505 snd_soc_dai_dma_data_set(struct snd_soc_dai * dai,int stream,void * data) snd_soc_dai_dma_data_set() argument
510 snd_soc_dai_init_dma_data(struct snd_soc_dai * dai,void * playback,void * capture) snd_soc_dai_init_dma_data() argument
516 snd_soc_dai_tdm_mask_get(const struct snd_soc_dai * dai,int stream) snd_soc_dai_tdm_mask_get() argument
522 snd_soc_dai_tdm_mask_set(struct snd_soc_dai * dai,int stream,unsigned int tdm_mask) snd_soc_dai_tdm_mask_set() argument
528 snd_soc_dai_stream_active(const struct snd_soc_dai * dai,int stream) snd_soc_dai_stream_active() argument
535 snd_soc_dai_set_drvdata(struct snd_soc_dai * dai,void * data) snd_soc_dai_set_drvdata() argument
541 snd_soc_dai_get_drvdata(struct snd_soc_dai * dai) snd_soc_dai_get_drvdata() argument
558 snd_soc_dai_set_stream(struct snd_soc_dai * dai,void * stream,int direction) snd_soc_dai_set_stream() argument
578 snd_soc_dai_get_stream(struct snd_soc_dai * dai,int direction) snd_soc_dai_get_stream() argument
[all...]
/linux/sound/soc/tegra/
H A Dtegra210_ahub.c101 DAI(ADMAIF1),
102 DAI(ADMAIF2),
103 DAI(ADMAIF3),
104 DAI(ADMAIF4),
105 DAI(ADMAIF5),
106 DAI(ADMAIF6),
107 DAI(ADMAIF7),
108 DAI(ADMAIF8),
109 DAI(ADMAIF9),
110 DAI(ADMAIF10),
[all …]
H A Dtegra210_admaif.c317 struct snd_soc_dai *dai) in tegra_admaif_prepare() argument
319 return tegra_isomgr_adma_setbw(substream, dai, true); in tegra_admaif_prepare()
323 struct snd_soc_dai *dai) in tegra_admaif_shutdown() argument
325 tegra_isomgr_adma_setbw(substream, dai, false); in tegra_admaif_shutdown()
330 struct snd_soc_dai *dai) in tegra_admaif_hw_params() argument
332 struct device *dev = dai->dev; in tegra_admaif_hw_params()
333 struct tegra_admaif *admaif = snd_soc_dai_get_drvdata(dai); in tegra_admaif_hw_params()
372 reg = CH_TX_REG(TEGRA_ADMAIF_CH_ACIF_TX_CTRL, dai->id); in tegra_admaif_hw_params()
375 reg = CH_RX_REG(TEGRA_ADMAIF_CH_ACIF_RX_CTRL, dai->id); in tegra_admaif_hw_params()
378 cif_conf.mono_conv = admaif->mono_to_stereo[path][dai->id]; in tegra_admaif_hw_params()
[all …]
/linux/sound/soc/qcom/qdsp6/
H A Dq6apm-lpass-dais.c27 static int q6dma_set_channel_map(struct snd_soc_dai *dai, in q6dma_set_channel_map() argument
34 struct q6apm_lpass_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6dma_set_channel_map()
35 struct audioreach_module_config *cfg = &dai_data->module_config[dai->id]; in q6dma_set_channel_map()
38 switch (dai->id) { in q6dma_set_channel_map()
52 dev_err(dai->dev, "tx slot not found\n"); in q6dma_set_channel_map()
57 dev_err(dai->dev, "invalid tx num %d\n", in q6dma_set_channel_map()
77 dev_err(dai->dev, "rx slot not found\n"); in q6dma_set_channel_map()
81 dev_err(dai->dev, "invalid rx num %d\n", in q6dma_set_channel_map()
90 dev_err(dai->dev, "%s: invalid dai id 0x%x\n", in q6dma_set_channel_map()
91 __func__, dai->id); in q6dma_set_channel_map()
[all …]
H A Dq6afe-dai.c39 struct snd_soc_dai *dai) in q6slim_hw_params() argument
42 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6slim_hw_params()
43 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params()
69 struct snd_soc_dai *dai) in q6hdmi_hw_params() argument
71 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6hdmi_hw_params()
73 struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi; in q6hdmi_hw_params()
97 struct snd_soc_dai *dai) in q6afe_usb_hw_params() argument
99 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6afe_usb_hw_params()
102 struct q6afe_usb_cfg *usb = &dai_data->port_config[dai->id].usb_audio; in q6afe_usb_hw_params()
120 dev_err(dai->dev, "%s: invalid format %d\n", in q6afe_usb_hw_params()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dfsl,qmc-audio.yaml15 It provides several DAIs. For each DAI, the DAI is working in interleaved mode
16 if only one QMC channel is used by the DAI or it is working in non-interleaved
17 mode if several QMC channels are used by the DAI.
20 - $ref: dai-common.yaml#
30 '#sound-dai-cells':
34 '^dai@([0-9]|[1-5][0-9]|6[0-3])$':
36 A DAI managed by this controller
45 The DAI number
56 and the QMC channel pair to use for this DAI.
57 If only one phandle/number pair is provided, this DAI works in
[all …]
H A Damlogic,axg-sound-card.yaml37 "^dai-link-[0-9]+$":
41 Container for dai-link level properties and the CODEC sub-nodes.
45 dai-format:
49 dai-tdm-slot-num:
56 dai-tdm-slot-width:
68 sound-dai:
70 description: phandle of the CPU DAI
73 "^dai-tdm-slot-(t|r)x-mask-[0-3]$":
87 dai-link representing backend links should have at least one subnode.
88 One subnode for each codec of the dai-link. dai-link representing
[all …]
H A Dgoogle,sc7280-herobrine.yaml30 "^dai-link@[0-9a-f]$":
32 Each subnode represents a dai link. Subnodes of each dai links would be
39 description: Indicates dai-link name and PCM stream name.
45 description: dai link address.
48 description: Holds subnode which indicates cpu dai.
51 sound-dai: true
54 - sound-dai
59 description: Holds subnode which indicates codec dai.
62 sound-dai: true
65 - sound-dai
[all …]
H A Dmt8192-mt6359-rt1015-rt5682.yaml66 sound-dai:
69 - sound-dai
77 sound-dai:
83 - sound-dai
86 ".*-dai-link$":
91 Container for dai-link level properties and CODEC sub-nodes.
95 description: Indicates dai-link name and PCM stream name
110 description: Holds subnode which indicates codec dai.
114 sound-dai:
118 - sound-dai
[all …]
H A Damlogic,gx-sound-card.yaml38 "^dai-link-[0-9]+$":
42 dai-link child nodes:
43 Container for dai-link level properties and the CODEC sub-nodes.
47 dai-format:
57 sound-dai:
59 description: phandle of the CPU DAI
67 dai-link representing backend links should have at least one subnode.
68 One subnode for each codec of the dai-link. dai-link representing
72 sound-dai:
74 description: phandle of the codec DAI
[all …]
H A Dmt8186-mt6366-da7219-max98357.yaml57 sound-dai:
60 - sound-dai
67 sound-dai:
74 - sound-dai
80 mediatek,dai-link:
83 A list of the desired dai-links in the sound card. Each entry is a
87 ".*-dai-link$":
91 Container for dai-link level properties and CODEC sub-nodes.
95 description: Indicates dai-link name and PCM stream name
104 description: Holds subnode which indicates codec dai.
[all …]
H A Dmt8186-mt6366-rt1019-rt5682s.yaml69 sound-dai:
72 - sound-dai
79 sound-dai:
86 - sound-dai
92 mediatek,dai-link:
95 A list of the desired dai-links in the sound card. Each entry is a
99 ".*-dai-link$":
103 Container for dai-link level properties and CODEC sub-nodes.
107 description: Indicates dai-link name and PCM stream name
111 description: Holds subnode which indicates codec dai.
[all …]
H A Dqcom,apq8016-sbc-sndcard.yaml56 ".*-dai-link$":
58 Each subnode represents a dai link. Subnodes of each dai links would be
65 description: Indicates dai-link name and PCM stream name.
70 description: Holds subnode which indicates cpu dai.
75 sound-dai:
79 description: Holds subnode which indicates platform dai.
84 sound-dai:
88 description: Holds subnode which indicates codec dai.
93 sound-dai:
128 quaternary-dai-link {
[all …]
/linux/sound/soc/ux500/
H A Dux500_msp_dai.c20 #include <sound/soc-dai.h>
27 static int setup_pcm_multichan(struct snd_soc_dai *dai, in setup_pcm_multichan() argument
30 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_pcm_multichan()
51 dev_dbg(dai->dev, in setup_pcm_multichan()
60 static int setup_frameper(struct snd_soc_dai *dai, unsigned int rate, in setup_frameper() argument
63 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_frameper()
89 dev_err(dai->dev, in setup_frameper()
108 dev_err(dai->dev, in setup_frameper()
117 dev_dbg(dai->dev, "%s: Clocks per frame: %u\n", in setup_frameper()
124 static int setup_pcm_framing(struct snd_soc_dai *dai, unsigned int rate, in setup_pcm_framing() argument
[all …]
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-sm1-bananapi-m5.dts72 dai-link-0 {
73 sound-dai = <&frddr_a>;
76 dai-link-1 {
77 sound-dai = <&frddr_b>;
80 dai-link-2 {
81 sound-dai = <&frddr_c>;
84 dai-link-3 {
85 sound-dai = <&toddr_a>;
88 dai-link-4 {
89 sound-dai = <&toddr_b>;
[all …]
H A Dmeson-g12b-dreambox.dtsi24 #sound-dai-cells = <0>;
55 dai-link-0 {
56 sound-dai = <&frddr_a>;
59 dai-link-1 {
60 sound-dai = <&frddr_b>;
63 dai-link-2 {
64 sound-dai = <&frddr_c>;
68 dai-link-3 {
69 sound-dai = <&tdmif_b>;
70 dai-format = "i2s";
[all …]
H A Dmeson-g12b-gtking.dts23 #sound-dai-cells = <0>;
52 dai-link-0 {
53 sound-dai = <&frddr_a>;
56 dai-link-1 {
57 sound-dai = <&frddr_b>;
60 dai-link-2 {
61 sound-dai = <&frddr_c>;
65 dai-link-3 {
66 sound-dai = <&tdmif_b>;
67 dai-format = "i2s";
[all …]
H A Dmeson-g12b-ugoos-am6.dts18 #sound-dai-cells = <0>;
47 dai-link-0 {
48 sound-dai = <&frddr_a>;
51 dai-link-1 {
52 sound-dai = <&frddr_b>;
55 dai-link-2 {
56 sound-dai = <&frddr_c>;
60 dai-link-3 {
61 sound-dai = <&tdmif_b>;
62 dai-format = "i2s";
[all …]
H A Dmeson-g12b-odroid-n2l.dts54 dai-link-0 {
55 sound-dai = <&frddr_a>;
58 dai-link-1 {
59 sound-dai = <&frddr_b>;
62 dai-link-2 {
63 sound-dai = <&frddr_c>;
66 dai-link-3 {
67 sound-dai = <&toddr_a>;
70 dai-link-4 {
71 sound-dai = <&toddr_b>;
[all …]
H A Dmeson-g12a-u200.dts32 #sound-dai-cells = <0>;
38 #sound-dai-cells = <0>;
253 dai-link-0 {
254 sound-dai = <&frddr_a>;
257 dai-link-1 {
258 sound-dai = <&frddr_b>;
261 dai-link-2 {
262 sound-dai = <&frddr_c>;
265 dai-link-3 {
266 sound-dai = <&toddr_a>;
[all …]
/linux/sound/soc/intel/avs/
H A Dpcm.c45 avs_dai_find_path_template(struct snd_soc_dai *dai, bool is_fe, int direction) in avs_dai_find_path_template() argument
47 struct snd_soc_dapm_widget *dw = snd_soc_dai_get_widget(dai, direction); in avs_dai_find_path_template()
77 struct snd_soc_dai *dai = snd_soc_rtd_to_cpu(rtd, 0); in avs_period_elapsed() local
78 struct avs_dma_data *data = snd_soc_dai_get_dma_data(dai, substream); in avs_period_elapsed()
84 static int avs_hw_constraints_init(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_hw_constraints_init() argument
95 data = snd_soc_dai_get_dma_data(dai, substream); in avs_hw_constraints_init()
119 static int avs_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_dai_startup() argument
122 struct avs_dev *adev = to_avs_dev(dai->component->dev); in avs_dai_startup()
126 template = avs_dai_find_path_template(dai, !rtd->dai_link->no_pcm, substream->stream); in avs_dai_startup()
128 dev_err(dai in avs_dai_startup()
149 avs_dai_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_shutdown() argument
169 avs_dai_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * fe_hw_params,struct snd_pcm_hw_params * be_hw_params,struct snd_soc_dai * dai,int dma_id) avs_dai_hw_params() argument
202 avs_dai_be_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * be_hw_params,struct snd_soc_dai * dai,int dma_id) avs_dai_be_hw_params() argument
219 avs_dai_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_prepare() argument
241 avs_dai_nonhda_be_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params,struct snd_soc_dai * dai) avs_dai_nonhda_be_hw_params() argument
253 avs_dai_nonhda_be_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_nonhda_be_hw_free() argument
269 avs_dai_nonhda_be_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) avs_dai_nonhda_be_trigger() argument
327 __avs_dai_hda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai,struct hdac_ext_link * link) __avs_dai_hda_be_startup() argument
351 avs_dai_hda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_startup() argument
374 avs_dai_i2shda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_i2shda_be_startup() argument
385 avs_dai_dmichda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_dmichda_be_startup() argument
396 avs_dai_hda_be_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_shutdown() argument
405 avs_dai_althda_be_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_althda_be_shutdown() argument
414 avs_dai_hda_be_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params,struct snd_soc_dai * dai) avs_dai_hda_be_hw_params() argument
426 avs_dai_hda_be_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_hw_free() argument
448 avs_dai_hda_be_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_prepare() argument
488 avs_dai_hda_be_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) avs_dai_hda_be_trigger() argument
615 avs_dai_fe_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_startup() argument
648 avs_dai_fe_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_shutdown() argument
659 avs_dai_fe_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params,struct snd_soc_dai * dai) avs_dai_fe_hw_params() argument
706 __avs_dai_fe_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) __avs_dai_fe_hw_free() argument
733 avs_dai_fe_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_hw_free() argument
743 avs_dai_fe_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_prepare() argument
858 avs_dai_fe_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) avs_dai_fe_trigger() argument
1083 avs_dai_resume_hw_params(struct snd_soc_dai * dai,struct avs_dma_data * data) avs_dai_resume_hw_params() argument
1099 avs_dai_resume_fe_prepare(struct snd_soc_dai * dai,struct avs_dma_data * data) avs_dai_resume_fe_prepare() argument
1131 avs_dai_resume_be_prepare(struct snd_soc_dai * dai,struct avs_dma_data * data) avs_dai_resume_be_prepare() argument
1142 avs_dai_suspend_fe_hw_free(struct snd_soc_dai * dai,struct avs_dma_data * data) avs_dai_suspend_fe_hw_free() argument
1163 avs_dai_suspend_be_hw_free(struct snd_soc_dai * dai,struct avs_dma_data * data) avs_dai_suspend_be_hw_free() argument
1179 struct snd_soc_dai *dai; avs_component_pm_op() local
1352 struct snd_soc_dai *dai = snd_soc_rtd_to_cpu(rtd, 0); avs_component_construct() local
1476 struct snd_soc_dai_driver *cpus, *dai; avs_i2s_platform_register() local
1571 struct snd_soc_dai *dai, *save; avs_component_hda_unregister_dais() local
1626 struct snd_soc_dai *dai; avs_component_hda_probe() local
[all...]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-modem-qdsp6.dtsi6 * but boards can define additional codecs by adding additional backend DAI links.
49 dai@16 {
53 dai@20 {
60 dai@0 {
64 dai@1 {
68 dai@2 {
72 dai@3 {
75 is-compress-dai;
89 frontend0-dai-link {
93 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
[all …]
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-dai-dmic.c3 * MediaTek 8365 ALSA SoC Audio DAI DMIC Control
50 /* DAI Drivers */
70 struct snd_soc_dai *dai) in mt8365_dai_enable_dmic() argument
90 struct snd_soc_dai *dai) in mt8365_dai_disable_dmic() argument
113 struct snd_soc_dai *dai) in mt8365_dai_configure_dmic() argument
121 unsigned int rate = dai->symmetric_rate; in mt8365_dai_configure_dmic()
122 int reg = get_chan_reg(dai->symmetric_channels); in mt8365_dai_configure_dmic()
127 dmic_data->dmic_channel = dai->symmetric_channels; in mt8365_dai_configure_dmic()
163 struct snd_soc_dai *dai) in mt8365_dai_dmic_startup() argument
165 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_dmic_startup()
[all …]
/linux/sound/soc/meson/
H A Daiu-fifo.c11 #include <sound/soc-dai.h>
36 struct snd_soc_dai *dai = aiu_fifo_dai(substream); in aiu_fifo_pointer() local
37 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_pointer()
46 static void aiu_fifo_enable(struct snd_soc_dai *dai, bool enable) in aiu_fifo_enable() argument
48 struct snd_soc_component *component = dai->component; in aiu_fifo_enable()
49 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_enable()
59 struct snd_soc_dai *dai) in aiu_fifo_trigger() argument
65 aiu_fifo_enable(dai, true); in aiu_fifo_trigger()
70 aiu_fifo_enable(dai, false); in aiu_fifo_trigger()
80 struct snd_soc_dai *dai) in aiu_fifo_prepare() argument
[all …]

12345678910>>...53