/linux/sound/soc/amd/acp/ |
A D | acp-mach-common.c | 432 if (!links) in acp_sofdsp_dai_links_create() 438 links[i].cpus = sof_sp; in acp_sofdsp_dai_links_create() 445 links[i].no_pcm = 1; in acp_sofdsp_dai_links_create() 468 links[i].id = AMP_BE_ID; in acp_sofdsp_dai_links_create() 469 links[i].cpus = sof_sp; in acp_sofdsp_dai_links_create() 475 links[i].no_pcm = 1; in acp_sofdsp_dai_links_create() 509 links[i].no_pcm = 1; in acp_sofdsp_dai_links_create() 512 card->dai_link = links; in acp_sofdsp_dai_links_create() 538 links[i].cpus = i2s_sp; in acp_legacy_dai_links_create() 567 links[i].cpus = i2s_sp; in acp_legacy_dai_links_create() [all …]
|
/linux/sound/soc/intel/boards/ |
A D | sof_cs42l42.c | 294 if (!links[*id].name) { in create_spk_amp_dai_links() 299 links[*id].id = *id; in create_spk_amp_dai_links() 314 links[*id].no_pcm = 1; in create_spk_amp_dai_links() 339 if (!links[*id].name) in create_hp_codec_dai_links() 342 links[*id].id = *id; in create_hp_codec_dai_links() 352 links[*id].no_pcm = 1; in create_hp_codec_dai_links() 395 links[*id].id = *id; in create_dmic_dai_links() 432 if (!links[*id].name) in create_hdmi_dai_links() 435 links[*id].id = *id; in create_hdmi_dai_links() 484 if (!links || !cpus) in sof_card_dai_links_create() [all …]
|
A D | sof_rt5682.c | 637 if (!links || !cpus) in sof_card_dai_links_create() 643 if (!links[id].name) in sof_card_dai_links_create() 646 links[id].id = id; in sof_card_dai_links_create() 661 links[id].no_pcm = 1; in sof_card_dai_links_create() 706 links[id].id = id; in sof_card_dai_links_create() 729 if (!links[id].name) in sof_card_dai_links_create() 732 links[id].id = id; in sof_card_dai_links_create() 762 if (!links[id].name) in sof_card_dai_links_create() 765 links[id].id = id; in sof_card_dai_links_create() 818 links[id].id = id; in sof_card_dai_links_create() [all …]
|
A D | sof_pcm512x.c | 233 if (!links || !cpus) 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() 255 links[id].no_pcm = 1; in sof_card_dai_links_create() 257 links[id].num_cpus = 1; in sof_card_dai_links_create() 290 links[id].id = id; in sof_card_dai_links_create() 298 links[id].no_pcm = 1; in sof_card_dai_links_create() 313 if (!links[id].name) in sof_card_dai_links_create() 316 links[id].id = id; in sof_card_dai_links_create() 346 links[id].no_pcm = 1; in sof_card_dai_links_create() [all …]
|
A D | sof_es8336.c | 337 if (!links || !cpus) in sof_card_dai_links_create() 343 if (!links[id].name) in sof_card_dai_links_create() 346 links[id].id = id; in sof_card_dai_links_create() 357 links[id].no_pcm = 1; in sof_card_dai_links_create() 359 links[id].num_cpus = 1; in sof_card_dai_links_create() 389 links[id].id = id; in sof_card_dai_links_create() 390 links[id].num_cpus = 1; in sof_card_dai_links_create() 397 links[id].no_pcm = 1; in sof_card_dai_links_create() 414 if (!links[id].name) in sof_card_dai_links_create() 439 links[id].no_pcm = 1; in sof_card_dai_links_create() [all …]
|
/linux/sound/soc/sof/ |
A D | nocodec.c | 30 if (!drv || !links || !card) 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() 50 links[i].num_cpus = 1; in sof_nocodec_bes_setup() 51 links[i].num_codecs = 1; in sof_nocodec_bes_setup() 54 links[i].id = i; in sof_nocodec_bes_setup() 55 links[i].no_pcm = 1; in sof_nocodec_bes_setup() 68 card->dai_link = links; in sof_nocodec_bes_setup() [all …]
|
/linux/drivers/interconnect/qcom/ |
A D | sc7280.c | 24 .links = { SC7280_SLAVE_A1NOC_SNOC }, 33 .links = { SC7280_SLAVE_A1NOC_SNOC }, 42 .links = { SC7280_SLAVE_A1NOC_SNOC }, 60 .links = { SC7280_SLAVE_A1NOC_SNOC }, 69 .links = { SC7280_SLAVE_A1NOC_SNOC }, 78 .links = { SC7280_SLAVE_A1NOC_SNOC }, 87 .links = { SC7280_SLAVE_A1NOC_SNOC }, 365 .links = { SC7280_SLAVE_LLCC }, 392 .links = { SC7280_SLAVE_LLCC }, 422 .links = { SC7280_SLAVE_EBI1 }, [all …]
|
A D | qcs404.c | 122 .links = mas_oxili_links, 137 .links = mas_mdp_links, 166 .links = mas_tcu_0_links, 180 .links = mas_spdm_links, 194 .links = mas_blsp_1_links, 208 .links = mas_blsp_2_links, 293 .links = mas_qpic_links, 369 .links = mas_emac_links, 384 .links = mas_pcie_links, 399 .links = mas_usb3_links, [all …]
|
A D | msm8916.c | 160 .links = mas_apss_links, 174 .links = mas_audio_links, 202 .links = mas_dehr_links, 223 .links = mas_gfx_links, 243 .links = mas_jpeg_links, 263 .links = mas_mdp_links, 371 .links = mas_spdm_links, 392 .links = mas_tcu0_links, 413 .links = mas_tcu1_links, 447 .links = mas_vfe_links, [all …]
|
A D | msm8939.c | 163 .links = mas_apss_links, 177 .links = mas_audio_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, 306 .links = mas_cpp_links, 414 .links = mas_spdm_links, 435 .links = mas_tcu0_links, [all …]
|
A D | sdm660.c | 162 .links = mas_ipa_links, 192 .links = mas_sdcc_1_links, 206 .links = mas_sdcc_2_links, 220 .links = mas_blsp_1_links, 253 .links = mas_ufs_links, 291 .links = mas_usb3_links, 350 .links = mas_oxili_links, 406 .links = mas_pimem_links, 582 .links = mas_cpp_links, 601 .links = mas_jpeg_links, [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | cgroup_link.c | 68 if (!ASSERT_OK_PTR(links[i], "cg_attach")) in serial_test_cgroup_link() 109 bpf_link__destroy(links[last_cg]); in serial_test_cgroup_link() 110 links[last_cg] = NULL; in serial_test_cgroup_link() 129 bpf_link__destroy(links[last_cg]); in serial_test_cgroup_link() 130 links[last_cg] = NULL; in serial_test_cgroup_link() 191 err = bpf_link_update(bpf_link__fd(links[0]), in serial_test_cgroup_link() 201 err = bpf_link_update(bpf_link__fd(links[0]), in serial_test_cgroup_link() 221 prog_id = link_info_prog_id(links[0], &info); in serial_test_cgroup_link() 225 err = bpf_link__detach(links[0]); in serial_test_cgroup_link() 230 prog_id = link_info_prog_id(links[0], &info); in serial_test_cgroup_link() [all …]
|
A D | get_stackid_cannot_attach.c | 49 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 51 ASSERT_ERR_PTR(skel->links.oncpu, "attach_perf_event_no_callchain"); in test_get_stackid_cannot_attach() 65 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 67 ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event_callchain"); in test_get_stackid_cannot_attach() 81 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 83 ASSERT_ERR_PTR(skel->links.oncpu, "attach_perf_event_exclude_callchain_kernel"); in test_get_stackid_cannot_attach()
|
A D | socket_cookie.c | 33 skel->links.set_cookie = bpf_program__attach_cgroup( in test_socket_cookie() 35 if (!ASSERT_OK_PTR(skel->links.set_cookie, "prog_attach")) in test_socket_cookie() 38 skel->links.update_cookie_sockops = bpf_program__attach_cgroup( in test_socket_cookie() 40 if (!ASSERT_OK_PTR(skel->links.update_cookie_sockops, "prog_attach")) in test_socket_cookie() 43 skel->links.update_cookie_tracing = bpf_program__attach( in test_socket_cookie() 45 if (!ASSERT_OK_PTR(skel->links.update_cookie_tracing, "prog_attach")) in test_socket_cookie()
|
/linux/samples/bpf/ |
A D | sampleip_user.c | 37 struct bpf_link *links[]) in sampling_start() argument 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() 219 sampling_end(links); in main() [all …]
|
A D | tracex4_user.c | 51 struct bpf_link *links[2]; in main() local 77 links[j] = bpf_program__attach(prog); in main() 78 if (libbpf_get_error(links[j])) { in main() 80 links[j] = NULL; in main() 93 bpf_link__destroy(links[j]); in main()
|
A D | spintest_user.c | 15 struct bpf_link *links[20]; in main() local 54 links[j] = bpf_program__attach(prog); in main() 55 if (libbpf_get_error(links[j])) { in main() 57 links[j] = NULL; in main() 89 bpf_link__destroy(links[j]); in main()
|
A D | syscall_tp_user.c | 49 struct bpf_link *links[num_progs * 4]; in test() local 77 links[j] = bpf_program__attach(prog); in test() 78 if (libbpf_get_error(links[j])) { in test() 80 links[j] = NULL; in test() 109 bpf_link__destroy(links[j]); in test()
|
/linux/drivers/scsi/aic7xxx/aicasm/ |
A D | aicasm_symbol.c | 216 curnode = SLIST_NEXT(curnode, links); in symlist_search() 268 if (SLIST_NEXT(curnode, links) == NULL) { in symlist_add() 270 links); in symlist_add() 285 links); in symlist_add() 289 curnode = SLIST_NEXT(curnode, links); in symlist_add() 303 node2 = SLIST_NEXT(node1, links); in symlist_free() 318 SLIST_REMOVE_HEAD(symlist_src2, links); in symlist_merge() 580 SLIST_REMOVE_HEAD(&masks, links); in symtable_dump() 593 SLIST_REMOVE_HEAD(&aliases, links); in symtable_dump() 608 SLIST_REMOVE_HEAD(®isters, links); in symtable_dump() [all …]
|
A D | aicasm.c | 67 STAILQ_ENTRY(patch) links; 222 links)) in main() 243 links); in main() 399 cur_node = SLIST_NEXT(cur_node,links)) { in output_code() 427 cur_patch = STAILQ_NEXT(cur_patch,links)) { in output_code() 445 cs = TAILQ_NEXT(cs, links)) { in output_code() 515 STAILQ_INSERT_TAIL(&patches, new_patch, links); in emit_patch() 547 cur_func = SLIST_NEXT(cur_func, links)) in output_listing() 664 cur_patch = STAILQ_NEXT(cur_patch, links); in check_patch() 670 cur_patch = STAILQ_NEXT(cur_patch, links); in check_patch() [all …]
|
/linux/sound/soc/intel/common/ |
A D | soc-acpi-intel-tgl-match.c | 406 .links = sdw_mockup_headset_2amps_mic, 413 .links = sdw_mockup_headset_1amp_mic, 420 .links = sdw_mockup_mic_headset_1amp, 433 .links = tgl_3_in_1_default, 444 .links = tgl_3_in_1_mono_amp, 450 .links = tgl_3_in_1_sdca, 462 .links = tgl_3_in_1_sdca_mono, 469 .links = tgl_hp, 475 .links = tgl_rvp, 481 .links = tgl_chromebook_base, [all …]
|
A D | soc-acpi-intel-adl-match.c | 410 .links = adl_default, 416 .links = adl_sdca_default, 422 .links = adl_sdca_3_in_1, 428 .links = adl_sdw_rt711_link2_rt1316_link01_rt714_link3, 435 .links = adl_sdw_rt1316_link2_rt714_link3, 442 .links = adl_sdw_rt1316_link12_rt714_link0, 449 .links = adl_sdw_rt1316_link2_rt714_link0, 455 .links = adl_rvp, 461 .links = adl_chromebook_base,
|
/linux/drivers/media/mc/ |
A D | mc-device.c | 153 struct media_links_enum *links = arg; in media_device_enum_links() local 160 if (links->pads) { 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() 195 memset(links->reserved, 0, sizeof(links->reserved)); in media_device_enum_links() 496 struct media_links_enum links; in media_device_enum_links32() local 500 memset(&links, 0, sizeof(links)); in media_device_enum_links32() 507 links.pads = compat_ptr(pads_ptr); in media_device_enum_links32() 508 links.links = compat_ptr(links_ptr); in media_device_enum_links32() 632 INIT_LIST_HEAD(&entity->links); in media_device_register_entity() [all …]
|
/linux/Documentation/userspace-api/media/mediactl/ |
A D | media-ioc-enum-links.rst | 13 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/drivers/greybus/ |
A D | manifest.c | 38 struct list_head links; member 47 list_del(&descriptor->links); in release_manifest_descriptor() 56 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in release_manifest_descriptors() 65 list_for_each_entry_safe(desc, tmp, head, links) { in release_cport_descriptors() 167 list_add_tail(&descriptor->links, &intf->manifest_descs); in identify_descriptor() 196 list_for_each_entry(descriptor, &intf->manifest_descs, links) { in gb_string_get() 240 list_for_each_entry_safe(desc, next, &intf->manifest_descs, links) { in gb_manifest_parse_cports() 263 list_for_each_entry(tmp, &list, links) { in gb_manifest_parse_cports() 271 list_move_tail(&desc->links, &list); in gb_manifest_parse_cports() 286 list_for_each_entry_safe(desc, next, &list, links) { in gb_manifest_parse_cports() [all …]
|