Searched refs:num_ends (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/sound/soc/amd/acp/ |
| H A D | acp-sdw-sof-mach.c | 271 int num_ends = 0; in sof_card_dai_links_create() local 276 ret = asoc_sdw_count_sdw_endpoints(card, &num_devs, &num_ends); in sof_card_dai_links_create() 283 sof_dais = kcalloc(num_ends, sizeof(*sof_dais), GFP_KERNEL); in sof_card_dai_links_create() 288 sof_ends = kcalloc(num_ends, sizeof(*sof_ends), GFP_KERNEL); in sof_card_dai_links_create()
|
| H A D | acp-sdw-legacy-mach.c | 347 int num_ends = 0; in soc_card_dai_links_create() local 352 ret = asoc_sdw_count_sdw_endpoints(card, &num_devs, &num_ends); in soc_card_dai_links_create() 359 soc_dais = kcalloc(num_ends, sizeof(*soc_dais), GFP_KERNEL); in soc_card_dai_links_create() 364 soc_ends = kcalloc(num_ends, sizeof(*soc_ends), GFP_KERNEL); in soc_card_dai_links_create()
|
| /linux-6.15/sound/soc/intel/boards/ |
| H A D | sof_sdw.c | 1129 int num_ends = 0; in sof_card_dai_links_create() local 1137 ret = asoc_sdw_count_sdw_endpoints(card, &num_devs, &num_ends); in sof_card_dai_links_create() 1148 sof_dais = kcalloc(num_ends + 1, sizeof(*sof_dais), GFP_KERNEL); in sof_card_dai_links_create() 1153 sof_ends = kcalloc(num_ends, sizeof(*sof_ends), GFP_KERNEL); in sof_card_dai_links_create()
|
| /linux-6.15/include/sound/ |
| H A D | soc_sdw_utils.h | 167 int asoc_sdw_count_sdw_endpoints(struct snd_soc_card *card, int *num_devs, int *num_ends);
|
| /linux-6.15/sound/soc/sdw_utils/ |
| H A D | soc_sdw_utils.c | 1088 int asoc_sdw_count_sdw_endpoints(struct snd_soc_card *card, int *num_devs, int *num_ends) in asoc_sdw_count_sdw_endpoints() argument 1100 *num_ends += adr_link->adr_d[i].num_endpoints; in asoc_sdw_count_sdw_endpoints() 1103 dev_dbg(dev, "Found %d devices with %d endpoints\n", *num_devs, *num_ends); in asoc_sdw_count_sdw_endpoints()
|