Home
last modified time | relevance | path

Searched refs:pcm_count (Results 1 – 2 of 2) sorted by relevance

/linux/sound/soc/codecs/
H A Dhda.c16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais() argument
24 drvs = devm_kcalloc(dev, pcm_count, sizeof(*drvs), GFP_KERNEL); in hda_codec_create_dais()
30 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in hda_codec_create_dais()
88 int ret, pcm_count = 0; in hda_codec_register_dais() local
93 pcm_count++; in hda_codec_register_dais()
95 ret = hda_codec_create_dais(codec, pcm_count, &drvs); in hda_codec_register_dais()
/linux/sound/soc/intel/avs/
H A Dpcm.c1608 int pcm_count = 0, ret, i; in avs_component_hda_probe() local
1619 pcm_count++; in avs_component_hda_probe()
1621 dais = devm_kcalloc(component->dev, pcm_count, sizeof(*dais), in avs_component_hda_probe()
1630 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in avs_component_hda_probe()