Searched refs:dai_props (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/sound/soc/generic/ |
D | simple-card-utils.c | 504 struct simple_dai_props *dai_props = simple_priv_to_props(priv, rtd->num); in asoc_simple_be_hw_params_fixup() local 505 struct asoc_simple_data *data = &dai_props->adata; in asoc_simple_be_hw_params_fixup() 562 struct simple_dai_props *dai_props) in asoc_simple_init_for_codec2codec() argument 854 struct simple_dai_props *dai_props; in asoc_simple_init_priv() local 860 dai_props = devm_kcalloc(dev, li->link, sizeof(*dai_props), GFP_KERNEL); in asoc_simple_init_priv() 862 if (!dai_props || !dai_link) in asoc_simple_init_priv() 893 priv->dai_props = dai_props; in asoc_simple_init_priv() 908 dai_props[i].num.cpus = in asoc_simple_init_priv() 910 dai_props[i].cpu_dai = dais; in asoc_simple_init_priv() 917 dai_props[i].num.cpus = in asoc_simple_init_priv() [all …]
|
D | simple-card.c | 160 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in simple_parse_node() local 167 dai = simple_props_to_dai_cpu(dai_props, 0); in simple_parse_node() 170 dai = simple_props_to_dai_codec(dai_props, 0); in simple_parse_node() 173 simple_parse_mclk_fs(top, np, dai_props, prefix); in simple_parse_node() 219 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in simple_dai_link_of_dpcm() local 261 cconf = simple_props_to_codec_conf(dai_props, 0); in simple_dai_link_of_dpcm() 278 simple_parse_convert(dev, np, &dai_props->adata); in simple_dai_link_of_dpcm() 760 struct simple_dai_props *dai_props = priv->dai_props; in asoc_simple_probe() local 794 memcpy(dai_props->cpu_dai, &cinfo->cpu_dai, in asoc_simple_probe() 795 sizeof(*dai_props->cpu_dai)); in asoc_simple_probe() [all …]
|
D | audio-graph-card.c | 114 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in graph_parse_node() local 121 dai = simple_props_to_dai_cpu(dai_props, 0); in graph_parse_node() 124 dai = simple_props_to_dai_codec(dai_props, 0); in graph_parse_node() 127 graph_parse_mclk_fs(top, ep, dai_props); in graph_parse_node() 174 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in graph_dai_link_of_dpcm() local 218 struct snd_soc_codec_conf *cconf = simple_props_to_codec_conf(dai_props, 0); in graph_dai_link_of_dpcm() 250 graph_parse_convert(dev, ep, &dai_props->adata); in graph_dai_link_of_dpcm()
|
D | audio-graph-card2.c | 407 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in __graph_parse_node() local 414 dai = simple_props_to_dai_cpu(dai_props, idx); in __graph_parse_node() 417 dai = simple_props_to_dai_codec(dai_props, idx); in __graph_parse_node() 420 graph_parse_mclk_fs(ep, dai_props); in __graph_parse_node() 486 struct snd_soc_codec_conf *cconf = simple_props_to_codec_conf(dai_props, idx); in __graph_parse_node() 689 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in audio_graph2_link_dpcm() local 759 graph_parse_convert(ep, dai_props); /* at node of <dpcm> */ in audio_graph2_link_dpcm() 760 graph_parse_convert(rep, dai_props); /* at node of <CPU/Codec> */ in audio_graph2_link_dpcm()
|
/Linux-v6.6/include/sound/ |
D | simple_card_utils.h | 66 } *dai_props; member 80 #define simple_priv_to_props(priv, i) ((priv)->dai_props + (i))
|