Home
last modified time | relevance | path

Searched refs:num_links (Results 1 – 25 of 115) sorted by relevance

12345

/linux/sound/soc/intel/boards/
H A Dsof_board_helpers.c500 int num_links = 0; in calculate_num_links() local
504 num_links++; in calculate_num_links()
508 num_links++; in calculate_num_links()
511 num_links++; in calculate_num_links()
514 num_links += ctx->hdmi_num; in calculate_num_links()
518 num_links++; in calculate_num_links()
522 num_links++; in calculate_num_links()
525 num_links += hweight32(ctx->ssp_mask_hdmi_in); in calculate_num_links()
529 num_links += 2; in calculate_num_links()
531 return num_links; in calculate_num_links()
[all …]
/linux/sound/soc/au1x/
H A Ddb1200.c66 .num_links = 1,
84 .num_links = 1,
91 .num_links = 1,
130 .num_links = 1,
151 .num_links = 1,
172 .num_links = 1,
/linux/sound/soc/mediatek/common/
H A Dmtk-dsp-sof-common.c237 int i, j, ret, num_links, parsed_num_links = 0; in mtk_sof_dailink_parse_of() local
239 num_links = of_property_count_strings(np, "mediatek,dai-link"); in mtk_sof_dailink_parse_of()
240 if (num_links < 0 || num_links > card->num_links) { in mtk_sof_dailink_parse_of()
245 parsed_dai_link = devm_kcalloc(dev, num_links, sizeof(*parsed_dai_link), GFP_KERNEL); in mtk_sof_dailink_parse_of()
249 for (i = 0; i < num_links; i++) { in mtk_sof_dailink_parse_of()
266 if (parsed_num_links != num_links) in mtk_sof_dailink_parse_of()
270 card->num_links = parsed_num_links; in mtk_sof_dailink_parse_of()
H A Dmtk-soundcard-driver.c109 if (i >= card->num_links) { in parse_dai_link_info()
211 orig_num_links = card->num_links; in mtk_soundcard_common_probe()
268 card->dai_link, card->num_links); in mtk_soundcard_common_probe()
334 card->num_links = orig_num_links; in mtk_soundcard_common_probe()
/linux/drivers/staging/media/imx/
H A Dimx-media-internal-sd.c26 int num_links; member
45 .num_links = 2,
63 .num_links = 2,
83 .num_links = 1,
99 .num_links = 1,
109 .num_links = 1,
175 for (j = 0; j < intpad->num_links; j++) { in create_ipu_internal_links()
/linux/sound/soc/qcom/
H A Dcommon.c36 int ret, num_links; in qcom_snd_parse_of() local
75 num_links = of_get_available_child_count(dev->of_node); in qcom_snd_parse_of()
78 card->dai_link = devm_kcalloc(dev, num_links, sizeof(*link), GFP_KERNEL); in qcom_snd_parse_of()
82 card->num_links = num_links; in qcom_snd_parse_of()
/linux/sound/soc/
H A Dsoc-topology-test.c249 kunit_comp->card.num_links = ARRAY_SIZE(kunit_dai_links); in snd_soc_tplg_test_load_with_null_comp()
291 kunit_comp->card.num_links = ARRAY_SIZE(kunit_dai_links); in snd_soc_tplg_test_load_with_null_ops()
353 kunit_comp->card.num_links = ARRAY_SIZE(kunit_dai_links); in snd_soc_tplg_test_load_with_null_fw()
401 kunit_comp->card.num_links = ARRAY_SIZE(kunit_dai_links); in snd_soc_tplg_test_load_empty_tplg()
456 kunit_comp->card.num_links = ARRAY_SIZE(kunit_dai_links); in snd_soc_tplg_test_load_empty_tplg_bad_magic()
511 kunit_comp->card.num_links = ARRAY_SIZE(kunit_dai_links); in snd_soc_tplg_test_load_empty_tplg_bad_abi()
566 kunit_comp->card.num_links = ARRAY_SIZE(kunit_dai_links); in snd_soc_tplg_test_load_empty_tplg_bad_size()
622 kunit_comp->card.num_links = ARRAY_SIZE(kunit_dai_links); in snd_soc_tplg_test_load_empty_tplg_bad_payload_size()
670 kunit_comp->card.num_links = ARRAY_SIZE(kunit_dai_links); in snd_soc_tplg_test_load_pcm_tplg()
720 kunit_comp->card.num_links = ARRAY_SIZE(kunit_dai_links); in snd_soc_tplg_test_load_pcm_tplg_reload_comp()
[all …]
/linux/drivers/interconnect/mediatek/
H A Dicc-emi.h28 u16 num_links; member
29 u16 links[] __counted_by(num_links);
/linux/sound/soc/ti/
H A Domap-abe-twl6040.c217 int num_links = 0; in omap_abe_probe() local
269 num_links = 2; in omap_abe_probe()
283 num_links = 1; in omap_abe_probe()
296 card->num_links = num_links; in omap_abe_probe()
H A Domap-twl4030.c230 .num_links = ARRAY_SIZE(omap_twl4030_dai_links),
274 card->num_links = 1; in omap_twl4030_probe()
302 card->num_links = 1; in omap_twl4030_probe()
/linux/sound/soc/meson/
H A Dmeson-card-utils.c43 unsigned int num_links) in meson_card_reallocate_links() argument
50 num_links * sizeof(*priv->card.dai_link), in meson_card_reallocate_links()
56 num_links * sizeof(*priv->link_data), in meson_card_reallocate_links()
63 priv->card.num_links = num_links; in meson_card_reallocate_links()
/linux/sound/soc/amd/acp/
H A Dacp-sdw-sof-mach.c272 int num_links; in sof_card_dai_links_create() local
309 num_links = sdw_be_num + dmic_num; in sof_card_dai_links_create()
310 dai_links = devm_kcalloc(dev, num_links, sizeof(*dai_links), GFP_KERNEL); in sof_card_dai_links_create()
317 card->num_links = num_links; in sof_card_dai_links_create()
339 WARN_ON(dai_links != card->dai_link + card->num_links); in sof_card_dai_links_create()
H A Dacp-sdw-legacy-mach.c303 int num_links; in soc_card_dai_links_create() local
340 num_links = sdw_be_num + dmic_num; in soc_card_dai_links_create()
341 dai_links = devm_kcalloc(dev, num_links, sizeof(*dai_links), GFP_KERNEL); in soc_card_dai_links_create()
348 card->num_links = num_links; in soc_card_dai_links_create()
370 WARN_ON(dai_links != card->dai_link + card->num_links); in soc_card_dai_links_create()
H A Dacp-mach-common.c1388 int i = 0, num_links = 0; in acp_sofdsp_dai_links_create() local
1391 num_links++; in acp_sofdsp_dai_links_create()
1393 num_links++; in acp_sofdsp_dai_links_create()
1395 num_links++; in acp_sofdsp_dai_links_create()
1397 num_links++; in acp_sofdsp_dai_links_create()
1399 links = devm_kcalloc(dev, num_links, sizeof(struct snd_soc_dai_link), GFP_KERNEL); in acp_sofdsp_dai_links_create()
1577 card->num_links = num_links; in acp_sofdsp_dai_links_create()
1589 int i = 0, num_links = 0; in acp_legacy_dai_links_create() local
1593 num_links++; in acp_legacy_dai_links_create()
1595 num_links++; in acp_legacy_dai_links_create()
[all …]
/linux/sound/soc/tegra/
H A Dtegra_asoc_machine.c647 .num_links = 1,
680 .num_links = 1,
711 .num_links = 1,
746 .num_links = 1,
779 .num_links = 1,
823 .num_links = 1,
871 .num_links = 1,
905 .num_links = 1,
938 .num_links = 1,
971 .num_links = 1,
/linux/drivers/interconnect/imx/
H A Dimx.h74 u16 num_links; member
97 .num_links = COUNT_ARGS(__VA_ARGS__), \
/linux/sound/soc/loongson/
H A Dloongson_card.c113 for (i = 0; i < card->num_links; i++) { in loongson_card_parse_acpi()
141 for (i = 0; i < card->num_links; i++) { in loongson_card_parse_of()
183 card->num_links = ARRAY_SIZE(loongson_dai_links); in loongson_asoc_card_probe()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dta_xgmi_if.h91 uint8_t num_links; member
102 uint8_t num_links; member
H A Damdgpu_amdkfd.c579 int num_links; in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes() local
588 num_links = is_min ? 1 : amdgpu_xgmi_get_num_links(adev, peer_adev); in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
589 if (num_links < 0) { in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
592 peer_adev->gmc.xgmi.physical_node_id, num_links); in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
593 num_links = 0; in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
597 return (num_links * 16 * 25000)/BITS_PER_BYTE; in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
/linux/sound/soc/fsl/
H A Dimx-card.c521 int ret, num_links; in imx_card_parse_of() local
539 num_links = of_get_child_count(dev->of_node); in imx_card_parse_of()
542 card->dai_link = devm_kcalloc(dev, num_links, sizeof(*link), GFP_KERNEL); in imx_card_parse_of()
546 data->link_data = devm_kcalloc(dev, num_links, sizeof(*link), GFP_KERNEL); in imx_card_parse_of()
550 card->num_links = num_links; in imx_card_parse_of()
854 if (data->card.num_links == 3) { in imx_card_probe()
/linux/sound/soc/ux500/
H A Dmop500.c57 .num_links = ARRAY_SIZE(mop500_dai_links),
122 __func__, mop500_card.name, mop500_card.num_links); in mop500_probe()
/linux/drivers/net/wireless/ti/wlcore/
H A Dtx.c553 start_hlid = (wlvif->last_tx_hlid + 1) % wl->num_links; in wlcore_vif_dequeue_high_prio()
556 for (i = 0; i < wl->num_links; i++) { in wlcore_vif_dequeue_high_prio()
557 h = (start_hlid + i) % wl->num_links; in wlcore_vif_dequeue_high_prio()
681 wlvif->last_tx_hlid = (hlid + wl->num_links - 1) % in wl1271_skb_queue_head()
682 wl->num_links; in wl1271_skb_queue_head()
715 for_each_set_bit(hlid, active_hlids, wl->num_links) { in wl12xx_rearm_rx_streaming()
1056 for_each_set_bit(i, wlvif->links_map, wl->num_links) { in wl12xx_tx_reset_wlvif()
1080 for (i = 0; i < wl->num_links; i++) in wl12xx_tx_reset()
1173 for (i = 0; i < wl->num_links; i++) in wl1271_tx_flush()
/linux/sound/soc/rockchip/
H A Drockchip_max98090.c302 .num_links = ARRAY_SIZE(rk_max98090_dailinks),
317 .num_links = ARRAY_SIZE(rk_hdmi_dailinks),
330 .num_links = ARRAY_SIZE(rk_max98090_hdmi_dailinks),
/linux/sound/soc/samsung/
H A Darndale.c125 .num_links = ARRAY_SIZE(arndale_rt5631_dai),
132 .num_links = ARRAY_SIZE(arndale_wm1811_dai),
H A Dtm2_wm5110.c548 card->num_links = ARRAY_SIZE(tm2_dai_links); in tm2_probe()
551 card->num_links = ARRAY_SIZE(tm2_dai_links) - 1; in tm2_probe()
582 if (num_codecs > 1 && i == card->num_links - 1) in tm2_probe()
594 i = card->num_links - 1; in tm2_probe()

12345