/linux-6.1.9/sound/soc/amd/acp/ |
D | acp-mach-common.c | 575 struct snd_soc_dai_link *links; in acp_sofdsp_dai_links_create() local 587 links = devm_kcalloc(dev, num_links, sizeof(struct snd_soc_dai_link), GFP_KERNEL); in acp_sofdsp_dai_links_create() 588 if (!links) in acp_sofdsp_dai_links_create() 592 links[i].name = "acp-headset-codec"; in acp_sofdsp_dai_links_create() 593 links[i].id = HEADSET_BE_ID; in acp_sofdsp_dai_links_create() 594 links[i].cpus = sof_sp; in acp_sofdsp_dai_links_create() 595 links[i].num_cpus = ARRAY_SIZE(sof_sp); in acp_sofdsp_dai_links_create() 596 links[i].platforms = sof_component; in acp_sofdsp_dai_links_create() 597 links[i].num_platforms = ARRAY_SIZE(sof_component); in acp_sofdsp_dai_links_create() 598 links[i].dpcm_playback = 1; in acp_sofdsp_dai_links_create() [all …]
|
/linux-6.1.9/sound/soc/intel/boards/ |
D | sof_ssp_amp.c | 210 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 213 links = devm_kcalloc(dev, sof_ssp_amp_card.num_links, in sof_card_dai_links_create() 217 if (!links || !cpus) in sof_card_dai_links_create() 231 links[id].cpus = &cpus[id]; in sof_card_dai_links_create() 232 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 234 if (!links[id].cpus->dai_name) in sof_card_dai_links_create() 236 links[id].name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-HDMI", port); in sof_card_dai_links_create() 237 if (!links[id].name) in sof_card_dai_links_create() 239 links[id].id = id; in sof_card_dai_links_create() 240 links[id].codecs = dummy_component; in sof_card_dai_links_create() [all …]
|
D | sof_cs42l42.c | 307 struct snd_soc_dai_link *links, in create_spk_amp_dai_links() argument 317 links[*id].name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", in create_spk_amp_dai_links() 319 if (!links[*id].name) { in create_spk_amp_dai_links() 324 links[*id].id = *id; in create_spk_amp_dai_links() 327 max_98357a_dai_link(&links[*id]); in create_spk_amp_dai_links() 329 max_98360a_dai_link(&links[*id]); in create_spk_amp_dai_links() 336 links[*id].platforms = platform_component; in create_spk_amp_dai_links() 337 links[*id].num_platforms = ARRAY_SIZE(platform_component); in create_spk_amp_dai_links() 338 links[*id].dpcm_playback = 1; in create_spk_amp_dai_links() 339 links[*id].no_pcm = 1; in create_spk_amp_dai_links() [all …]
|
D | sof_nau8825.c | 356 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 359 links = devm_kcalloc(dev, sof_audio_card_nau8825.num_links, in sof_card_dai_links_create() 363 if (!links || !cpus) in sof_card_dai_links_create() 367 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 369 if (!links[id].name) in sof_card_dai_links_create() 372 links[id].id = id; in sof_card_dai_links_create() 373 links[id].codecs = nau8825_component; in sof_card_dai_links_create() 374 links[id].num_codecs = ARRAY_SIZE(nau8825_component); in sof_card_dai_links_create() 375 links[id].platforms = platform_component; in sof_card_dai_links_create() 376 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create() [all …]
|
D | sof_pcm512x.c | 226 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 229 links = devm_kcalloc(dev, sof_audio_card_pcm512x.num_links, in sof_card_dai_links_create() 233 if (!links || !cpus) in sof_card_dai_links_create() 237 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 239 if (!links[id].name) in sof_card_dai_links_create() 242 links[id].id = id; in sof_card_dai_links_create() 243 links[id].codecs = pcm512x_component; in sof_card_dai_links_create() 244 links[id].num_codecs = ARRAY_SIZE(pcm512x_component); in sof_card_dai_links_create() 245 links[id].platforms = platform_component; in sof_card_dai_links_create() 246 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create() [all …]
|
D | sof_rt5682.c | 610 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 613 links = devm_kcalloc(dev, sof_audio_card_rt5682.num_links, in sof_card_dai_links_create() 617 if (!links || !cpus) in sof_card_dai_links_create() 621 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 623 if (!links[id].name) in sof_card_dai_links_create() 626 links[id].id = id; in sof_card_dai_links_create() 628 links[id].codecs = rt5682s_component; in sof_card_dai_links_create() 629 links[id].num_codecs = ARRAY_SIZE(rt5682s_component); in sof_card_dai_links_create() 631 links[id].codecs = rt5682_component; in sof_card_dai_links_create() 632 links[id].num_codecs = ARRAY_SIZE(rt5682_component); in sof_card_dai_links_create() [all …]
|
D | sof_es8336.c | 437 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 443 links = devm_kcalloc(dev, sof_es8336_card.num_links, in sof_card_dai_links_create() 447 if (!links || !cpus) in sof_card_dai_links_create() 451 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 453 if (!links[id].name) in sof_card_dai_links_create() 456 links[id].id = id; in sof_card_dai_links_create() 457 links[id].codecs = es8336_codec; in sof_card_dai_links_create() 458 links[id].num_codecs = ARRAY_SIZE(es8336_codec); in sof_card_dai_links_create() 459 links[id].platforms = platform_component; in sof_card_dai_links_create() 460 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create() [all …]
|
/linux-6.1.9/sound/soc/sof/ |
D | nocodec.c | 24 struct snd_soc_dai_link *links, in sof_nocodec_bes_setup() argument 30 if (!drv || !links || !card) in sof_nocodec_bes_setup() 39 links[i].name = devm_kasprintf(dev, GFP_KERNEL, in sof_nocodec_bes_setup() 41 if (!links[i].name) in sof_nocodec_bes_setup() 44 links[i].stream_name = links[i].name; in sof_nocodec_bes_setup() 46 links[i].cpus = &dlc[0]; in sof_nocodec_bes_setup() 47 links[i].codecs = &dlc[1]; in sof_nocodec_bes_setup() 48 links[i].platforms = &dlc[2]; in sof_nocodec_bes_setup() 50 links[i].num_cpus = 1; in sof_nocodec_bes_setup() 51 links[i].num_codecs = 1; in sof_nocodec_bes_setup() [all …]
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | attach_probe.c | 80 skel->links.handle_kprobe = kprobe_link; in test_attach_probe() 87 skel->links.handle_kretprobe = kretprobe_link; in test_attach_probe() 90 skel->links.handle_kprobe_auto = bpf_program__attach(skel->progs.handle_kprobe_auto); in test_attach_probe() 91 ASSERT_OK_PTR(skel->links.handle_kprobe_auto, "attach_kprobe_auto"); in test_attach_probe() 93 skel->links.handle_kretprobe_auto = bpf_program__attach(skel->progs.handle_kretprobe_auto); in test_attach_probe() 94 ASSERT_OK_PTR(skel->links.handle_kretprobe_auto, "attach_kretprobe_auto"); in test_attach_probe() 108 skel->links.handle_uprobe = uprobe_link; in test_attach_probe() 122 skel->links.handle_uretprobe = uretprobe_link; in test_attach_probe() 133 skel->links.handle_uprobe_byname = in test_attach_probe() 138 if (!ASSERT_OK_PTR(skel->links.handle_uprobe_byname, "attach_uprobe_byname")) in test_attach_probe() [all …]
|
D | cgroup_link.c | 40 struct bpf_link *links[ARRAY_SIZE(cgs)] = {}, *tmp_link; in serial_test_cgroup_link() local 66 links[i] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link() 68 if (!ASSERT_OK_PTR(links[i], "cg_attach")) in serial_test_cgroup_link() 106 bpf_link__destroy(links[last_cg]); in serial_test_cgroup_link() 107 links[last_cg] = NULL; in serial_test_cgroup_link() 118 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link() 120 if (!ASSERT_OK_PTR(links[last_cg], "cg_attach")) in serial_test_cgroup_link() 126 bpf_link__destroy(links[last_cg]); in serial_test_cgroup_link() 127 links[last_cg] = NULL; in serial_test_cgroup_link() 161 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link() [all …]
|
D | usdt.c | 63 skel->links.usdt0 = bpf_program__attach_usdt(skel->progs.usdt0, in subtest_basic_usdt() 66 if (!ASSERT_OK_PTR(skel->links.usdt0, "usdt0_link")) in subtest_basic_usdt() 128 bpf_link__destroy(skel->links.usdt3); in subtest_basic_usdt() 131 skel->links.usdt3 = bpf_program__attach_usdt(skel->progs.usdt3, -1 /* any pid */, in subtest_basic_usdt() 133 if (!ASSERT_OK_PTR(skel->links.usdt3, "usdt3_reattach")) in subtest_basic_usdt() 242 bpf_link__destroy(skel->links.usdt_100); in subtest_multispec_usdt() 244 skel->links.usdt_100 = bpf_program__attach_usdt(skel->progs.usdt_100, -1, in subtest_multispec_usdt() 247 if (!ASSERT_OK_PTR(skel->links.usdt_100, "usdt_100_reattach")) in subtest_multispec_usdt() 265 bpf_link__destroy(skel->links.usdt_100); in subtest_multispec_usdt() 266 skel->links.usdt_100 = bpf_program__attach_usdt(skel->progs.usdt_100, -1, "/proc/self/exe", in subtest_multispec_usdt() [all …]
|
/linux-6.1.9/drivers/interconnect/qcom/ |
D | sc8280xp.c | 24 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 33 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 42 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 50 .links = { SC8280XP_SLAVE_SERVICE_A1NOC }, 59 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 68 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 77 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 86 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 95 .links = { SC8280XP_SLAVE_USB_NOC_SNOC }, 104 .links = { SC8280XP_SLAVE_USB_NOC_SNOC }, [all …]
|
D | sc8180x.c | 24 .links = { SC8180X_SLAVE_SERVICE_A1NOC } 33 .links = { SC8180X_A1NOC_SNOC_SLV } 42 .links = { SC8180X_A1NOC_SNOC_SLV } 51 .links = { SC8180X_A1NOC_SNOC_SLV } 60 .links = { SC8180X_A1NOC_SNOC_SLV } 69 .links = { SC8180X_A1NOC_SNOC_SLV } 78 .links = { SC8180X_A1NOC_SNOC_SLV } 87 .links = { SC8180X_SLAVE_SERVICE_A2NOC } 96 .links = { SC8180X_A2NOC_SNOC_SLV } 105 .links = { SC8180X_A2NOC_SNOC_SLV } [all …]
|
D | sm8450.c | 25 .links = { SM8450_SLAVE_A1NOC_SNOC }, 34 .links = { SM8450_SLAVE_A1NOC_SNOC }, 43 .links = { SM8450_SLAVE_SERVICE_A1NOC }, 52 .links = { SM8450_SLAVE_A1NOC_SNOC }, 61 .links = { SM8450_SLAVE_A1NOC_SNOC }, 70 .links = { SM8450_SLAVE_A1NOC_SNOC }, 79 .links = { SM8450_SLAVE_A2NOC_SNOC }, 88 .links = { SM8450_SLAVE_A2NOC_SNOC }, 97 .links = { SM8450_SLAVE_A2NOC_SNOC }, 106 .links = { SM8450_SLAVE_SERVICE_A2NOC }, [all …]
|
D | sc7280.c | 24 .links = { SC7280_SLAVE_A1NOC_SNOC }, 33 .links = { SC7280_SLAVE_A1NOC_SNOC }, 42 .links = { SC7280_SLAVE_A1NOC_SNOC }, 51 .links = { SC7280_SLAVE_SERVICE_A1NOC }, 60 .links = { SC7280_SLAVE_A1NOC_SNOC }, 69 .links = { SC7280_SLAVE_A1NOC_SNOC }, 78 .links = { SC7280_SLAVE_A1NOC_SNOC }, 87 .links = { SC7280_SLAVE_A1NOC_SNOC }, 96 .links = { SC7280_SLAVE_A1NOC_SNOC }, 105 .links = { SC7280_SLAVE_A1NOC_SNOC }, [all …]
|
D | qcs404.c | 107 .links = mas_apps_proc_links, 122 .links = mas_oxili_links, 137 .links = mas_mdp_links, 151 .links = mas_snoc_bimc_1_links, 166 .links = mas_tcu_0_links, 180 .links = mas_spdm_links, 194 .links = mas_blsp_1_links, 208 .links = mas_blsp_2_links, 222 .links = mas_xi_usb_hs1_links, 237 .links = mas_crypto_links, [all …]
|
D | msm8916.c | 122 .links = bimc_snoc_mas_links, 139 .links = bimc_snoc_slv_links, 160 .links = mas_apss_links, 174 .links = mas_audio_links, 188 .links = mas_blsp_1_links, 202 .links = mas_dehr_links, 223 .links = mas_gfx_links, 243 .links = mas_jpeg_links, 263 .links = mas_mdp_links, 277 .links = mas_pcnoc_crypto_0_links, [all …]
|
D | msm8939.c | 127 .links = bimc_snoc_mas_links, 142 .links = bimc_snoc_slv_links, 163 .links = mas_apss_links, 177 .links = mas_audio_links, 191 .links = mas_blsp_1_links, 205 .links = mas_dehr_links, 226 .links = mas_gfx_links, 246 .links = mas_jpeg_links, 266 .links = mas_mdp0_links, 286 .links = mas_mdp1_links, [all …]
|
D | msm8996.c | 59 .links = mas_a0noc_common_links 74 .links = mas_a0noc_common_links 89 .links = mas_a0noc_common_links 105 .links = mas_a1noc_common_links 120 .links = mas_a1noc_common_links 135 .links = mas_a1noc_common_links 154 .links = mas_a2noc_common_links 169 .links = mas_a2noc_common_links 184 .links = mas_a2noc_common_links 205 .links = mas_apps_proc_links [all …]
|
D | qcm2290.c | 121 .links = mas_appss_proc_links, 138 .links = mas_snoc_bimc_rt_links, 155 .links = mas_snoc_bimc_nrt_links, 172 .links = mas_snoc_bimc_links, 192 .links = mas_tcu_0_links, 240 .links = mas_snoc_cnoc_links, 288 .links = mas_qdss_dap_links, 306 .links = mas_crypto_core0_links, 320 .links = mas_qup_core_0_links, 338 .links = mas_camnoc_sf_links, [all …]
|
D | sdm660.c | 162 .links = mas_ipa_links, 178 .links = mas_cnoc_a2noc_links, 192 .links = mas_sdcc_1_links, 206 .links = mas_sdcc_2_links, 220 .links = mas_blsp_1_links, 234 .links = mas_blsp_2_links, 253 .links = mas_ufs_links, 272 .links = mas_usb_hs_links, 291 .links = mas_usb3_links, 310 .links = mas_crypto_links, [all …]
|
/linux-6.1.9/net/mac80211/ |
D | link.c | 51 sdata->wdev.links[link_id].addr); in ieee80211_link_init() 78 struct link_container **links, u16 mask) in ieee80211_tear_down_links() argument 87 link = &links[link_id]->data; in ieee80211_tear_down_links() 102 struct link_container **links) in ieee80211_free_links() argument 107 kfree(links[link_id]); in ieee80211_free_links() 137 u16 links) in ieee80211_set_vif_links_bitmaps() argument 139 sdata->vif.valid_links = links; in ieee80211_set_vif_links_bitmaps() 141 if (!links) { in ieee80211_set_vif_links_bitmaps() 149 sdata->vif.active_links = links; in ieee80211_set_vif_links_bitmaps() 154 WARN_ON(hweight16(links) > 1); in ieee80211_set_vif_links_bitmaps() [all …]
|
/linux-6.1.9/samples/bpf/ |
D | sampleip_user.c | 37 struct bpf_link *links[]) in sampling_start() argument 56 links[i] = bpf_program__attach_perf_event(prog, pmu_fd); in sampling_start() 57 if (libbpf_get_error(links[i])) { in sampling_start() 59 links[i] = NULL; in sampling_start() 68 static void sampling_end(struct bpf_link *links[]) in sampling_end() argument 73 bpf_link__destroy(links[i]); in sampling_end() 144 struct bpf_link **links; in main() local 174 links = calloc(nr_cpus, sizeof(struct bpf_link *)); in main() 175 if (!links) { in main() 212 if (sampling_start(freq, prog, links) != 0) in main() [all …]
|
/linux-6.1.9/net/wireless/ |
D | sme.c | 278 cr.links[0].bssid = bssid; in cfg80211_conn_work() 387 cr.links[0].bssid = mgmt->bssid; in cfg80211_sme_rx_auth() 479 if (!wdev->links[link].client.current_bss) in cfg80211_wdev_release_bsses() 481 cfg80211_unhold_bss(wdev->links[link].client.current_bss); in cfg80211_wdev_release_bsses() 483 &wdev->links[link].client.current_bss->pub); in cfg80211_wdev_release_bsses() 484 wdev->links[link].client.current_bss = NULL; in cfg80211_wdev_release_bsses() 708 if (!cr->links[link].bss) in cfg80211_connect_result_release_bsses() 710 cfg80211_unhold_bss(bss_from_pub(cr->links[link].bss)); in cfg80211_connect_result_release_bsses() 711 cfg80211_put_bss(wdev->wiphy, cr->links[link].bss); in cfg80211_connect_result_release_bsses() 747 if (WARN_ON(!cr->links[link].addr)) in __cfg80211_connect_result() [all …]
|
/linux-6.1.9/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_symbol.c | 216 curnode = SLIST_NEXT(curnode, links); in symlist_search() 263 SLIST_INSERT_HEAD(symlist, newnode, links); in symlist_add() 268 if (SLIST_NEXT(curnode, links) == NULL) { in symlist_add() 270 links); in symlist_add() 275 cursymbol = SLIST_NEXT(curnode, links)->symbol; in symlist_add() 285 links); in symlist_add() 289 curnode = SLIST_NEXT(curnode, links); in symlist_add() 292 SLIST_INSERT_HEAD(symlist, newnode, links); in symlist_add() 303 node2 = SLIST_NEXT(node1, links); in symlist_free() 318 SLIST_REMOVE_HEAD(symlist_src2, links); in symlist_merge() [all …]
|