Home
last modified time | relevance | path

Searched full:links (Results 1 – 25 of 1137) sorted by relevance

12345678910>>...46

/Linux-v6.1/sound/soc/amd/acp/
Dacp-mach-common.c575 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-v6.1/sound/soc/intel/boards/
Dsof_ssp_amp.c210 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 …]
Dsof_cs42l42.c307 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 …]
Dsof_nau8825.c355 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local
358 links = devm_kcalloc(dev, sof_audio_card_nau8825.num_links, in sof_card_dai_links_create()
362 if (!links || !cpus) in sof_card_dai_links_create()
366 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
368 if (!links[id].name) in sof_card_dai_links_create()
371 links[id].id = id; in sof_card_dai_links_create()
372 links[id].codecs = nau8825_component; in sof_card_dai_links_create()
373 links[id].num_codecs = ARRAY_SIZE(nau8825_component); in sof_card_dai_links_create()
374 links[id].platforms = platform_component; in sof_card_dai_links_create()
375 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
[all …]
Dsof_pcm512x.c226 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 …]
Dsof_rt5682.c610 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 …]
Dsof_es8336.c437 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-v6.1/sound/soc/sof/
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 = &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-v6.1/tools/testing/selftests/bpf/prog_tests/
Dattach_probe.c80 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 …]
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 …]
/Linux-v6.1/net/mac80211/
Dlink.c51 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()
148 /* in an AP all links are always active */ in ieee80211_set_vif_links_bitmaps()
149 sdata->vif.active_links = links; in ieee80211_set_vif_links_bitmaps()
[all …]
/Linux-v6.1/drivers/interconnect/qcom/
Dsc8280xp.c24 .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 …]
Dsc8180x.c24 .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 …]
Dsm8450.c25 .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 …]
Dqcs404.c107 .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 …]
Dsc7280.c24 .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 …]
Dmsm8916.c122 .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 …]
Dmsm8939.c127 .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 …]
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-v6.1/net/wireless/
Dsme.c278 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-v6.1/Documentation/userspace-api/media/mediactl/
Dmedia-ioc-enum-links.rst13 MEDIA_IOC_ENUM_LINKS - Enumerate all pads and links for a given entity
34 To enumerate pads and/or links for a given entity, applications set the
39 the ``pads`` and ``links`` fields. They then call the
47 If the ``links`` field is not NULL, the driver fills the ``links`` array
48 with information about the entity's outbound links. The array must have
49 enough room to store all the entity's outbound links. The number of
50 outbound links can be retrieved with :ref:`MEDIA_IOC_ENUM_ENTITIES`.
52 Only forward links that originate at one of the entity's source pads are
74 - \*\ ``links``
75 - Pointer to a links array allocated by the application. Ignored if
/Linux-v6.1/samples/bpf/
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
174 links = calloc(nr_cpus, sizeof(struct bpf_link *)); in main()
175 if (!links) { in main()
176 fprintf(stderr, "ERROR: malloc of links\n"); in main()
[all …]
/Linux-v6.1/Documentation/driver-api/
Ddevice_link.rst4 Device links
25 Device links allow representation of such dependencies in the driver core.
47 The earliest point in time when device links can be added is after
77 to deletion. Device links managed by the driver core are deleted automatically
110 device links (i.e. when ``DL_FLAG_STATELESS`` is not specified on link addition)
116 Moreover, managed device links cannot be deleted directly. They are deleted
119 However, stateless device links (i.e. device links with ``DL_FLAG_STATELESS``
150 scope of device links.
177 device links from the hotplug ports (consumers) to the NHI device
218 becomes a directed acyclic graph once device links are added.
[all …]
/Linux-v6.1/sound/soc/intel/common/
Dsoc-acpi-intel-tgl-match.c422 .links = sdw_mockup_headset_2amps_mic,
428 .links = sdw_mockup_headset_1amp_mic,
434 .links = sdw_mockup_mic_headset_1amp,
440 .links = tgl_sdw_rt711_link1_rt1308_link2_rt715_link0,
445 .link_mask = 0xF, /* 4 active links required */
446 .links = tgl_3_in_1_default,
452 * link_mask should be 0xB, but all links are enabled by BIOS.
457 .links = tgl_3_in_1_mono_amp,
462 .link_mask = 0xF, /* 4 active links required */
463 .links = tgl_3_in_1_sdca,
[all …]
/Linux-v6.1/drivers/media/mc/
Dmc-device.c117 entd->links = ent->num_links - ent->num_backlinks; in media_device_enum_entities()
153 struct media_links_enum *links = arg; in media_device_enum_links() local
156 entity = find_entity(mdev, links->entity); in media_device_enum_links()
160 if (links->pads) { in media_device_enum_links()
168 if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) in media_device_enum_links()
173 if (links->links) { in media_device_enum_links()
175 struct media_link_desc __user *ulink_desc = links->links; in media_device_enum_links()
177 list_for_each_entry(link, &entity->links, list) { in media_device_enum_links()
195 memset(links->reserved, 0, sizeof(links->reserved)); in media_device_enum_links()
338 /* Get links and number of links */ in media_device_get_topology()
[all …]

12345678910>>...46