Home
last modified time | relevance | path

Searched +full:dai +full:- +full:format (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/linux/sound/soc/codecs/
H A Dframer-codec.c1 // SPDX-License-Identifier: GPL-2.0
33 static int framer_dai_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in framer_dai_set_tdm_slot() argument
36 struct framer_codec *framer = snd_soc_component_get_drvdata(dai->component); in framer_dai_set_tdm_slot()
40 /* Not set -> default 8 */ in framer_dai_set_tdm_slot()
44 dev_err(dai->dev, "tdm slot width %d not supported\n", width); in framer_dai_set_tdm_slot()
45 return -EINVAL; in framer_dai_set_tdm_slot()
48 framer->max_chan_playback = hweight32(tx_mask); in framer_dai_set_tdm_slot()
49 if (framer->max_chan_playback > FRAMER_NB_CHANNEL) { in framer_dai_set_tdm_slot()
50 dev_err(dai->dev, "too many tx slots defined (mask = 0x%x) supported max %d\n", in framer_dai_set_tdm_slot()
52 return -EINVAL; in framer_dai_set_tdm_slot()
[all …]
H A Dhda-dai.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright(c) 2021-2022 Intel Corporation
12 static int hda_codec_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in hda_codec_dai_startup() argument
19 codec = dev_to_hda_codec(dai->dev); in hda_codec_dai_startup()
20 stream_info = snd_soc_dai_get_dma_data(dai, substream); in hda_codec_dai_startup()
21 pcm = container_of(stream_info, struct hda_pcm, stream[substream->stream]); in hda_codec_dai_startup()
23 dev_dbg(dai->dev, "open stream codec: %08x, info: %p, pcm: %p %s substream: %p\n", in hda_codec_dai_startup()
24 codec->core.vendor_id, stream_info, pcm, pcm->name, substream); in hda_codec_dai_startup()
28 ret = stream_info->ops.open(stream_info, codec, substream); in hda_codec_dai_startup()
30 dev_err(dai->dev, "codec open failed: %d\n", ret); in hda_codec_dai_startup()
[all …]
H A Dsi476x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sound/soc/codecs/si476x.c -- Codec driver for SI476X chips
21 #include <linux/mfd/si476x-core.h>
68 struct si476x_core *core = i2c_mfd_cell_to_core(codec_dai->dev); in si476x_codec_set_dai_fmt()
70 u16 format = 0; in si476x_codec_set_dai_fmt() local
73 return -EINVAL; in si476x_codec_set_dai_fmt()
77 format |= SI476X_DAUDIO_MODE_DSP_A; in si476x_codec_set_dai_fmt()
80 format |= SI476X_DAUDIO_MODE_DSP_B; in si476x_codec_set_dai_fmt()
83 format |= SI476X_DAUDIO_MODE_I2S; in si476x_codec_set_dai_fmt()
86 format |= SI476X_DAUDIO_MODE_RIGHT_J; in si476x_codec_set_dai_fmt()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dmt8192-mt6359-rt1015-rt5682.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8192-mt6359-rt1015-rt5682.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
11 - Shane Chien <shane.chien@mediatek.com>
17 - $ref: sound-card-common.yaml#
22 - mediatek,mt8192_mt6359_rt1015_rt5682
23 - mediatek,mt8192_mt6359_rt1015p_rt5682
24 - mediatek,mt8192_mt6359_rt1015p_rt5682s
[all …]
H A Dmt8186-mt6366-da7219-max98357.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-da7219-max98357.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
16 - $ref: sound-card-common.yaml#
21 - mediatek,mt8186-mt6366-da7219-max98357-sound
23 audio-routing:
24 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
35 - HDMI1
[all …]
H A Dmt8186-mt6366-rt1019-rt5682s.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-rt1019-rt5682s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
16 - $ref: sound-card-common.yaml#
21 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound
22 - mediatek,mt8186-mt6366-rt5682s-max98360-sound
23 - mediatek,mt8186-mt6366-rt5650-sound
25 audio-routing:
[all …]
H A Dfsl,qmc-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl,qmc-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <herve.codina@bootlin.com>
15 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#
24 const: fsl,qmc-audio
[all …]
H A Dmediatek,mt8188-mt6359.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mediatek,mt8188-mt6359.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Trevor Wu <trevor.wu@mediatek.com>
13 - $ref: sound-card-common.yaml#
18 - enum:
19 - mediatek,mt8188-es8326
20 - mediatek,mt8188-mt6359-evb
21 - mediatek,mt8188-nau8825
[all …]
H A Damlogic,gx-sound-card.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,gx-sound-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jerome Brunet <jbrunet@baylibre.com>
13 - $ref: sound-card-common.yaml#
18 - const: amlogic,gx-sound-card
20 audio-aux-devs:
21 $ref: /schemas/types.yaml#/definitions/phandle-array
24 audio-widgets:
[all …]
H A Dst,sti-asoc-card.txt3 The sti ASoC Sound Card can be used, for all sti SoCs using internal sti-sas
8 Documentation/devicetree/bindings/sound/simple-card.yaml.
10 1) sti-uniperiph-dai: audio dai device.
11 ---------------------------------------
14 - compatible: "st,stih407-uni-player-hdmi", "st,stih407-uni-player-pcm-out",
15 "st,stih407-uni-player-dac", "st,stih407-uni-player-spdif",
16 "st,stih407-uni-reader-pcm_in", "st,stih407-uni-reader-hdmi",
18 - st,syscfg: phandle to boot-device system configuration registers
20 - clock-names: name of the clocks listed in clocks property in the same order
22 - reg: CPU DAI IP Base address and size entries, listed in same
[all …]
H A Ddai-params.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/dai-params.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Digital Audio Interface (DAI) Stream Parameters
10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
15 convert-channels:
16 description: Number of audio channels used by DAI
21 convert-sample-format:
22 description: Audio sample format used by DAI
[all …]
/linux/include/sound/
H A Dsoc-dai.h1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc-dai.h -- ALSA SoC Layer
5 * Copyright: 2005-2008 Wolfson Microelectronics. PLC.
7 * Digital Audio Interface (DAI) API.
22 * DAI hardwar
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/mediatek/mt8183/
H A Dmt8183-dai-tdm.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI TDM Control
10 #include "mt8183-afe-clk.h"
11 #include "mt8183-afe-common.h"
12 #include "mt8183-interconnection.h"
13 #include "mt8183-reg.h"
72 static unsigned int get_hdmi_wlen(snd_pcm_format_t format) in get_hdmi_wlen() argument
74 return snd_pcm_format_physical_width(format) <= 16 ? in get_hdmi_wlen()
78 static unsigned int get_tdm_wlen(snd_pcm_format_t format) in get_tdm_wlen() argument
80 return snd_pcm_format_physical_width(format) <= 16 ? in get_tdm_wlen()
[all …]
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-tdm.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI TDM Control
11 #include "mt8192-afe-clk.h"
12 #include "mt8192-afe-common.h"
13 #include "mt8192-afe-gpio.h"
14 #include "mt8192-interconnection.h"
70 static unsigned int get_tdm_wlen(snd_pcm_format_t format) in get_tdm_wlen() argument
72 return snd_pcm_format_physical_width(format) <= 16 ? in get_tdm_wlen()
76 static unsigned int get_tdm_channel_bck(snd_pcm_format_t format) in get_tdm_channel_bck() argument
78 return snd_pcm_format_physical_width(format) <= 16 ? in get_tdm_channel_bck()
[all …]
/linux/sound/soc/fsl/
H A Dfsl_qmc_audio.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/dma-mapping.h>
60 struct snd_card *card = rtd->card->snd_card;
63 ret = dma_coerce_mask_and_coherent(card->dev, DMA_BIT_MASK(32));
67 snd_pcm_set_managed_buffer_all(rtd->pcm, SNDRV_DMA_TYPE_DEV, card->dev, in qmc_audio_pcm_construct()
88 struct snd_pcm_runtime *runtime = substream->runtim in qmc_audio_access_is_interleaved()
394 qmc_dai_get_index(struct snd_soc_dai * dai) qmc_dai_get_index() argument
401 qmc_dai_get_data(struct snd_soc_dai * dai) qmc_dai_get_data() argument
422 snd_pcm_format_t format = params_format(params); qmc_dai_hw_rule_channels_by_format() local
472 snd_pcm_format_t format; qmc_dai_hw_rule_format_by_channels() local
595 qmc_dai_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) qmc_dai_startup() argument
615 qmc_dai_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params,struct snd_soc_dai * dai) qmc_dai_hw_params() argument
663 qmc_dai_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) qmc_dai_trigger() argument
750 snd_pcm_format_t format; qmc_audio_formats() local
[all...]
/linux/drivers/staging/greybus/
H A Daudio_codec.c1 // SPDX-License-Identifier: GPL-2.0
26 list_for_each_entry(data, &module->data_list, list) { in find_data()
27 if (id == data->id) in find_data()
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()
51 u32 format, rate; in gbaudio_module_enable_tx() local
55 /* find the dai */ in gbaudio_module_enable_tx()
58 dev_err(module->dev, "%d:DATA connection missing\n", id); in gbaudio_module_enable_tx()
[all …]
/linux/sound/soc/spear/
H A Dspdif_in.c31 u32 format; member
52 writel(ctrl, host->io_base + SPDIF_IN_CTRL); in spdif_in_configure()
53 writel(0xF, host->io_base + SPDIF_IN_IRQ_MASK); in spdif_in_configure()
56 static int spdif_in_dai_probe(struct snd_soc_dai *dai) in spdif_in_dai_probe() argument
58 struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai); in spdif_in_dai_probe()
60 host->dma_params_rx.filter_data = &host->dma_params; in spdif_in_dai_probe()
61 dai->capture_dma_data = &host->dma_params_rx; in spdif_in_dai_probe()
67 struct snd_soc_dai *dai) in spdif_in_shutdown() argument
69 struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai); in spdif_in_shutdown()
71 if (substream->stream != SNDRV_PCM_STREAM_CAPTURE) in spdif_in_shutdown()
[all …]
/linux/sound/soc/sti/
H A Dsti_uniperif.c1 // SPDX-License-Identifier: GPL-2.0-only
15 * User frame size shall be 2, 4, 6 or 8 32-bits words length
80 { .compatible = "st,stih407-uni-player-hdmi",
83 { .compatible = "st,stih407-uni-player-pcm-out",
86 { .compatible = "st,stih407-uni-player-dac",
89 { .compatible = "st,stih407-uni-player-spdif",
92 { .compatible = "st,stih407-uni-reader-pcm_in",
95 { .compatible = "st,stih407-uni-reader-hdmi",
109 if (uni->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0) { in sti_uniperiph_reset()
112 count--; in sti_uniperiph_reset()
[all …]
/linux/sound/soc/
H A Dsoc-dai.c1 // SPDX-License-Identifier: GPL-2.0
3 // soc-dai.c
10 #include <sound/soc-dai.h>
11 #include <sound/soc-link.h>
13 #define soc_dai_ret(dai, ret) _soc_dai_ret(dai, __func_ argument
14 _soc_dai_ret(const struct snd_soc_dai * dai,const char * func,int ret) _soc_dai_ret() argument
25 soc_dai_mark_push(dai,substream,tgt) global() argument
26 soc_dai_mark_pop(dai,tgt) global() 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/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-pcm.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI I2S Control
10 #include "mt8186-afe-common.h"
11 #include "mt8186-afe-gpio.h"
12 #include "mt8186-interconnection.h"
99 /* dai component */
122 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_pcm_en_event()
125 dev_dbg(afe->dev, "%s(), name %s, event 0x%x\n", in mtk_pcm_en_event()
126 __func__, w->name, event); in mtk_pcm_en_event()
130 mt8186_afe_gpio_request(afe->dev, true, MT8186_DAI_PCM, 0); in mtk_pcm_en_event()
[all …]
/linux/sound/soc/sof/
H A Dipc4-topology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
14 #include <sound/intel-nhlt.h>
15 #include "sof-priv.h"
16 #include "sof-audio.h"
17 #include "ipc4-priv.h"
18 #include "ipc4-topology.h"
188 [SOF_DAI_TOKENS] = {"DAI tokens", dai_tokens, ARRAY_SIZE(dai_tokens)},
196 [SOF_IN_AUDIO_FORMAT_TOKENS] = {"IPC4 Input Audio format tokens",
198 [SOF_OUT_AUDIO_FORMAT_TOKENS] = {"IPC4 Output Audio format tokens",
204 [SOF_AUDIO_FMT_NUM_TOKENS] = {"IPC4 Audio format number tokens",
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Darmada-388-db.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * (DB-88F6820)
8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 /dts-v1/;
12 #include "armada-388.dtsi"
16 compatible = "marvell,a385-db", "marvell,armada388",
20 stdout-path = "serial0:115200n8";
35 internal-regs {
38 clock-frequency = <100000>;
39 audio_codec: audio-codec@4a {
[all …]
H A Darmada-370-db.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * (DB-88F6710-BP-DDR3)
9 * Gregory CLEMENT <gregory.clement@free-electrons.com>
10 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier
22 /dts-v1/;
23 #include "armada-370.dtsi"
27 compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp";
30 stdout-path = "serial0:115200n8";
43 internal-regs {
[all …]
/linux/arch/arm/boot/dts/intel/pxa/
H A Dpxa300-raumfeld-connector.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "pxa300-raumfeld-common.dtsi"
6 #include "pxa300-raumfeld-tuneable-clock.dtsi"
10 compatible = "raumfeld,raumfeld-connector-pxa303", "marvell,pxa300";
13 compatible = "simple-audio-card";
14 simple-audio-card,name = "Raumfeld Connector";
15 #address-cells = <1>;
16 #size-cells = <0>;
18 simple-audio-card,dai-link@0 {
[all …]
/linux/sound/soc/stm/
H A Dstm32_adfsdm.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file is part of STM32 DFSDM ASoC DAI driver
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
18 #include <linux/iio/adc/stm32-dfsdm-adc.h>
23 #define STM32_ADFSDM_DRV_NAME "stm32-adfsdm"
61 struct snd_soc_dai *dai) in stm32_adfsdm_shutdown() argument
63 struct stm32_adfsdm_priv *priv = snd_soc_dai_get_drvdata(dai); in stm32_adfsdm_shutdown()
65 mutex_lock(&priv->lock); in stm32_adfsdm_shutdown()
66 if (priv->iio_active) { in stm32_adfsdm_shutdown()
67 iio_channel_stop_all_cb(priv->iio_cb); in stm32_adfsdm_shutdown()
[all …]

12345678910>>...20