Lines Matching refs:port_dev
120 struct usb_port *port_dev; in usb_acpi_set_power_state() local
128 port_dev = hub->ports[port1 - 1]; in usb_acpi_set_power_state()
141 dev_dbg(&port_dev->dev, "acpi: power was set to %d\n", enable); in usb_acpi_set_power_state()
143 dev_dbg(&port_dev->dev, "acpi: power failed to be set\n"); in usb_acpi_set_power_state()
193 usb_acpi_get_companion_for_port(struct usb_port *port_dev) in usb_acpi_get_companion_for_port() argument
201 udev = to_usb_device(port_dev->dev.parent->parent); in usb_acpi_get_companion_for_port()
211 port_dev->portnum); in usb_acpi_get_companion_for_port()
219 port1 = port_dev->portnum; in usb_acpi_get_companion_for_port()
226 usb_acpi_find_companion_for_port(struct usb_port *port_dev) in usb_acpi_find_companion_for_port() argument
233 adev = usb_acpi_get_companion_for_port(port_dev); in usb_acpi_find_companion_for_port()
240 port_dev->location = USB_ACPI_LOCATION_VALID in usb_acpi_find_companion_for_port()
242 port_dev->connect_type = usb_acpi_get_connect_type(handle, pld); in usb_acpi_find_companion_for_port()
253 struct usb_port *port_dev; in usb_acpi_find_companion_for_device() local
273 port_dev = hub->ports[udev->portnum - 1]; in usb_acpi_find_companion_for_device()
274 return usb_acpi_get_companion_for_port(port_dev); in usb_acpi_find_companion_for_device()