/Linux-v5.4/sound/soc/intel/boards/ |
D | sof_rt5682.c | 414 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/ |
D | nocodec.c | 21 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/Documentation/media/uapi/mediactl/ |
D | media-ioc-enum-links.rst | 19 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
|
D | media-ioc-g-topology.rst | 47 and links. 118 - Total number of data and interface links in the graph 126 - A pointer to a memory area where the links array will be stored, 128 won't store the links. It will just update ``num_links`` 273 - On pad to pad links: unique ID for the source pad. 275 On interface to entity links: unique ID for the interface. 279 - On pad to pad links: unique ID for the sink pad. 281 On interface to entity links: unique ID for the entity.
|
/Linux-v5.4/Documentation/driver-api/ |
D | device_link.rst | 8 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/drivers/media/mc/ |
D | mc-device.c | 117 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 …]
|
D | mc-entity.c | 164 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() 485 /* Either no links or validated links are fine. */ in __media_pipeline_start() 585 * Links management 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() [all …]
|
/Linux-v5.4/drivers/soundwire/ |
D | intel_init.c | 36 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() 74 /* Found controller, find links supported */ in sdw_intel_add_controller() 99 dev_warn(&adev->dev, "No SoundWire links detected\n"); in sdw_intel_add_controller() 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/scsi/aic7xxx/aicasm/ |
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 …]
|
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 …]
|
/Linux-v5.4/Documentation/media/kapi/ |
D | mc-core.rst | 104 Links subsection 107 Links are represented by a struct :c:type:`media_link` instance, 108 defined in ``include/media/media-entity.h``. There are two types of links: 110 **1. pad to pad links**: 113 to all links originating at or targeting any of its pads. 117 Drivers create pad to pad links by calling: 121 **2. interface to entity links**: 125 Drivers create interface to entity links by calling: 131 Links can only be created after having both ends already created. 133 Links have flags that describe the link capabilities and state. The [all …]
|
/Linux-v5.4/Documentation/sound/soc/ |
D | dpcm.rst | 119 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/drivers/fsi/ |
D | fsi-master-hub.c | 71 * each of those links can in turn be chained to a hub master with multiple 72 * links of its own. 240 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() 255 dev_err(dev, "can't claim slave address range for 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/ |
D | node.c | 85 * @hash: links to adjacent nodes in unsorted hash chain 88 * @active_links: bearer ids of active links, used as index into links[] array 89 * @links: array containing references to all links to node 93 * @list: links to adjacent nodes in sorted list of cluster's nodes 94 * @working_links: number of working links to node (both active and standby) 95 * @link_cnt: number of links to node 110 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() [all …]
|
/Linux-v5.4/drivers/greybus/ |
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 …]
|
/Linux-v5.4/drivers/net/wireless/ti/wlcore/ |
D | ps.c | 84 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/kernel/gcov/ |
D | fs.c | 43 * @links: associated symbolic links 48 * the actual synthesized data file plus any associated symbolic links which 59 struct dentry **links; member 363 * Create links to additional files (usually .c and .gcno files) which the 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() [all …]
|
/Linux-v5.4/include/media/ |
D | media-entity.h | 82 * links through which they were reached. 207 * validates all links by calling this operation. Optional. 262 * @num_links: Total number of links, forward and back, enabled and disabled. 267 * @links: List of data links. 302 struct list_head links; member 323 * @links: List of links pointing to graph entities 337 struct list_head links; member 698 * When two or more links target a sink pad, only one of them can be 738 * used to transfer media data. If multiple links are created and this 750 * cross-bar (n:n) links. [all …]
|
/Linux-v5.4/Documentation/admin-guide/ |
D | sysfs-rules.rst | 134 ``/sys/subsystem/block`` will contain the links for disks and partitions 139 - "device"-link and <subsystem>:<kernel name>-links 150 Never depend on the class-specific links back to the ``/sys/class`` 151 directory. These links are also a workaround for the design mistake 153 directory does not contain directories for child devices, these links 155 valid use of these links; they must never appear in any path as an 156 element. Assuming the existence of these links for devices which are 160 It is planned to remove all these links when all class device
|
D | devices.rst | 67 the /dev directory. It is preferred that symbolic links use the same 68 form (absolute or relative) as is indicated here. Links are 72 Compulsory links 75 These links should exist on all systems: 88 Recommended links 91 It is recommended that these links exist on all systems: 104 Locally defined links 107 The following links may be established locally to conform to the 226 It is common practice to install links such as /dev/modem 228 presence of these links, it is recommended that software chase [all …]
|
/Linux-v5.4/drivers/base/ |
D | core.c | 47 /* Device links support. */ 129 list_for_each_entry(link, &dev->links.consumers, s_node) { in device_is_dependent() 144 switch (supplier->links.status) { in device_link_init_status() 146 switch (consumer->links.status) { in device_link_init_status() 163 switch (consumer->links.status) { in device_link_init_status() 199 list_for_each_entry(link, &dev->links.consumers, s_node) in device_reorder_to_tail() 332 list_for_each_entry(link, &supplier->links.consumers, s_node) { in device_link_add() 418 list_add_tail_rcu(&link->s_node, &supplier->links.consumers); in device_link_add() 419 list_add_tail_rcu(&link->c_node, &consumer->links.suppliers); in device_link_add() 495 * Care is required for hotplugged devices: Their links are purged on removal [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/mailbox/ |
D | amlogic,meson-gxbb-mhu.yaml | 15 that has 3 independent channels/links to communicate with remote processor(s). 16 MHU links are hardwired on a platform. A link raises interrupt for any 32 Contains the interrupt information corresponding to each of the 3 links
|
D | arm-mhu.txt | 5 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/drivers/hwtracing/coresight/ |
D | coresight-platform.c | 354 const union acpi_object *graphid, *guid, *links; in is_acpi_coresight_graph() local 362 links = &obj->package.elements[2]; in is_acpi_coresight_graph() 365 links->type != ACPI_TYPE_INTEGER) in is_acpi_coresight_graph() 390 * Links[1] 392 * Links[N] 395 * Where each "Links" entry has the following format: 470 * { GraphID, UUID, NumberOfLinks(n), Links[.],... } in acpi_validate_dsd_graph() 532 * { GraphID, GraphUUID, NumberOfLinks, Links... } in acpi_validate_coresight_graph() 536 /* The links are validated in acpi_coresight_parse_link() */ in acpi_validate_coresight_graph() 658 * output links and then later for parsing the output links), in acpi_coresight_parse_graph() [all …]
|
/Linux-v5.4/drivers/staging/media/imx/ |
D | TODO | 21 is used to form the media links between the devices discovered in 47 must all refer to media links between V4L2 subdevices. 53 - i.MX7: runtime testing with parallel sensor, links setup and streaming
|