| /OK3568_Linux_fs/kernel/sound/soc/intel/boards/ |
| H A 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 …]
|
| H A D | sof_rt5682.c | 550 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 553 links = devm_kzalloc(dev, sizeof(struct snd_soc_dai_link) * in sof_card_dai_links_create() 557 if (!links || !cpus) in sof_card_dai_links_create() 561 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 563 if (!links[id].name) in sof_card_dai_links_create() 566 links[id].id = id; in sof_card_dai_links_create() 567 links[id].codecs = rt5682_component; in sof_card_dai_links_create() 568 links[id].num_codecs = ARRAY_SIZE(rt5682_component); in sof_card_dai_links_create() 569 links[id].platforms = platform_component; in sof_card_dai_links_create() 570 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/ |
| H A D | nocodec.c | 22 struct snd_soc_dai_link *links, in sof_nocodec_bes_setup() argument 28 if (!ops || !links || !card) in sof_nocodec_bes_setup() 37 links[i].name = devm_kasprintf(dev, GFP_KERNEL, in sof_nocodec_bes_setup() 39 if (!links[i].name) in sof_nocodec_bes_setup() 42 links[i].cpus = &dlc[0]; in sof_nocodec_bes_setup() 43 links[i].codecs = &dlc[1]; in sof_nocodec_bes_setup() 44 links[i].platforms = &dlc[2]; in sof_nocodec_bes_setup() 46 links[i].num_cpus = 1; in sof_nocodec_bes_setup() 47 links[i].num_codecs = 1; in sof_nocodec_bes_setup() 48 links[i].num_platforms = 1; in sof_nocodec_bes_setup() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | cgroup_link.c | 40 struct bpf_link *links[ARRAY_SIZE(cgs)] = {}, *tmp_link; in test_cgroup_link() local 66 links[i] = bpf_program__attach_cgroup(skel->progs.egress, in test_cgroup_link() 68 if (CHECK(IS_ERR(links[i]), "cg_attach", "i: %d, err: %ld\n", in test_cgroup_link() 69 i, PTR_ERR(links[i]))) in test_cgroup_link() 110 bpf_link__destroy(links[last_cg]); in test_cgroup_link() 111 links[last_cg] = NULL; in test_cgroup_link() 122 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in test_cgroup_link() 124 if (CHECK(IS_ERR(links[last_cg]), "cg_attach", "err: %ld\n", in test_cgroup_link() 125 PTR_ERR(links[last_cg]))) in test_cgroup_link() 131 bpf_link__destroy(links[last_cg]); in test_cgroup_link() [all …]
|
| H 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 CHECK(!IS_ERR(skel->links.oncpu), "attach_perf_event_no_callchain", in test_get_stackid_cannot_attach() 66 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 68 CHECK(IS_ERR(skel->links.oncpu), "attach_perf_event_callchain", in test_get_stackid_cannot_attach() 69 "err: %ld\n", PTR_ERR(skel->links.oncpu)); in test_get_stackid_cannot_attach() 83 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 85 CHECK(!IS_ERR(skel->links.oncpu), "attach_perf_event_exclude_callchain_kernel", in test_get_stackid_cannot_attach()
|
| H A D | udp_limit.c | 24 skel->links.sock = bpf_program__attach_cgroup(skel->progs.sock, cgroup_fd); in test_udp_limit() 25 skel->links.sock_release = bpf_program__attach_cgroup(skel->progs.sock_release, cgroup_fd); in test_udp_limit() 26 if (CHECK(IS_ERR(skel->links.sock) || IS_ERR(skel->links.sock_release), in test_udp_limit() 28 PTR_ERR(skel->links.sock), in test_udp_limit() 29 PTR_ERR(skel->links.sock_release))) in test_udp_limit()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq_3A_server/common/mediactl/ |
| H A D | mediactl.c | 57 struct media_link *link = &pad->entity->links[i]; in media_entity_remote_source() 143 return &entity->links[index]; in media_entity_get_link() 237 link = &source->entity->links[i]; in media_setup_link() 292 struct media_link *link = &entity->links[j]; in media_reset_links() 315 struct media_link *links = entity->links; in media_entity_add_link() local 319 links = realloc(links, max_links * sizeof *links); in media_entity_add_link() 320 if (links == NULL) in media_entity_add_link() 324 links[i].twin->twin = &links[i]; in media_entity_add_link() 327 entity->links = links; in media_entity_add_link() 330 return &entity->links[entity->num_links++]; in media_entity_add_link() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/common/mediactl/ |
| H A D | mediactl.c | 59 struct media_link *link = &pad->entity->links[i]; in media_entity_remote_source() 145 return &entity->links[index]; in media_entity_get_link() 240 link = &source->entity->links[i]; in media_setup_link() 295 struct media_link *link = &entity->links[j]; in media_reset_links() 318 struct media_link *links = entity->links; in media_entity_add_link() local 322 links = realloc(links, max_links * sizeof *links); in media_entity_add_link() 323 if (links == NULL) in media_entity_add_link() 327 links[i].twin->twin = &links[i]; in media_entity_add_link() 330 entity->links = links; in media_entity_add_link() 333 return &entity->links[entity->num_links++]; in media_entity_add_link() [all …]
|
| /OK3568_Linux_fs/kernel/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 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 …]
|
| H A D | tracex4_user.c | 52 struct bpf_link *links[2]; in main() local 83 links[j] = bpf_program__attach(prog); in main() 84 if (libbpf_get_error(links[j])) { in main() 86 links[j] = NULL; in main() 99 bpf_link__destroy(links[j]); in main()
|
| H A D | spintest_user.c | 16 struct bpf_link *links[20]; in main() local 60 links[j] = bpf_program__attach(prog); in main() 61 if (libbpf_get_error(links[j])) { in main() 63 links[j] = NULL; in main() 95 bpf_link__destroy(links[j]); in main()
|
| H A D | lathist_user.c | 83 struct bpf_link *links[2]; in main() local 109 links[i] = bpf_program__attach(prog); in main() 110 if (libbpf_get_error(links[i])) { in main() 112 links[i] = NULL; in main() 126 bpf_link__destroy(links[i]); in main()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/aic7xxx/aicasm/ |
| H A 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 …]
|
| H A D | aicasm.c | 67 STAILQ_ENTRY(patch) links; 222 links)) in main() 243 links); in main() 326 cur_instr = STAILQ_NEXT(cur_instr, links)) { in back_patch() 368 cur_instr = STAILQ_NEXT(cur_instr, links)) { in output_code() 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() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/mc/ |
| H A D | mc-device.c | 118 entd->links = ent->num_links - ent->num_backlinks; in media_device_enum_entities() 154 struct media_links_enum *links = arg; in media_device_enum_links() local 157 entity = find_entity(mdev, links->entity); in media_device_enum_links() 161 if (links->pads) { in media_device_enum_links() 169 if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) in media_device_enum_links() 174 if (links->links) { in media_device_enum_links() 176 struct media_link_desc __user *ulink_desc = links->links; in media_device_enum_links() 178 list_for_each_entry(link, &entity->links, list) { in media_device_enum_links() 196 memset(links->reserved, 0, sizeof(links->reserved)); in media_device_enum_links() 495 compat_uptr_t links; /* struct media_link_desc * */ member [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/mediactl/ |
| H 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
|
| /OK3568_Linux_fs/kernel/drivers/greybus/ |
| H 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() 81 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in get_next_bundle_desc() 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() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/browser/ |
| H A D | test_all_builds_page.py | 201 links = element.find_elements_by_css_selector('a') 203 self.assertEquals(len(links), 1, msg) 207 links = element.find_elements_by_css_selector('a') 209 self.assertEquals(len(links), 0, msg) 213 links = build1_row.find_elements_by_css_selector('td.time a') 215 self.assertEquals(len(links), 1, msg) 219 links = build2_row.find_elements_by_css_selector('td.time a') 221 self.assertEquals(len(links), 0, msg)
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/common/ |
| H A D | soc-acpi-intel-tgl-match.c | 318 .links = tgl_i2s_rt1308, 346 .links = tgl_sdw_rt711_link1_rt1308_link2_rt715_link0, 353 .links = tgl_3_in_1_default, 365 .links = tgl_3_in_1_mono_amp, 372 .links = tgl_3_in_1_sdca, 379 .links = tgl_rvp, 386 .links = tgl_chromebook_base, 393 .links = tgl_chromebook_base,
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/sanlock/sanlock/ |
| H A D | 0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch | 5 --preserve=mode, links" 29 + cp -R --no-dereference --preserve=mode,links $(LIB_ENTIRE_TARGET).so $(DESTDIR)/$(LIBDIR) 30 + cp -R --no-dereference --preserve=mode,links $(LIB_CLIENT_TARGET).so $(DESTDIR)/$(LIBDIR) 31 + cp -R --no-dereference --preserve=mode,links $(LIB_ENTIRE_TARGET).so.$(SOMAJOR) $(DESTDIR)/$(LIBD… 32 + cp -R --no-dereference --preserve=mode,links $(LIB_CLIENT_TARGET).so.$(SOMAJOR) $(DESTDIR)/$(LIBD… 45 + cp -R --no-dereference --preserve=mode,links $(LIB_TARGET).so $(DESTDIR)/$(LIBDIR) 46 + cp -R --no-dereference --preserve=mode,links $(LIB_TARGET).so.$(SOMAJOR) $(DESTDIR)/$(LIBDIR)
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/busybox/ |
| H A D | busybox.inc | 187 oe_runmake busybox.links 188 sort busybox.links > busybox.links.$s 189 rm busybox.links 193 if grep -q -x "/bin/sh" busybox.links.suid; then 202 oe_runmake busybox.links 212 sed -i "s:^/bin/:BASE_BINDIR/:" busybox.links* 213 sed -i "s:^/sbin/:BASE_SBINDIR/:" busybox.links* 214 sed -i "s:^/usr/bin/:BINDIR/:" busybox.links* 215 sed -i "s:^/usr/sbin/:SBINDIR/:" busybox.links* 218 sed -i "s:^BASE_BINDIR/arch:BINDIR/arch:" busybox.links* [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-extended/dlm/dlm/ |
| H A D | 0001-make-Replace-cp-a-with-mode-preserving-options.patch | 25 + cp -R --no-dereference --preserve=mode,links $(LIB_SO) $(DESTDIR)/$(LIBDIR) 26 + cp -R --no-dereference --preserve=mode,links $(LIB_SMAJOR) $(DESTDIR)/$(LIBDIR) 42 + cp -R --no-dereference --preserve=mode,links $(LIB_SO) $(DESTDIR)/$(LIBDIR) 43 + cp -R --no-dereference --preserve=mode,links $(LIB_SMAJOR) $(DESTDIR)/$(LIBDIR) 44 + cp -R --no-dereference --preserve=mode,links $(LLT_SO) $(DESTDIR)/$(LIBDIR) 45 + cp -R --no-dereference --preserve=mode,links $(LLT_SMAJOR) $(DESTDIR)/$(LIBDIR)
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/toybox/ |
| H A D | toybox_0.8.6.bb | 70 # Create a list of links needed 72 ./generated/instlist long | sed -e 's#^#/#' > toybox.links 74 sed -i -e '/iconv$/d' toybox.links 77 sed -i -e '/getconf$/d' toybox.links 91 install -m 0644 ${B}/toybox.links ${D}${sysconfdir} 99 # Read links from /etc/toybox.links and create appropriate 106 f = open('%s/etc/toybox.links' % (dvar), 'r')
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/links/files/ |
| H A D | links2.desktop | 5 Comment[es]=El links es un browser para modo texto, similar a lynx 7 Comment[pt]=O links é um browser para modo texto, similar ao lynx 8 Comment[pt_BR]=O links é um browser para modo texto, similar ao lynx 9 Exec=links -g
|