Searched refs:connect_type (Results 1 – 7 of 7) sorted by relevance
205 enum usb_port_connect_type connect_type = USB_PORT_CONNECT_TYPE_UNKNOWN; in usb_acpi_get_connect_type() local237 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()
34 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()
108 enum usb_port_connect_type connect_type; member
2589 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() local4808 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() local6525 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()
623 return hub->ports[dev->portnum - 1]->connect_type == in usb_dev_authorized()
702 ``<hubdev-portX>/connect_type``:787 (ACPI _PLD record for a port populates 'connect_type') userspace can
159 What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/connect_type