Lines Matching defs:node
15 * usb_of_get_device_node() - get a USB device node
19 * Look up the node of a USB device given its parent hub device and one-based
22 * Return: A pointer to the node with incremented refcount if found, or
27 struct device_node *node;
30 for_each_child_of_node(hub->dev.of_node, node) {
31 if (of_property_read_u32(node, "reg", ®))
35 return node;
43 * usb_of_has_combined_node() - determine whether a device has a combined node
46 * Determine whether a USB device has a so called combined node which is
48 * has a node and its descriptors report the following:
54 * Return: True iff the device has a device node and its descriptors match the
55 * criteria for a combined node.
99 * Get the connect_type of @port1 based on the device node for @hub. If the
102 * connect_type is "hard-wired". If there isn't an OF graph or child node at
106 * Return: A connect_type for @port1 based on the device node for @hub.
117 /* Assume port is unused if there's a graph or a child node. */
122 * Hotplug ports are connected to an available remote node, e.g.
123 * usb-a-connector compatible node, in the OF graph.
150 * usb_of_get_interface_node() - get a USB interface node
155 * Look up the node of a USB interface given its USB device, configuration
158 * Return: A pointer to the node with incremented refcount if found, or
164 struct device_node *node;
167 for_each_child_of_node(udev->dev.of_node, node) {
168 if (of_property_read_u32_array(node, "reg", reg, 2))
172 return node;