Searched refs:dai_props (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/sound/soc/generic/ |
D | simple-card-utils.c | 476 struct simple_dai_props *dai_props = simple_priv_to_props(priv, rtd->num); in asoc_simple_be_hw_params_fixup() local 478 asoc_simple_convert_fixup(&dai_props->adata, params); in asoc_simple_be_hw_params_fixup() 517 struct simple_dai_props *dai_props) in asoc_simple_init_dai_link_params() argument 741 struct simple_dai_props *dai_props; in asoc_simple_init_priv() local 748 dai_props = devm_kcalloc(dev, li->link, sizeof(*dai_props), GFP_KERNEL); in asoc_simple_init_priv() 750 if (!dai_props || !dai_link) in asoc_simple_init_priv() 794 priv->dai_props = dai_props; in asoc_simple_init_priv() 809 dai_props[i].cpus = in asoc_simple_init_priv() 811 dai_props[i].num.cpus = in asoc_simple_init_priv() 813 dai_props[i].cpu_dai = dais; in asoc_simple_init_priv() [all …]
|
D | simple-card.c | 146 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in simple_parse_node() local 153 dai = simple_props_to_dai_cpu(dai_props, 0); in simple_parse_node() 156 dai = simple_props_to_dai_codec(dai_props, 0); in simple_parse_node() 159 simple_parse_mclk_fs(top, np, dai_props, prefix); in simple_parse_node() 205 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in simple_dai_link_of_dpcm() local 247 cconf = simple_props_to_codec_conf(dai_props, 0); in simple_dai_link_of_dpcm() 264 simple_parse_convert(dev, np, &dai_props->adata); in simple_dai_link_of_dpcm() 679 struct simple_dai_props *dai_props = priv->dai_props; in asoc_simple_probe() local 711 memcpy(dai_props->cpu_dai, &cinfo->cpu_dai, in asoc_simple_probe() 712 sizeof(*dai_props->cpu_dai)); in asoc_simple_probe() [all …]
|
D | audio-graph-card2.c | 500 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in __graph_parse_node() local 507 dai = simple_props_to_dai_cpu(dai_props, idx); in __graph_parse_node() 510 dai = simple_props_to_dai_codec(dai_props, idx); in __graph_parse_node() 513 graph_parse_mclk_fs(ep, dai_props); in __graph_parse_node() 579 struct snd_soc_codec_conf *cconf = simple_props_to_codec_conf(dai_props, idx); in __graph_parse_node() 782 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in audio_graph2_link_dpcm() local 852 graph_parse_convert(rep, dai_props); in audio_graph2_link_dpcm() 871 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in audio_graph2_link_c2c() local 872 struct snd_soc_pcm_stream *c2c_conf = dai_props->c2c_conf; in audio_graph2_link_c2c()
|
D | audio-graph-card.c | 219 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in graph_parse_node() local 226 dai = simple_props_to_dai_cpu(dai_props, 0); in graph_parse_node() 229 dai = simple_props_to_dai_codec(dai_props, 0); in graph_parse_node() 232 graph_parse_mclk_fs(top, ep, dai_props); in graph_parse_node() 279 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in graph_dai_link_of_dpcm() local 323 struct snd_soc_codec_conf *cconf = simple_props_to_codec_conf(dai_props, 0); in graph_dai_link_of_dpcm() 355 graph_parse_convert(dev, ep, &dai_props->adata); in graph_dai_link_of_dpcm()
|
/linux-5.19.10/include/sound/ |
D | simple_card_utils.h | 70 } *dai_props; member 85 #define simple_priv_to_props(priv, i) ((priv)->dai_props + (i))
|