/openbmc/linux/include/uapi/linux/usb/ |
H A D | ch11.h | 272 __u8 DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8]; member 279 __le16 DeviceRemovable; member
|
/openbmc/linux/drivers/usb/host/ |
H A D | ohci-hub.c | 566 memset(desc->u.hs.DeviceRemovable, 0xff, in ohci_hub_descriptor() 567 sizeof(desc->u.hs.DeviceRemovable)); in ohci_hub_descriptor() 568 desc->u.hs.DeviceRemovable[0] = rh & RH_B_DR; in ohci_hub_descriptor() 570 desc->u.hs.DeviceRemovable[1] = (rh & RH_B_DR) >> 8; in ohci_hub_descriptor() 571 desc->u.hs.DeviceRemovable[2] = 0xff; in ohci_hub_descriptor() 573 desc->u.hs.DeviceRemovable[1] = 0xff; in ohci_hub_descriptor()
|
H A D | xhci-hub.c | 322 memset(desc->u.hs.DeviceRemovable, 0xff, in xhci_usb2_hub_descriptor() 323 sizeof(desc->u.hs.DeviceRemovable)); in xhci_usb2_hub_descriptor() 328 memset(&desc->u.hs.DeviceRemovable[i], port_removable[i], in xhci_usb2_hub_descriptor() 363 desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable); in xhci_usb3_hub_descriptor()
|
H A D | ehci-hub.c | 714 memset(&desc->u.hs.DeviceRemovable[0], 0, temp); in ehci_hub_descriptor() 715 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in ehci_hub_descriptor()
|
H A D | xen-hcd.c | 373 memset(&desc->u.hs.DeviceRemovable[0], 0, temp); in xenhcd_hub_descriptor() 374 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in xenhcd_hub_descriptor()
|
H A D | isp116x-hcd.c | 958 desc->u.hs.DeviceRemovable[0] = 0; in isp116x_hub_descriptor() 959 desc->u.hs.DeviceRemovable[1] = ~0; in isp116x_hub_descriptor()
|
H A D | sl811-hcd.c | 1119 desc->u.hs.DeviceRemovable[0] = 0 << 1; in sl811h_hub_descriptor() 1120 desc->u.hs.DeviceRemovable[1] = ~0; in sl811h_hub_descriptor()
|
H A D | octeon-hcd.c | 3406 desc->u.hs.DeviceRemovable[0] = 0; in octeon_usb_hub_control() 3407 desc->u.hs.DeviceRemovable[1] = 0xff; in octeon_usb_hub_control()
|
H A D | r8a66597-hcd.c | 2134 desc->u.hs.DeviceRemovable[0] = in r8a66597_hub_descriptor() 2136 desc->u.hs.DeviceRemovable[1] = ~0; in r8a66597_hub_descriptor()
|
H A D | isp1362-hcd.c | 1556 desc->u.hs.DeviceRemovable[0] = desc->bNbrPorts == 1 ? 1 << 1 : 3 << 1; in isp1362_hub_descriptor() 1557 desc->u.hs.DeviceRemovable[1] = ~0; in isp1362_hub_descriptor()
|
H A D | oxu210hp-hcd.c | 881 memset(&desc->u.hs.DeviceRemovable[0], 0, temp); in ehci_hub_descriptor() 882 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in ehci_hub_descriptor()
|
/openbmc/u-boot/common/ |
H A D | usb_hub.c | 657 bitmap = (unsigned char *)&hub->desc.u.hs.DeviceRemovable[0]; in usb_hub_configure() 664 hub->desc.u.hs.DeviceRemovable[i] = in usb_hub_configure() 665 descriptor->u.hs.DeviceRemovable[i]; in usb_hub_configure() 763 hub->desc.u.hs.DeviceRemovable[(i + 1) / 8] & \ in usb_hub_configure()
|
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_virthub.c | 337 desc->u.hs.DeviceRemovable[0] = 0x02; /* port 1 */ in musb_hub_control() 338 desc->u.hs.DeviceRemovable[1] = 0xff; in musb_hub_control()
|
/openbmc/u-boot/include/ |
H A D | usb.h | 567 __u8 DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8]; member 574 __le16 DeviceRemovable; member
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_hub.c | 99 .DeviceRemovable = {0, 0xff}
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 295 desc->u.ss.DeviceRemovable = 0xffff; in ss_hub_descriptor() 311 memset(&desc->u.hs.DeviceRemovable[0], 0, width); in hub_descriptor() 312 memset(&desc->u.hs.DeviceRemovable[width], 0xff, width); in hub_descriptor()
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | hub.c | 139 .u.hs.DeviceRemovable[0] = 0, 140 .u.hs.DeviceRemovable[1] = 0xff,
|
/openbmc/linux/drivers/usb/renesas_usbhs/ |
H A D | mod_host.c | 1225 desc->u.hs.DeviceRemovable[0] = (roothub_id << 1); in __usbhsh_hub_get_status() 1226 desc->u.hs.DeviceRemovable[1] = ~0; in __usbhsh_hub_get_status()
|
/openbmc/linux/drivers/usb/core/ |
H A D | hub.c | 1493 portstr[i] = hub->descriptor->u.hs.DeviceRemovable in hub_configure() 2532 if (le16_to_cpu(hub->descriptor->u.ss.DeviceRemovable) in set_usb_port_removable() 2536 if (hub->descriptor->u.hs.DeviceRemovable[port / 8] & (1 << (port % 8))) in set_usb_port_removable() 6394 if (!(desc->u.hs.DeviceRemovable[i/8] & mask)) { in usb_hub_adjust_deviceremovable() 6396 desc->u.hs.DeviceRemovable[i/8] |= mask; in usb_hub_adjust_deviceremovable() 6401 u16 port_removable = le16_to_cpu(desc->u.ss.DeviceRemovable); in usb_hub_adjust_deviceremovable() 6417 desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable); in usb_hub_adjust_deviceremovable()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | dummy_hcd.c | 2087 desc->u.ss.DeviceRemovable = 0; in ss_hub_descriptor() 2099 desc->u.hs.DeviceRemovable[0] = 0; in hub_descriptor() 2100 desc->u.hs.DeviceRemovable[1] = 0xff; /* PortPwrCtrlMask */ in hub_descriptor()
|
/openbmc/linux/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 2156 memset(&desc->u.hs.DeviceRemovable[0], 0, temp); in isp1760_hub_descriptor() 2157 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in isp1760_hub_descriptor()
|
/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 1448 memset(&desc->u.hs.DeviceRemovable[0], 0, temp); in fotg210_hub_descriptor() 1449 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in fotg210_hub_descriptor()
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | hcd.c | 3517 hub_desc->u.hs.DeviceRemovable[0] = 0; in dwc2_hcd_hub_control() 3518 hub_desc->u.hs.DeviceRemovable[1] = 0xff; in dwc2_hcd_hub_control()
|