Home
last modified time | relevance | path

Searched refs:links (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/linux/sound/soc/amd/acp/
H A Dacp-mach-common.c1401 struct snd_soc_dai_link *links; in acp_sofdsp_dai_links_create() local
1415 links = devm_kcalloc(dev, num_links, sizeof(struct snd_soc_dai_link), GFP_KERNEL); in acp_sofdsp_dai_links_create()
1416 if (!links) in acp_sofdsp_dai_links_create()
1420 links[i].name = "acp-headset-codec"; in acp_sofdsp_dai_links_create()
1421 links[i].id = HEADSET_BE_ID; in acp_sofdsp_dai_links_create()
1422 links[i].cpus = sof_sp; in acp_sofdsp_dai_links_create()
1423 links[i].num_cpus = ARRAY_SIZE(sof_sp); in acp_sofdsp_dai_links_create()
1424 links[i].platforms = sof_component; in acp_sofdsp_dai_links_create()
1425 links[i].num_platforms = ARRAY_SIZE(sof_component); in acp_sofdsp_dai_links_create()
1426 links[i].nonatomic = true; in acp_sofdsp_dai_links_create()
[all …]
H A Damd-acp70-acpi-match.c625 .links = acp70_rt1320_l0_rt722_l1,
630 .links = acp70_rt722_l0_rt1320_l1,
635 .links = acp70_4_in_1_sdca,
640 .links = acp70_cs42l43_l0u0_cs35l56x4_l1u3210,
645 .links = acp70_cs42l45_l1u0_cs35l63x4_l0u0246,
650 .links = acp70_cs42l45_l0u0_cs35l63x2_l1u01,
655 .links = acp70_cs42l45_l0u0_cs35l63x2_l1u13,
660 .links = acp70_cs42l45_l1u0_cs35l63x2_l0u01,
665 .links = acp70_cs42l43_l1u0_cs35l56x4_l1u0123,
670 .links = acp70_cs35l56x4_l1u3210,
[all …]
H A Damd-acp63-acpi-match.c471 .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 Dsof_pcm512x.c227 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local
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[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
[all …]
H A Dsof_es8336.c441 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[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
[all …]
/linux/sound/soc/sof/
H A Dnocodec.c24 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 = &snd_soc_dummy_dlc; in sof_nocodec_bes_setup()
48 links[i].platforms = &dlc[1]; 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/drivers/interconnect/mediatek/
H A Dmt8196.c28 .links = { SLAVE_DDR_EMI }
36 .links = { SLAVE_DDR_EMI }
44 .links = { SLAVE_DDR_EMI }
52 .links = { SLAVE_DDR_EMI }
60 .links = { SLAVE_DDR_EMI }
68 .links = { SLAVE_DDR_EMI }
76 .links = { SLAVE_DDR_EMI }
84 .links = { SLAVE_DDR_EMI }
92 .links = { MASTER_MMSYS }
100 .links = { MASTER_MMSYS }
[all …]
H A Dmt8195.c29 .links = { SLAVE_DDR_EMI }
37 .links = { SLAVE_DDR_EMI }
45 .links = { SLAVE_DDR_EMI }
53 .links = { MASTER_MMSYS }
61 .links = { MASTER_MMSYS }
69 .links = { MASTER_MMSYS }
77 .links = { MASTER_MMSYS }
85 .links = { MASTER_MMSYS }
93 .links = { MASTER_MMSYS }
101 .links = { MASTER_MMSYS }
[all …]
H A Dmt8183.c29 .links = { SLAVE_DDR_EMI }
37 .links = { SLAVE_DDR_EMI }
45 .links = { SLAVE_DDR_EMI }
53 .links = { MASTER_MMSYS }
61 .links = { MASTER_MMSYS }
69 .links = { MASTER_MMSYS }
77 .links = { MASTER_MMSYS }
85 .links = { MASTER_MMSYS }
93 .links = { MASTER_MMSYS }
101 .links = { MASTER_MMSYS }
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dattach_probe.c63 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()
157 skel->links.handle_uprobe = uprobe_link; in test_attach_uprobe_long_event_name()
166 skel->links.handle_uretprobe = uretprobe_link; in test_attach_uprobe_long_event_name()
191 skel->links.handle_kprobe = kprobe_link; in test_attach_kprobe_long_event_name()
199 skel->links.handle_kretprobe = kretprobe_link; in test_attach_kprobe_long_event_name()
[all …]
H A Dcgroup_link.c40 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 Dmap_kptr_race.c60 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/md/dm-vdo/
H A Dthread-registry.c20 INIT_LIST_HEAD(&registry->links); in vdo_initialize_thread_registry()
31 INIT_LIST_HEAD(&new_thread->links); in vdo_register_thread()
36 list_for_each_entry(thread, &registry->links, links) { in vdo_register_thread()
39 list_del_rcu(&thread->links); in vdo_register_thread()
44 list_add_tail_rcu(&new_thread->links, &registry->links); in vdo_register_thread()
51 INIT_LIST_HEAD(&thread->links); in vdo_register_thread()
61 list_for_each_entry(thread, &registry->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, &registry->links, links) { in vdo_lookup_thread()
/linux/drivers/interconnect/qcom/
H A Dmsm8916.c120 .links = bimc_snoc_mas_links,
137 .links = bimc_snoc_slv_links,
158 .links = mas_apss_links,
172 .links = mas_audio_links,
186 .links = mas_blsp_1_links,
200 .links = mas_dehr_links,
221 .links = mas_gfx_links,
241 .links = mas_jpeg_links,
261 .links = mas_mdp_links,
275 .links = mas_pcnoc_crypto_0_links,
[all …]
H A Dmsm8939.c125 .links = bimc_snoc_mas_links,
140 .links = bimc_snoc_slv_links,
161 .links = mas_apss_links,
175 .links = mas_audio_links,
189 .links = mas_blsp_1_links,
203 .links = mas_dehr_links,
224 .links = mas_gfx_links,
244 .links = mas_jpeg_links,
264 .links = mas_mdp0_links,
284 .links = mas_mdp1_links,
[all …]
H A Dmsm8909.c116 .links = mas_apps_proc_links,
136 .links = mas_oxili_links,
154 .links = mas_snoc_bimc_0_links,
173 .links = mas_snoc_bimc_1_links,
193 .links = mas_tcu_0_links,
213 .links = mas_tcu_1_links,
227 .links = mas_audio_links,
241 .links = mas_spdm_links,
255 .links = mas_dehr_links,
269 .links = mas_qpic_links,
[all …]
H A Dmsm8976.c118 .links = mas_apps_proc_links,
138 .links = mas_smmnoc_bimc_links,
158 .links = mas_snoc_bimc_links,
178 .links = mas_tcu_0_links,
192 .links = mas_usb_hs2_links,
206 .links = mas_blsp_1_links,
220 .links = mas_usb_hs1_links,
234 .links = mas_blsp_2_links,
253 .links = mas_crypto_links,
271 .links = mas_sdcc_1_links,
[all …]
H A Dqcs404.c111 .links = mas_apps_proc_links,
131 .links = mas_oxili_links,
151 .links = mas_mdp_links,
169 .links = mas_snoc_bimc_1_links,
189 .links = mas_tcu_0_links,
205 .links = mas_spdm_links,
219 .links = mas_blsp_1_links,
233 .links = mas_blsp_2_links,
247 .links = mas_xi_usb_hs1_links,
267 .links = mas_crypto_links,
[all …]
H A Dmsm8937.c114 .links = mas_apps_proc_links,
134 .links = mas_oxili_links,
154 .links = mas_snoc_bimc_0_links,
174 .links = mas_snoc_bimc_2_links,
192 .links = mas_snoc_bimc_1_links,
212 .links = mas_tcu_0_links,
228 .links = mas_spdm_links,
242 .links = mas_blsp_1_links,
256 .links = mas_blsp_2_links,
275 .links = mas_usb_hs1_links,
[all …]
H A Dmsm8953.c109 .links = mas_apps_proc_links,
127 .links = mas_oxili_links,
145 .links = mas_snoc_bimc_0_links,
163 .links = mas_snoc_bimc_2_links,
177 .links = mas_snoc_bimc_1_links,
195 .links = mas_tcu_0_links,
217 .links = slv_bimc_snoc_links,
234 .links = mas_spdm_links,
248 .links = mas_blsp_1_links,
262 .links = mas_blsp_2_links,
[all …]
H A Dmsm8996.c52 .links = mas_a0noc_common_links
67 .links = mas_a0noc_common_links
82 .links = mas_a0noc_common_links
98 .links = mas_a1noc_common_links
113 .links = mas_a1noc_common_links
128 .links = mas_a1noc_common_links
147 .links = mas_a2noc_common_links
162 .links = mas_a2noc_common_links
177 .links = mas_a2noc_common_links
198 .links = mas_apps_proc_links
[all …]
/linux/net/wireless/
H A Dsme.c277 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 …]
H A Dmlme.c44 for (link_id = 0; link_id < ARRAY_SIZE(data->links); link_id++) { in cfg80211_rx_assoc_resp()
45 cr.links[link_id].status = data->links[link_id].status; in cfg80211_rx_assoc_resp()
46 cr.links[link_id].bss = data->links[link_id].bss; in cfg80211_rx_assoc_resp()
48 WARN_ON_ONCE(cr.links[link_id].status != WLAN_STATUS_SUCCESS && in cfg80211_rx_assoc_resp()
49 (!cr.ap_mld_addr || !cr.links[link_id].bss)); in cfg80211_rx_assoc_resp()
51 if (!cr.links[link_id].bss) in cfg80211_rx_assoc_resp()
53 cr.links[link_id].bssid = data->links[link_id].bss->bssid; in cfg80211_rx_assoc_resp()
54 cr.links[link_id].addr = data->links[link_id].addr; in cfg80211_rx_assoc_resp()
57 !is_valid_ether_addr(cr.links[link_id].addr)); in cfg80211_rx_assoc_resp()
59 BUG_ON(!cr.links[link_id].bss->channel); in cfg80211_rx_assoc_resp()
[all …]
/linux/samples/bpf/
H A Dsampleip_user.c37 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 Dsyscall_tp_user.c51 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()

12345678910>>...23