Lines Matching full:port1
17 * @port1: one-based index of port
25 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1) in usb_of_get_device_node() argument
34 if (reg == port1) in usb_of_get_device_node()
99 * @hub: hub to which port is for @port1
100 * @port1: one-based index of port
102 * Get the connect_type of @port1 based on the device node for @hub. If the
104 * @hub has a child device has with a 'reg' property equal to @port1 the
109 * Return: A connect_type for @port1 based on the device node for @hub.
111 enum usb_port_connect_type usb_of_get_connect_type(struct usb_device *hub, int port1) in usb_of_get_connect_type() argument
129 ep = of_graph_get_endpoint_by_regs(np, port1, -1); in usb_of_get_connect_type()
143 child = usb_of_get_device_node(hub, port1); in usb_of_get_connect_type()