| /linux/sound/soc/amd/acp/ |
| H A D | acp-mach-common.c | 1403 struct snd_soc_dai_link *links; in acp_sofdsp_dai_links_create() 1418 links = devm_kcalloc(dev, num_links, sizeof(struct snd_soc_dai_link), GFP_KERNEL); in acp_sofdsp_dai_links_create() 1419 if (!links) in acp_sofdsp_dai_links_create() 1423 links[i].name = "acp-headset-codec"; in acp_sofdsp_dai_links_create() 1424 links[i].id = HEADSET_BE_ID; in acp_sofdsp_dai_links_create() 1425 links[i].cpus = sof_sp; in acp_sofdsp_dai_links_create() 1426 links[i].num_cpus = ARRAY_SIZE(sof_sp); in acp_sofdsp_dai_links_create() 1427 links[i].platforms = sof_component; in acp_sofdsp_dai_links_create() 1428 links[i].num_platforms = ARRAY_SIZE(sof_component); in acp_sofdsp_dai_links_create() 1429 links[ in acp_sofdsp_dai_links_create() 1401 struct snd_soc_dai_link *links; acp_sofdsp_dai_links_create() local 1602 struct snd_soc_dai_link *links; acp_legacy_dai_links_create() local [all...] |
| H A D | amd-acp70-acpi-match.c | 754 .links = acp70_tas2783_2, 759 .links = acp70_tas2783x2_l0u9c_rt712_vb_l1u0, 765 .links = acp70_rt1320_l0_rt722_l1, 770 .links = acp70_rt722_l0_rt1320_l1, 775 .links = acp70_4_in_1_sdca, 780 .links = acp70_cs42l43_l0u0_cs35l56x4_l1u3210, 785 .links = acp70_cs42l45_l1u0_cs35l63x4_l0u0246, 790 .links = acp70_cs42l45_l0u0_cs35l63x2_l1u01, 795 .links = acp70_cs42l45_l0u0_cs35l63x2_l1u13, 800 .links = acp70_cs42l45_l1u0_cs35l63x2_l0u01, [all …]
|
| H A D | amd-acp63-acpi-match.c | 471 .links = acp63_4_in_1_sdca, 483 .links = acp63_rt722_only, 488 .links = acp63_4_in_1_sdca, 493 .links = acp63_cs42l43_l0u0_cs35l56x4_l1u3210, 498 .links = acp63_cs42l45_l1u0_cs35l63x4_l0u0246, 503 .links = acp63_cs42l45_l0u0_cs35l63x2_l1u01, 508 .links = acp63_cs42l45_l0u0_cs35l63x2_l1u13, 513 .links = acp63_cs42l45_l1u0_cs35l63x2_l0u01, 518 .links = acp63_cs42l43_l1u0_cs35l56x4_l1u0123, 523 .links = acp63_cs35l56x4_l1u3210, [all …]
|
| /linux/sound/soc/intel/boards/ |
| H A D | sof_pcm512x.c | 227 struct snd_soc_dai_link *links; in sof_card_dai_links_create() 230 links = devm_kcalloc(dev, sof_audio_card_pcm512x.num_links, in sof_card_dai_links_create() 234 if (!links || !cpus) in sof_card_dai_links_create() 238 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 240 if (!links[id].name) in sof_card_dai_links_create() 243 links[id].id = id; in sof_card_dai_links_create() 244 links[id].codecs = pcm512x_component; in sof_card_dai_links_create() 245 links[id].num_codecs = ARRAY_SIZE(pcm512x_component); in sof_card_dai_links_create() 246 links[id].platforms = platform_component; in sof_card_dai_links_create() 247 links[i in sof_card_dai_links_create() 226 struct snd_soc_dai_link *links; sof_card_dai_links_create() local [all...] |
| H A D | sof_es8336.c | 441 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 447 links = devm_kcalloc(dev, sof_es8336_card.num_links, in sof_card_dai_links_create() 451 if (!links || !cpus) in sof_card_dai_links_create() 455 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 457 if (!links[id].name) in sof_card_dai_links_create() 460 links[id].id = id; in sof_card_dai_links_create() 461 links[id].codecs = es8336_codec; in sof_card_dai_links_create() 462 links[id].num_codecs = ARRAY_SIZE(es8336_codec); in sof_card_dai_links_create() 463 links[id].platforms = platform_component; in sof_card_dai_links_create() 464 links[i in sof_card_dai_links_create() [all...] |
| /linux/drivers/interconnect/mediatek/ |
| H A D | mt8196.c | 27 .links = { SLAVE_DDR_EMI } 35 .links = { SLAVE_DDR_EMI } 43 .links = { SLAVE_DDR_EMI } 51 .links = { SLAVE_DDR_EMI } 59 .links = { SLAVE_DDR_EMI } 67 .links = { SLAVE_DDR_EMI } 75 .links = { SLAVE_DDR_EMI } 83 .links = { SLAVE_DDR_EMI } 91 .links = { MASTER_MMSYS } 99 .links = { MASTER_MMSYS } [all …]
|
| H A D | mt8195.c | 28 .links = { SLAVE_DDR_EMI } 36 .links = { SLAVE_DDR_EMI } 44 .links = { SLAVE_DDR_EMI } 52 .links = { MASTER_MMSYS } 60 .links = { MASTER_MMSYS } 68 .links = { MASTER_MMSYS } 76 .links = { MASTER_MMSYS } 84 .links = { MASTER_MMSYS } 92 .links = { MASTER_MMSYS } 100 .links = { MASTER_MMSYS } [all …]
|
| H A D | mt8183.c | 28 .links = { SLAVE_DDR_EMI } 36 .links = { SLAVE_DDR_EMI } 44 .links = { SLAVE_DDR_EMI } 52 .links = { MASTER_MMSYS } 60 .links = { MASTER_MMSYS } 68 .links = { MASTER_MMSYS } 76 .links = { MASTER_MMSYS } 84 .links = { MASTER_MMSYS } 92 .links = { MASTER_MMSYS } 100 .links = { MASTER_MMSYS }
|
| /linux/drivers/md/dm-vdo/ |
| H A D | thread-registry.c | 20 INIT_LIST_HEAD(®istry->links); in vdo_initialize_thread_registry() 31 INIT_LIST_HEAD(&new_thread->links); in vdo_register_thread() 36 list_for_each_entry(thread, ®istry->links, links) { in vdo_register_thread() 39 list_del_rcu(&thread->links); in vdo_register_thread() 44 list_add_tail_rcu(&new_thread->links, ®istry->links); in vdo_register_thread() 51 INIT_LIST_HEAD(&thread->links); in vdo_register_thread() 61 list_for_each_entry(thread, ®istry->links, links) { in vdo_unregister_thread() 63 list_del_rcu(&thread->links); in vdo_unregister_thread() 74 INIT_LIST_HEAD(&thread->links); in vdo_unregister_thread() 84 list_for_each_entry_rcu(thread, ®istry->links, links) { in vdo_lookup_thread()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | attach_probe.c | 63 skel->links.handle_kprobe = kprobe_link; in test_attach_probe_manual() 71 skel->links.handle_kretprobe = kretprobe_link; in test_attach_probe_manual() 84 skel->links.handle_uprobe = uprobe_link; in test_attach_probe_manual() 93 skel->links.handle_uretprobe = uretprobe_link; in test_attach_probe_manual() 99 skel->links.handle_uprobe_byname = in test_attach_probe_manual() 104 if (!ASSERT_OK_PTR(skel->links.handle_uprobe_byname, "attach_uprobe_byname")) in test_attach_probe_manual() 147 skel->links.handle_kprobe = in test_attach_probe_auto() 150 if (!ASSERT_OK_PTR(skel->links.handle_kprobe, "attach_kprobe_by_addr")) in test_attach_probe_auto() 154 skel->links.handle_kretprobe = in test_attach_probe_auto() 157 if (!ASSERT_OK_PTR(skel->links in test_attach_probe_auto() [all...] |
| H A D | tracing_multi.c | 212 skel->links.test_fentry = bpf_program__attach_tracing_multi(skel->progs.test_fentry, in test_link_api_pattern() 214 if (!ASSERT_OK_PTR(skel->links.test_fentry, "bpf_program__attach_tracing_multi")) in test_link_api_pattern() 217 skel->links.test_fexit = bpf_program__attach_tracing_multi(skel->progs.test_fexit, in test_link_api_pattern() 219 if (!ASSERT_OK_PTR(skel->links.test_fexit, "bpf_program__attach_tracing_multi")) in test_link_api_pattern() 222 skel->links.test_fentry_s = bpf_program__attach_tracing_multi(skel->progs.test_fentry_s, in test_link_api_pattern() 224 if (!ASSERT_OK_PTR(skel->links.test_fentry_s, "bpf_program__attach_tracing_multi")) in test_link_api_pattern() 227 skel->links.test_fexit_s = bpf_program__attach_tracing_multi(skel->progs.test_fexit_s, in test_link_api_pattern() 229 if (!ASSERT_OK_PTR(skel->links.test_fexit_s, "bpf_program__attach_tracing_multi")) in test_link_api_pattern() 262 skel->links.test_fentry = bpf_program__attach_tracing_multi(skel->progs.test_fentry, in test_link_api_ids() 264 if (!ASSERT_OK_PTR(skel->links.test_fentry, "bpf_program__attach_tracing_multi")) in test_link_api_ids() [all …]
|
| H A 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 …]
|
| H A D | map_kptr_race.c | 60 watcher->links.map_put = bpf_program__attach(watcher->progs.map_put); in test_htab_leak() 61 if (!ASSERT_OK_PTR(watcher->links.map_put, "attach fentry")) in test_htab_leak() 63 watcher->links.htab_map_free = bpf_program__attach(watcher->progs.htab_map_free); in test_htab_leak() 64 if (!ASSERT_OK_PTR(watcher->links.htab_map_free, "attach fexit")) in test_htab_leak() 121 watcher->links.map_put = bpf_program__attach(watcher->progs.map_put); in test_percpu_htab_leak() 122 if (!ASSERT_OK_PTR(watcher->links.map_put, "attach fentry")) in test_percpu_htab_leak() 124 watcher->links.htab_map_free = bpf_program__attach(watcher->progs.htab_map_free); in test_percpu_htab_leak() 125 if (!ASSERT_OK_PTR(watcher->links.htab_map_free, "attach fexit")) in test_percpu_htab_leak() 182 watcher->links.map_put = bpf_program__attach(watcher->progs.map_put); in test_sk_ls_leak() 183 if (!ASSERT_OK_PTR(watcher->links.map_put, "attach fentry")) in test_sk_ls_leak() [all …]
|
| /linux/drivers/interconnect/qcom/ |
| H A D | msm8939.c | 124 .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_mdp0_links, 283 .links = mas_mdp1_links, [all …]
|
| H A D | msm8909.c | 115 .links = mas_apps_proc_links, 135 .links = mas_oxili_links, 153 .links = mas_snoc_bimc_0_links, 172 .links = mas_snoc_bimc_1_links, 192 .links = mas_tcu_0_links, 212 .links = mas_tcu_1_links, 226 .links = mas_audio_links, 240 .links = mas_spdm_links, 254 .links = mas_dehr_links, 268 .links = mas_qpic_links, [all …]
|
| H A D | msm8976.c | 117 .links = mas_apps_proc_links, 137 .links = mas_smmnoc_bimc_links, 157 .links = mas_snoc_bimc_links, 177 .links = mas_tcu_0_links, 191 .links = mas_usb_hs2_links, 205 .links = mas_blsp_1_links, 219 .links = mas_usb_hs1_links, 233 .links = mas_blsp_2_links, 252 .links = mas_crypto_links, 270 .links = mas_sdcc_1_links, [all …]
|
| H A D | qcs404.c | 110 .links = mas_apps_proc_links, 130 .links = mas_oxili_links, 150 .links = mas_mdp_links, 168 .links = mas_snoc_bimc_1_links, 188 .links = mas_tcu_0_links, 204 .links = mas_spdm_links, 218 .links = mas_blsp_1_links, 232 .links = mas_blsp_2_links, 246 .links = mas_xi_usb_hs1_links, 266 .links = mas_crypto_links, [all …]
|
| H A D | msm8937.c | 113 .links = mas_apps_proc_links, 133 .links = mas_oxili_links, 153 .links = mas_snoc_bimc_0_links, 173 .links = mas_snoc_bimc_2_links, 191 .links = mas_snoc_bimc_1_links, 211 .links = mas_tcu_0_links, 227 .links = mas_spdm_links, 241 .links = mas_blsp_1_links, 255 .links = mas_blsp_2_links, 274 .links = mas_usb_hs1_links, [all …]
|
| H A D | msm8953.c | 108 .links = mas_apps_proc_links, 126 .links = mas_oxili_links, 144 .links = mas_snoc_bimc_0_links, 162 .links = mas_snoc_bimc_2_links, 176 .links = mas_snoc_bimc_1_links, 194 .links = mas_tcu_0_links, 216 .links = slv_bimc_snoc_links, 233 .links = mas_spdm_links, 247 .links = mas_blsp_1_links, 261 .links = mas_blsp_2_links, [all …]
|
| H A D | msm8996.c | 51 .links = mas_a0noc_common_links 66 .links = mas_a0noc_common_links 81 .links = mas_a0noc_common_links 97 .links = mas_a1noc_common_links 112 .links = mas_a1noc_common_links 127 .links = mas_a1noc_common_links 146 .links = mas_a2noc_common_links 161 .links = mas_a2noc_common_links 176 .links = mas_a2noc_common_links 197 .links = mas_apps_proc_links [all …]
|
| H A D | shikra.c | 149 .links = qup0_core_master_links, 210 .links = qnm_snoc_cnoc_links, 271 .links = xm_dap_links, 286 .links = llcc_mc_links, 307 .links = qnm_gpu_links, 328 .links = qnm_mnoc_hf_links, 348 .links = qnm_pcie_links, 369 .links = qnm_snoc_sf_links, 390 .links = xm_apps_links, 410 .links = xm_tcu_links, [all …]
|
| /linux/net/wireless/ |
| H A D | sme.c | 277 cr.links[0].bssid = bssid; in cfg80211_conn_work() 380 cr.links[0].bssid = mgmt->bssid; in cfg80211_sme_rx_auth() 472 if (!wdev->links[link].client.current_bss) in cfg80211_wdev_release_bsses() 474 cfg80211_unhold_bss(wdev->links[link].client.current_bss); in cfg80211_wdev_release_bsses() 476 &wdev->links[link].client.current_bss->pub); in cfg80211_wdev_release_bsses() 477 wdev->links[link].client.current_bss = NULL; in cfg80211_wdev_release_bsses() 486 if (!wdev->links[link].client.current_bss || in cfg80211_wdev_release_link_bsses() 489 cfg80211_unhold_bss(wdev->links[link].client.current_bss); in cfg80211_wdev_release_link_bsses() 491 &wdev->links[link].client.current_bss->pub); in cfg80211_wdev_release_link_bsses() 492 wdev->links[link].client.current_bss = NULL; in cfg80211_wdev_release_link_bsses() [all …]
|
| /linux/samples/bpf/ |
| H A 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 181 links = calloc(nr_cpus, sizeof(struct bpf_link *)); in main() 182 if (!links) { in main() 219 if (sampling_start(freq, prog, links) != 0) in main() [all …]
|
| H A D | syscall_tp_user.c | 51 struct bpf_link **links = NULL; in test() local 64 if (!links) { in test() 70 links = calloc(nr_progs * nr_tests, sizeof(struct bpf_link *)); in test() 72 if (!links) in test() 92 links[j] = bpf_program__attach(prog); in test() 93 if (libbpf_get_error(links[j])) { in test() 95 links[j] = NULL; in test() 123 if (links) { in test() 125 bpf_link__destroy(links[j]); in test() 127 free(links); in test()
|
| /linux/tools/perf/util/ |
| H A D | bpf_ftrace.c | 111 skel->links.func_begin = bpf_program__attach_kprobe(skel->progs.func_begin, in perf_ftrace__latency_prepare_bpf() 113 if (IS_ERR(skel->links.func_begin)) { in perf_ftrace__latency_prepare_bpf() 115 err = PTR_ERR(skel->links.func_begin); in perf_ftrace__latency_prepare_bpf() 119 skel->links.func_end = bpf_program__attach_kprobe(skel->progs.func_end, in perf_ftrace__latency_prepare_bpf() 121 if (IS_ERR(skel->links.func_end)) { in perf_ftrace__latency_prepare_bpf() 123 err = PTR_ERR(skel->links.func_end); in perf_ftrace__latency_prepare_bpf() 131 skel->links.event_begin = bpf_program__attach_raw_tracepoint(skel->progs.event_begin, in perf_ftrace__latency_prepare_bpf() 133 if (IS_ERR(skel->links.event_begin)) { in perf_ftrace__latency_prepare_bpf() 135 err = PTR_ERR(skel->links.event_begin); in perf_ftrace__latency_prepare_bpf() 141 skel->links in perf_ftrace__latency_prepare_bpf() [all...] |