Searched refs:node (Results 1 - 25 of 534) sorted by relevance

1234567891011>>

/drivers/of/
H A Dof_pci.c7 static inline int __of_pci_pci_compare(struct device_node *node, argument
11 const __be32 *reg = of_get_property(node, "reg", &size);
21 struct device_node *node, *node2; local
23 for_each_child_of_node(parent, node) {
24 if (__of_pci_pci_compare(node, devfn))
25 return node;
27 * Some OFs create a parent node "multifunc-device" as
31 if (!strcmp(node->name, "multifunc-device")) {
32 for_each_child_of_node(node, node2) {
34 of_node_put(node);
[all...]
H A Dof_i2c.c24 struct device_node *node; local
26 /* Only register child devices if the adapter has a node pointer set */
32 for_each_child_of_node(adap->dev.of_node, node) {
38 dev_dbg(&adap->dev, "of_i2c: register %s\n", node->full_name);
40 if (of_modalias_node(node, info.type, sizeof(info.type)) < 0) {
42 node->full_name);
46 addr = of_get_property(node, "reg", &len);
49 node->full_name);
56 info.addr, node->full_name);
60 info.irq = irq_of_parse_and_map(node,
84 of_find_i2c_device_by_node(struct device_node *node) argument
[all...]
H A Dpdt.c92 static struct property * __init of_pdt_build_one_prop(phandle node, char *prev, argument
117 err = of_pdt_prom_ops->nextprop(node, prev, p->name);
122 p->length = of_pdt_prom_ops->getproplen(node, p->name);
129 len = of_pdt_prom_ops->getproperty(node, p->name,
139 static struct property * __init of_pdt_build_prop_list(phandle node) argument
143 head = tail = of_pdt_build_one_prop(node, NULL,
144 ".node", &node, sizeof(node));
146 tail->next = of_pdt_build_one_prop(node, NUL
157 of_pdt_get_one_property(phandle node, const char *name) argument
171 of_pdt_create_node(phandle node, struct device_node *parent) argument
196 of_pdt_build_tree(struct device_node *parent, phandle node, struct device_node ***nextp) argument
[all...]
/drivers/acpi/acpica/
H A Ddsargs.c57 acpi_ds_execute_arguments(struct acpi_namespace_node *node,
65 * PARAMETERS: Node - Object NS node
66 * scope_node - Parent NS node
77 acpi_ds_execute_arguments(struct acpi_namespace_node *node, argument
96 op->common.node = scope_node;
116 walk_state->deferred_node = node;
127 op->common.node = node;
137 op->common.node = scope_node;
158 walk_state->deferred_node = node;
183 struct acpi_namespace_node *node; local
228 struct acpi_namespace_node *node; local
278 struct acpi_namespace_node *node; local
322 struct acpi_namespace_node *node; local
366 struct acpi_namespace_node *node; local
[all...]
H A Dnsobject.c73 acpi_ns_attach_object(struct acpi_namespace_node *node, argument
85 if (!node) {
102 if (ACPI_GET_DESCRIPTOR_TYPE(node) != ACPI_DESC_TYPE_NAMED) {
107 node, acpi_ut_get_descriptor_name(node)));
113 if (node->object == object) {
116 object, node));
155 obj_desc, node, acpi_ut_get_node_name(node)));
159 if (node
204 acpi_ns_detach_object(struct acpi_namespace_node *node) argument
262 acpi_ns_get_attached_object(struct acpi_namespace_node *node) argument
329 acpi_ns_attach_data(struct acpi_namespace_node *node, acpi_object_handler handler, void *data) argument
386 acpi_ns_detach_data(struct acpi_namespace_node * node, acpi_object_handler handler) argument
431 acpi_ns_get_attached_data(struct acpi_namespace_node * node, acpi_object_handler handler, void **data) argument
[all...]
H A Dnsxfobj.c67 struct acpi_namespace_node *node; local
83 node = acpi_ns_validate_handle(handle);
84 if (!node) {
89 *ret_id = node->owner_id;
111 struct acpi_namespace_node *node; local
136 node = acpi_ns_validate_handle(handle);
137 if (!node) {
142 *ret_type = node->type;
165 struct acpi_namespace_node *node; local
186 node
234 struct acpi_namespace_node *node; local
[all...]
H A Dnssearch.c58 struct acpi_namespace_node *node,
67 * parent_node - Starting node where search will begin
100 struct acpi_namespace_node *node; local
125 node = parent_node->child;
126 while (node) {
130 if (node->name.integer == target_name) {
134 if (acpi_ns_get_type(node) ==
136 node =
138 node->object);
146 acpi_ut_get_type_name(node
199 acpi_ns_search_parent_tree(u32 target_name, struct acpi_namespace_node *node, acpi_object_type type, struct acpi_namespace_node **return_node) argument
287 acpi_ns_search_and_enter(u32 target_name, struct acpi_walk_state *walk_state, struct acpi_namespace_node *node, acpi_interpreter_mode interpreter_mode, acpi_object_type type, u32 flags, struct acpi_namespace_node **return_node) argument
[all...]
H A Devxfregn.c81 struct acpi_namespace_node *node; local
99 node = acpi_ns_validate_handle(device);
100 if (!node) {
108 acpi_ev_install_space_handler(node, space_id, handler, setup,
147 status = acpi_ev_execute_reg_methods(node, space_id);
178 struct acpi_namespace_node *node; local
196 node = acpi_ns_validate_handle(device);
197 if (!node ||
198 ((node->type != ACPI_TYPE_DEVICE) &&
199 (node
[all...]
H A Dexresnte.c59 * a pointer to a NS node, and will receive a
66 * DESCRIPTION: Resolve a Namespace node to a valued object
86 struct acpi_namespace_node *node; local
95 node = *object_ptr;
96 source_desc = acpi_ns_get_attached_object(node);
97 entry_type = acpi_ns_get_type((acpi_handle) node);
100 node, source_desc,
108 node = ACPI_CAST_PTR(struct acpi_namespace_node, node->object);
109 source_desc = acpi_ns_get_attached_object(node);
[all...]
H A Ddswload2.c73 struct acpi_namespace_node *node; local
142 node = NULL;
155 ACPI_NS_SEARCH_PARENT, walk_state, &(node));
160 /* Special case for Scope(\) -> refers to the Root node */
162 if (op && (op->named.node == acpi_gbl_root_node)) {
163 node = op->named.node;
166 acpi_ds_scope_stack_push(node, object_type,
181 &(node));
201 switch (node
363 struct acpi_namespace_node *node; local
[all...]
H A Dnsnames.c56 * PARAMETERS: Node - NS node whose pathname is needed
68 acpi_ns_build_external_path(struct acpi_namespace_node *node, argument
87 parent_node = node;
123 * PARAMETERS: Node - Namespace node whose pathname is needed
126 * the node, In external format (name segments separated by path
133 char *acpi_ns_get_external_pathname(struct acpi_namespace_node *node) argument
139 ACPI_FUNCTION_TRACE_PTR(ns_get_external_pathname, node);
143 size = acpi_ns_get_pathname_length(node);
158 status = acpi_ns_build_external_path(node, size, name_buffer);
171 * PARAMETERS: Node - Namespace node
179 acpi_ns_get_pathname_length(struct acpi_namespace_node *node) argument
230 struct acpi_namespace_node *node; local
[all...]
H A Dnsalloc.c55 * PARAMETERS: Name - Name of the new node (4 char ACPI name)
57 * RETURN: New namespace node (Null on failure)
59 * DESCRIPTION: Create a namespace node
64 struct acpi_namespace_node *node; local
71 node = acpi_os_acquire_object(acpi_gbl_namespace_cache);
72 if (!node) {
86 node->name.integer = name;
87 ACPI_SET_DESCRIPTOR_TYPE(node, ACPI_DESC_TYPE_NAMED);
88 return_PTR(node);
99 * DESCRIPTION: Delete a namespace node
106 acpi_ns_delete_node(struct acpi_namespace_node *node) argument
154 acpi_ns_remove_node(struct acpi_namespace_node *node) argument
213 acpi_ns_install_node(struct acpi_walk_state *walk_state, struct acpi_namespace_node *parent_node, struct acpi_namespace_node *node, acpi_object_type type) argument
[all...]
H A Ddswload.c124 struct acpi_namespace_node *node; local
146 if (op->common.node) {
173 walk_state, &(node));
186 &node);
198 switch (node->type) {
226 acpi_ut_get_node_name(node),
227 acpi_ut_get_type_name(node->type)));
229 node->type = ACPI_TYPE_ANY;
240 acpi_ut_get_type_name(node->type),
241 acpi_ut_get_node_name(node)));
[all...]
H A Devmisc.c63 * DESCRIPTION: Check type of node for a object that supports notifies.
65 * TBD: This could be replaced by a flag bit in the node.
69 u8 acpi_ev_is_notify_object(struct acpi_namespace_node *node) argument
71 switch (node->type) {
89 * PARAMETERS: Node - NS node for the notified object
100 acpi_ev_queue_notify_request(struct acpi_namespace_node * node, argument
121 acpi_ut_get_node_name(node),
122 acpi_ut_get_type_name(node->type), notify_value,
123 acpi_ut_get_notify_name(notify_value), node));
127 obj_desc = acpi_ns_get_attached_object(node);
[all...]
H A Ddswscope.c100 acpi_ds_scope_stack_push(struct acpi_namespace_node *node, argument
109 if (!node) {
133 scope_info->scope.node = node;
147 scope.node),
156 acpi_ut_get_node_name(scope_info->scope.node),
197 acpi_ut_get_node_name(scope_info->scope.node),
205 scope.node),
/drivers/base/
H A Ddevres.c26 struct devres_node node; member in struct:devres
32 struct devres_node node[2]; member in struct:devres_group
42 static void set_node_dbginfo(struct devres_node *node, const char *name, argument
45 node->name = name;
46 node->size = size;
49 static void devres_log(struct device *dev, struct devres_node *node, argument
54 op, node, node->name, (unsigned long)node->size);
57 #define set_node_dbginfo(node,
75 node_to_group(struct devres_node *node) argument
100 add_dr(struct device *dev, struct devres_node *node) argument
186 struct devres_node *node; local
341 struct devres_node *node; local
372 struct devres_node *node; local
483 struct devres_node *node; local
[all...]
/drivers/iommu/
H A Diova.c40 container_of(iovad->cached32_node, struct iova, node);
52 iovad->cached32_node = &new->node;
64 cached_iova = container_of(curr, struct iova, node);
67 struct rb_node *node = rb_next(&free->node); local
68 struct iova *iova = container_of(node, struct iova, node);
71 if (node && iova->pfn_lo < iovad->dma_32bit_pfn)
72 iovad->cached32_node = node;
108 struct iova *curr_iova = container_of(curr, struct iova, node);
249 struct rb_node *node; local
320 struct rb_node *node; local
335 __is_range_overlap(struct rb_node *node, unsigned long pfn_lo, unsigned long pfn_hi) argument
383 struct rb_node *node; local
423 struct rb_node *node; local
[all...]
/drivers/gpu/drm/
H A Ddrm_mm.c84 struct drm_mm_node *node; local
89 node = kzalloc(sizeof(*node), GFP_KERNEL);
92 if (unlikely(node == NULL)) {
98 list_add_tail(&node->node_list, &mm->unused_nodes);
120 struct drm_mm_node *node,
128 BUG_ON(!hole_node->hole_follows || node->allocated);
139 node->start = hole_start + wasted;
140 node->size = size;
141 node
119 drm_mm_insert_helper(struct drm_mm_node *hole_node, struct drm_mm_node *node, unsigned long size, unsigned alignment) argument
162 struct drm_mm_node *node; local
179 drm_mm_insert_node(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment) argument
194 drm_mm_insert_helper_range(struct drm_mm_node *hole_node, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long start, unsigned long end) argument
245 struct drm_mm_node *node; local
263 drm_mm_insert_node_in_range(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long start, unsigned long end) argument
284 drm_mm_remove_node(struct drm_mm_node *node) argument
319 drm_mm_put_block(struct drm_mm_node *node) argument
500 drm_mm_scan_add_block(struct drm_mm_node *node) argument
561 drm_mm_scan_remove_block(struct drm_mm_node *node) argument
[all...]
/drivers/firewire/
H A Dcore-topology.c113 struct fw_node *node; local
115 node = kzalloc(sizeof(*node) + port_count * sizeof(node->ports[0]),
117 if (node == NULL)
120 node->color = color;
121 node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid);
122 node->link_on = SELF_ID_LINK_ON(sid);
123 node->phy_speed = SELF_ID_PHY_SPEED(sid);
124 node
147 update_hop_count(struct fw_node *node) argument
186 struct fw_node *node, *child, *local_node, *irm_node; local
329 struct fw_node *node, *next, *child, *parent; local
359 report_lost_node(struct fw_card *card, struct fw_node *node, struct fw_node *parent) argument
369 report_found_node(struct fw_card *card, struct fw_node *node, struct fw_node *parent) argument
[all...]
/drivers/net/wireless/iwmc3200wifi/
H A Drx.h47 struct list_head node; member in struct:iwm_rx_ticket_node
52 struct list_head node; member in struct:iwm_rx_packet
/drivers/pnp/pnpbios/
H A Dproc.c7 * The .../devices and .../<node> and .../boot/<node> files are
176 struct pnp_bios_node *node; local
179 node = kzalloc(node_info.max_node_size, GFP_KERNEL);
180 if (!node)
186 if (pnp_bios_get_dev_node(&nodenum, PNPMODE_DYNAMIC, node))
189 node->handle, node->eisa_id,
190 node->type_code[0], node
221 struct pnp_bios_node *node; local
248 struct pnp_bios_node *node; local
287 pnpbios_interface_attach_device(struct pnp_bios_node *node) argument
[all...]
H A Dcore.c207 struct pnp_bios_node *node; local
213 node = kzalloc(node_info.max_node_size, GFP_KERNEL);
214 if (!node)
216 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) {
217 kfree(node);
220 pnpbios_read_resources_from_node(dev, node);
222 kfree(node);
229 struct pnp_bios_node *node; local
236 node = kzalloc(node_info.max_node_size, GFP_KERNEL);
237 if (!node)
254 pnpbios_zero_data_stream(struct pnp_bios_node *node) argument
281 struct pnp_bios_node *node; local
314 insert_device(struct pnp_bios_node *node) argument
360 struct pnp_bios_node *node; local
[all...]
/drivers/acpi/
H A Dwakeup.c33 struct list_head *node, *next; local
35 list_for_each_safe(node, next, &acpi_wakeup_device_list) {
37 container_of(node, struct acpi_device, wakeup_list);
60 struct list_head *node, *next; local
62 list_for_each_safe(node, next, &acpi_wakeup_device_list) {
64 container_of(node, struct acpi_device, wakeup_list);
82 struct list_head *node, *next; local
85 list_for_each_safe(node, next, &acpi_wakeup_device_list) {
86 struct acpi_device *dev = container_of(node,
/drivers/md/persistent-data/
H A Ddm-btree-internal.h25 * Every btree node begins with this structure. Make sure it's a multiple
31 __le64 blocknr; /* Block this node is supposed to live in. */
39 struct node { struct
45 void inc_children(struct dm_transaction_manager *tm, struct node *n,
67 struct node *ro_node(struct ro_spine *s);
101 static inline __le64 *key_ptr(struct node *n, uint32_t index)
106 static inline void *value_base(struct node *n)
111 static inline void *value_ptr(struct node *n, uint32_t index)
120 static inline uint64_t value64(struct node *n, uint32_t index)
128 * Searching for a key within a single node
[all...]
/drivers/xen/xenbus/
H A Dxenbus_client.c96 * @watch->node, and remains the caller's to free. On error, @watch->node will
107 watch->node = path;
113 watch->node = NULL;
133 * (@path/@path2) will be saved as @watch->node, and becomes the caller's to
134 * kfree(). On error, watch->node will be NULL, so the caller has nothing to
174 unnecessarily. Furthermore, if the node has gone, we don't write
248 * Return the path to the error node for the given device, or NULL on failure.
280 dev_err(&dev->dev, "failed to write error node for %s (%s)\n",
286 dev_err(&dev->dev, "failed to write error node fo
475 struct xenbus_map_node *node; local
519 struct xenbus_map_node *node; local
610 struct xenbus_map_node *node; local
654 struct xenbus_map_node *node; local
[all...]

Completed in 428 milliseconds

1234567891011>>