Searched refs:port_removable (Results 1 – 2 of 2) sorted by relevance
82 __u8 port_removable[(USB_MAXCHILDREN + 1 + 7) / 8]; in xhci_usb2_hub_descriptor() local96 memset(port_removable, 0, sizeof(port_removable)); in xhci_usb2_hub_descriptor()106 port_removable[(i + 1) / 8] |= 1 << ((i + 1) % 8); in xhci_usb2_hub_descriptor()125 memset(&desc->u.hs.DeviceRemovable[i], port_removable[i], in xhci_usb2_hub_descriptor()134 u16 port_removable; in xhci_usb3_hub_descriptor() local149 port_removable = 0; in xhci_usb3_hub_descriptor()154 port_removable |= 1 << (i + 1); in xhci_usb3_hub_descriptor()157 desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable); in xhci_usb3_hub_descriptor()
5654 u16 port_removable = le16_to_cpu(desc->u.ss.DeviceRemovable); in usb_hub_adjust_deviceremovable() local5663 if (!(port_removable & mask)) { in usb_hub_adjust_deviceremovable()5665 port_removable |= mask; in usb_hub_adjust_deviceremovable()5670 desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable); in usb_hub_adjust_deviceremovable()