/linux/sound/soc/intel/boards/ |
H A D | sof_board_helpers.c | 500 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 D | db1200.c | 66 .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 D | mtk-dsp-sof-common.c | 237 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 D | mtk-soundcard-driver.c | 109 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 D | imx-media-internal-sd.c | 26 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 D | common.c | 36 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 D | soc-topology-test.c | 249 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 D | icc-emi.h | 28 u16 num_links; member 29 u16 links[] __counted_by(num_links);
|
/linux/sound/soc/ti/ |
H A D | omap-abe-twl6040.c | 217 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 D | omap-twl4030.c | 230 .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 D | meson-card-utils.c | 43 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 D | acp-sdw-sof-mach.c | 272 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 D | acp-sdw-legacy-mach.c | 303 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 D | acp-mach-common.c | 1388 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 D | tegra_asoc_machine.c | 647 .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 D | imx.h | 74 u16 num_links; member 97 .num_links = COUNT_ARGS(__VA_ARGS__), \
|
/linux/sound/soc/loongson/ |
H A D | loongson_card.c | 113 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 D | ta_xgmi_if.h | 91 uint8_t num_links; member 102 uint8_t num_links; member
|
H A D | amdgpu_amdkfd.c | 579 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 D | imx-card.c | 521 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 D | mop500.c | 57 .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 D | tx.c | 553 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 D | rockchip_max98090.c | 302 .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 D | arndale.c | 125 .num_links = ARRAY_SIZE(arndale_rt5631_dai), 132 .num_links = ARRAY_SIZE(arndale_wm1811_dai),
|
H A D | tm2_wm5110.c | 548 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()
|