Searched refs:port_removable (Results 1 – 2 of 2) sorted by relevance
183 __u8 port_removable[(USB_MAXCHILDREN + 1 + 7) / 8]; in xhci_usb2_hub_descriptor() local197 memset(port_removable, 0, sizeof(port_removable)); in xhci_usb2_hub_descriptor()207 port_removable[(i + 1) / 8] |= 1 << ((i + 1) % 8); in xhci_usb2_hub_descriptor()226 memset(&desc->u.hs.DeviceRemovable[i], port_removable[i], in xhci_usb2_hub_descriptor()235 u16 port_removable; in xhci_usb3_hub_descriptor() local250 port_removable = 0; in xhci_usb3_hub_descriptor()255 port_removable |= 1 << (i + 1); in xhci_usb3_hub_descriptor()258 desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable); in xhci_usb3_hub_descriptor()
5694 u16 port_removable = le16_to_cpu(desc->u.ss.DeviceRemovable); in usb_hub_adjust_deviceremovable() local5703 if (!(port_removable & mask)) { in usb_hub_adjust_deviceremovable()5705 port_removable |= mask; in usb_hub_adjust_deviceremovable()5710 desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable); in usb_hub_adjust_deviceremovable()