Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v5.4/sound/soc/intel/boards/
Dsof_rt5682.c414 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local
417 links = devm_kzalloc(dev, sizeof(struct snd_soc_dai_link) * in sof_card_dai_links_create()
421 if (!links || !cpus) in sof_card_dai_links_create()
425 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
427 if (!links[id].name) in sof_card_dai_links_create()
430 links[id].id = id; in sof_card_dai_links_create()
431 links[id].codecs = rt5682_component; in sof_card_dai_links_create()
432 links[id].num_codecs = ARRAY_SIZE(rt5682_component); in sof_card_dai_links_create()
433 links[id].platforms = platform_component; in sof_card_dai_links_create()
434 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
[all …]
/Linux-v5.4/sound/soc/sof/
Dnocodec.c21 struct snd_soc_dai_link *links, in sof_nocodec_bes_setup() argument
27 if (!ops || !links || !card) in sof_nocodec_bes_setup()
36 links[i].name = devm_kasprintf(dev, GFP_KERNEL, in sof_nocodec_bes_setup()
38 if (!links[i].name) in sof_nocodec_bes_setup()
41 links[i].cpus = &dlc[0]; in sof_nocodec_bes_setup()
42 links[i].codecs = &dlc[1]; in sof_nocodec_bes_setup()
43 links[i].platforms = &dlc[2]; in sof_nocodec_bes_setup()
45 links[i].num_cpus = 1; in sof_nocodec_bes_setup()
46 links[i].num_codecs = 1; in sof_nocodec_bes_setup()
47 links[i].num_platforms = 1; in sof_nocodec_bes_setup()
[all …]
/Linux-v5.4/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c216 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 …]
Daicasm.c67 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 …]
Daicasm_symbol.h107 STAILQ_ENTRY(macro_arg) links;
146 SLIST_ENTRY(symbol_node) links;
151 TAILQ_ENTRY(critical_section) links;
Daicasm_scan.l454 SLIST_ENTRY(include) links;
474 include_dir = include_dir->links.sle_next) {
505 SLIST_INSERT_HEAD(&include_stack, include, links);
559 STAILQ_FOREACH(marg, &macro_symbol->info.macroinfo->args, links) {
583 STAILQ_FOREACH(marg, &mac_symbol->info.macroinfo->args, links) {
613 SLIST_REMOVE_HEAD(&include_stack, links);
/Linux-v5.4/drivers/soundwire/
Dintel_init.c36 struct sdw_link_data *links; member
41 struct sdw_link_data *link = ctx->links; in sdw_intel_cleanup_pdev()
53 kfree(ctx->links); in sdw_intel_cleanup_pdev()
54 ctx->links = NULL; in sdw_intel_cleanup_pdev()
110 ctx->links = kcalloc(ctx->count, sizeof(*ctx->links), GFP_KERNEL); in sdw_intel_add_controller()
111 if (!ctx->links) in sdw_intel_add_controller()
114 link = ctx->links; in sdw_intel_add_controller()
/Linux-v5.4/drivers/greybus/
Dmanifest.c38 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 …]
/Linux-v5.4/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()
488 compat_uptr_t links; /* struct media_link_desc * */ member
[all …]
Dmc-entity.c164 list_add_tail(&gobj->list, &mdev->links); in media_gobj_create()
249 graph->stack[graph->top].link = entity->links.next; in stack_push()
357 while (link_top(graph) != &stack_top(graph)->links) in media_graph_walk_next()
450 list_for_each_entry(link, &entity->links, list) { in __media_pipeline_start()
612 list_for_each_entry_safe(rlink, tmp, &remote->links, list) { in __media_entity_remove_link()
669 link = media_add_link(&source->links); in media_create_pad_link()
684 backlink = media_add_link(&sink->links); in media_create_pad_link()
779 list_for_each_entry_safe(link, tmp, &entity->links, list) in __media_entity_remove_links()
888 list_for_each_entry(link, &source->entity->links, list) { in media_entity_find_link()
904 list_for_each_entry(link, &pad->entity->links, list) { in media_entity_remote_pad()
[all …]
/Linux-v5.4/Documentation/media/uapi/mediactl/
Dmedia-ioc-enum-links.rst19 MEDIA_IOC_ENUM_LINKS - Enumerate all pads and links for a given entity
42 To enumerate pads and/or links for a given entity, applications set the
47 the ``pads`` and ``links`` fields. They then call the
55 If the ``links`` field is not NULL, the driver fills the ``links`` array
56 with information about the entity's outbound links. The array must have
57 enough room to store all the entity's outbound links. The number of
58 outbound links can be retrieved with :ref:`MEDIA_IOC_ENUM_ENTITIES`.
60 Only forward links that originate at one of the entity's source pads are
83 - \*\ ``links``
84 - Pointer to a links array allocated by the application. Ignored if
/Linux-v5.4/drivers/net/wireless/ti/wlcore/
Dps.c84 struct wl1271_link *lnk = &wl->links[hlid]; in wl1271_ps_filter_frames()
127 "clean_queues %d", hlid, wl->links[hlid].allocated_pkts, in wl12xx_ps_link_start()
131 sta = ieee80211_find_sta(vif, wl->links[hlid].addr); in wl12xx_ps_link_start()
134 wl->links[hlid].addr); in wl12xx_ps_link_start()
162 sta = ieee80211_find_sta(vif, wl->links[hlid].addr); in wl12xx_ps_link_end()
165 wl->links[hlid].addr); in wl12xx_ps_link_end()
/Linux-v5.4/drivers/fsi/
Dfsi-master-hub.c240 uint32_t reg, links; in hub_master_probe() local
249 links = (reg >> 8) & 0xff; in hub_master_probe()
250 dev_dbg(dev, "hub version %08x (%d links)\n", reg, links); in hub_master_probe()
253 FSI_HUB_LINK_SIZE * links); in hub_master_probe()
266 hub->size = FSI_HUB_LINK_SIZE * links; in hub_master_probe()
273 hub->master.n_links = links; in hub_master_probe()
299 FSI_HUB_LINK_SIZE * links); in hub_master_probe()
/Linux-v5.4/net/tipc/
Dnode.c110 struct tipc_link_entry links[MAX_BEARERS]; member
184 return n->links[bearer_id].link; in node_active_link()
199 mtu = n->links[bearer_id].mtu; in tipc_node_get_mtu()
381 l = n->links[bearer_id].link; in tipc_node_create()
414 spin_lock_init(&n->links[i].lock); in tipc_node_create()
588 struct tipc_link_entry *le = &node->links[i]; in tipc_node_clear_links()
658 le = &n->links[bearer_id]; in tipc_node_timeout()
686 struct tipc_link *nl = n->links[bearer_id].link; in __tipc_node_link_up()
700 n->links[bearer_id].mtu = tipc_link_mtu(nl) - INT_H_SIZE; in __tipc_node_link_up()
753 maddr = &n->links[bearer_id].maddr; in tipc_node_link_up()
[all …]
/Linux-v5.4/kernel/gcov/
Dfs.c59 struct dentry **links; member
375 node->links = kcalloc(num, sizeof(struct dentry *), GFP_KERNEL); in add_links()
376 if (!node->links) in add_links()
387 node->links[i] = debugfs_create_symlink(deskew(basename), in add_links()
396 debugfs_remove(node->links[i]); in add_links()
397 kfree(node->links); in add_links()
398 node->links = NULL; in add_links()
468 if (!node->links) in remove_links()
471 debugfs_remove(node->links[i]); in remove_links()
472 kfree(node->links); in remove_links()
[all …]
/Linux-v5.4/drivers/interconnect/
Dcore.c154 struct icc_node *tmp = node->links[i]; in path_find()
653 new = krealloc(node->links, in icc_link_create()
654 (node->num_links + 1) * sizeof(*node->links), in icc_link_create()
661 node->links = new; in icc_link_create()
662 node->links[node->num_links++] = dst; in icc_link_create()
693 if (src->links[slot] == dst) in icc_link_destroy()
701 src->links[slot] = src->links[--src->num_links]; in icc_link_destroy()
703 new = krealloc(src->links, src->num_links * sizeof(*src->links), in icc_link_destroy()
706 src->links = new; in icc_link_destroy()
/Linux-v5.4/Documentation/sound/soc/
Ddpcm.rst119 1. Define the FE and BE DAI links.
126 FE and BE DAI links
146 For the example above we have to define 4 FE DAI links and 6 BE DAI links. The
147 FE DAI links are defined as follows :-
162 .....< other FE and BE DAI links here >
180 .....< FE DAI links here >
195 .....< other BE DAI links here >
261 The other PCM operation are the same as for regular DAI links. Use as necessary.
267 The BE DAI links will normally be connected to the graph at initialisation time
339 2. Hostless FE. This FE has a virtual connection to the BE DAI links on the DAPM
[all …]
/Linux-v5.4/Documentation/driver-api/
Ddevice_link.rst8 Device links
29 Device links allow representation of such dependencies in the driver core.
51 The earliest point in time when device links can be added is after
81 to deletion. Device links managed by the driver core are deleted automatically
114 device links (i.e. when ``DL_FLAG_STATELESS`` is not specified on link addition)
120 Moreover, managed device links cannot be deleted directly. They are deleted
123 However, stateless device links (i.e. device links with ``DL_FLAG_STATELESS``
154 scope of device links.
181 device links from the hotplug ports (consumers) to the NHI device
222 becomes a directed acyclic graph once device links are added.
[all …]
/Linux-v5.4/tools/perf/
Dperf-with-kcore.sh110 …find "$USER_HOME/.debug" -xdev -type f -links 1 ! -user "$SUDO_USER" -ls -exec chown "$SUDO_USE…
115 …find "$USER_HOME/.debug" -xdev -type f -links 1 ! -group "$SUDO_GID" -ls -exec chgrp "$SUDO_GID…
129 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type f -links 1 ! -user "$USER" -print -quit)
133 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type f -links 1 ! -group "$GROUPS" -print -quit)
/Linux-v5.4/Documentation/devicetree/bindings/mailbox/
Darm-mhu.txt5 3 independent channels/links to communicate with remote processor(s).
6 MHU links are hardwired on a platform. A link raises interrupt for any
23 each of the 3 links of MHU.
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-devices-power_resources_D09 If present, it contains symbolic links to device directories
12 of the links are the same as the names of the directories they
Dsysfs-devices-power_resources_wakeup9 If present, it contains symbolic links to device directories
12 the links are the same as the names of the directories they
Dsysfs-devices-power_resources_D110 If present, it contains symbolic links to device directories
13 of the links are the same as the names of the directories they
Dsysfs-devices-power_resources_D210 If present, it contains symbolic links to device directories
13 of the links are the same as the names of the directories they
Dsysfs-devices-power_resources_D3hot10 If present, it contains symbolic links to device directories
13 names of the links are the same as the names of the directories

12345678910>>...12