Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 13 of 13) sorted by relevance

/sound/soc/qcom/
Dcommon.c13 struct device_node *cpu = NULL; in qcom_snd_parse_of() local
62 cpu = of_get_child_by_name(np, "cpu"); in qcom_snd_parse_of()
66 if (!cpu) { in qcom_snd_parse_of()
72 ret = of_parse_phandle_with_args(cpu, "sound-dai", in qcom_snd_parse_of()
81 ret = snd_soc_of_get_dai_name(cpu, &link->cpus->dai_name); in qcom_snd_parse_of()
125 of_node_put(cpu); in qcom_snd_parse_of()
133 of_node_put(cpu); in qcom_snd_parse_of()
Dapq8016_sbc.c118 struct device_node *np, *codec, *cpu, *node = dev->of_node; in apq8016_sbc_parse_of() local
164 cpu = of_get_child_by_name(np, "cpu"); in apq8016_sbc_parse_of()
167 if (!cpu || !codec) { in apq8016_sbc_parse_of()
173 link->cpus->of_node = of_parse_phandle(cpu, "sound-dai", 0); in apq8016_sbc_parse_of()
180 ret = snd_soc_of_get_dai_name(cpu, &link->cpus->dai_name); in apq8016_sbc_parse_of()
204 of_node_put(cpu); in apq8016_sbc_parse_of()
212 of_node_put(cpu); in apq8016_sbc_parse_of()
DMakefile3 snd-soc-lpass-cpu-objs := lpass-cpu.o
8 obj-$(CONFIG_SND_SOC_LPASS_CPU) += snd-soc-lpass-cpu.o
/sound/soc/generic/
Dsimple-card.c96 struct device_node *cpu, in simple_parse_mclk_fs() argument
101 struct device_node *node = of_get_parent(cpu); in simple_parse_mclk_fs()
109 of_property_read_u32(cpu, prop, &props->mclk_fs); in simple_parse_mclk_fs()
138 if (li->cpu == (np == codec)) in simple_dai_link_of_dpcm()
149 if (li->cpu) { in simple_dai_link_of_dpcm()
256 struct device_node *cpu = NULL; in simple_dai_link_of() local
269 if (!li->cpu || np == codec) in simple_dai_link_of()
272 cpu = np; in simple_dai_link_of()
295 simple_parse_mclk_fs(top, cpu, codec, dai_props, prefix); in simple_dai_link_of()
297 ret = asoc_simple_parse_cpu(cpu, dai_link, &single_cpu); in simple_dai_link_of()
[all …]
Daudio-graph-card.c211 struct device_node *ep = li->cpu ? cpu_ep : codec_ep; in graph_dai_link_of_dpcm()
221 if (!li->cpu && dup_codec) in graph_dai_link_of_dpcm()
232 if (li->cpu) { in graph_dai_link_of_dpcm()
346 if (!li->cpu) in graph_dai_link_of()
492 for (li.cpu = 1; li.cpu >= 0; li.cpu--) { in graph_parse_of()
/sound/soc/uniphier/
DMakefile2 snd-soc-uniphier-aio-cpu-objs := aio-core.o aio-dma.o aio-cpu.o aio-compress.o
6 obj-$(CONFIG_SND_SOC_UNIPHIER_AIO) += snd-soc-uniphier-aio-cpu.o
/sound/soc/samsung/
Dsnow.c132 struct device_node *cpu, *codec; in snow_probe() local
161 cpu = of_get_child_by_name(dev->of_node, "cpu"); in snow_probe()
163 if (cpu) { in snow_probe()
166 link->cpus->of_node = of_parse_phandle(cpu, "sound-dai", 0); in snow_probe()
167 of_node_put(cpu); in snow_probe()
Dodroid.c203 struct device_node *cpu, *codec; in odroid_audio_probe() local
244 cpu = of_get_child_by_name(dev->of_node, "cpu"); in odroid_audio_probe()
254 num_pcms = of_count_phandle_with_args(cpu, "sound-dai", in odroid_audio_probe()
263 ret = of_parse_phandle_with_args(cpu, "sound-dai", in odroid_audio_probe()
281 cpu_dai = of_parse_phandle(cpu, "sound-dai", 0); in odroid_audio_probe()
286 of_node_put(cpu); in odroid_audio_probe()
Dlowland.c85 SND_SOC_DAILINK_DEFS(cpu,
105 SND_SOC_DAILINK_REG(cpu),
Dtobermory.c112 SND_SOC_DAILINK_DEFS(cpu,
124 SND_SOC_DAILINK_REG(cpu),
Dlittlemill.c145 SND_SOC_DAILINK_DEFS(cpu,
162 SND_SOC_DAILINK_REG(cpu),
/sound/soc/meson/
Daxg-card.c562 struct snd_soc_dai_link_component *cpu; in axg_card_add_link() local
565 cpu = devm_kzalloc(card->dev, sizeof(*cpu), GFP_KERNEL); in axg_card_add_link()
566 if (!cpu) in axg_card_add_link()
569 dai_link->cpus = cpu; in axg_card_add_link()
/sound/soc/ti/
DKconfig152 The hdmi audio driver implements cpu-dai component using the