Home
last modified time | relevance | path

Searched refs:connect_type (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/usb/core/
H A Dusb-acpi.c205 enum usb_port_connect_type connect_type = USB_PORT_CONNECT_TYPE_UNKNOWN; in usb_acpi_get_connect_type() local
237 connect_type = USB_PORT_CONNECT_TYPE_HOT_PLUG; in usb_acpi_get_connect_type()
239 connect_type = USB_PORT_CONNECT_TYPE_HARD_WIRED; in usb_acpi_get_connect_type()
241 connect_type = USB_PORT_NOT_USED; in usb_acpi_get_connect_type()
243 port_dev->connect_type = connect_type; in usb_acpi_get_connect_type()
H A Dport.c34 return port_dev->connect_type == USB_PORT_CONNECT_TYPE_HARD_WIRED && in usb_port_allow_power_off()
196 switch (port_dev->connect_type) { in connect_type_show()
213 static DEVICE_ATTR_RO(connect_type);
631 if (!peer_hub || port_dev->connect_type == USB_PORT_NOT_USED) in match_location()
642 if (peer && peer->connect_type != USB_PORT_NOT_USED && in match_location()
769 port_dev->connect_type = usb_of_get_connect_type(hdev, port1); in usb_hub_create_port_device()
H A Dhub.h108 enum usb_port_connect_type connect_type; member
H A Dhub.c2589 switch (hub->ports[udev->portnum - 1]->connect_type) { in set_usb_port_removable()
4802 int connect_type = USB_PORT_CONNECT_TYPE_UNKNOWN; in hub_set_initial_usb2_lpm_policy() local
4808 connect_type = hub->ports[udev->portnum - 1]->connect_type; in hub_set_initial_usb2_lpm_policy()
4811 connect_type == USB_PORT_CONNECT_TYPE_HARD_WIRED) { in hub_set_initial_usb2_lpm_policy()
6515 enum usb_port_connect_type connect_type; in usb_hub_adjust_deviceremovable() local
6525 connect_type = port_dev->connect_type; in usb_hub_adjust_deviceremovable()
6526 if (connect_type == USB_PORT_CONNECT_TYPE_HARD_WIRED) { in usb_hub_adjust_deviceremovable()
6541 connect_type = port_dev->connect_type; in usb_hub_adjust_deviceremovable()
6542 if (connect_type == USB_PORT_CONNECT_TYPE_HARD_WIRED) { in usb_hub_adjust_deviceremovable()
H A Dusb.c623 return hub->ports[dev->portnum - 1]->connect_type == in usb_dev_authorized()
/linux/Documentation/driver-api/usb/
H A Dpower-management.rst702 ``<hubdev-portX>/connect_type``:
787 (ACPI _PLD record for a port populates 'connect_type') userspace can
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-usb159 What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/connect_type