Home
last modified time | relevance | path

Searched refs:DeviceRemovable (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/include/uapi/linux/usb/
H A Dch11.h272 __u8 DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8]; member
279 __le16 DeviceRemovable; member
/openbmc/linux/drivers/usb/host/
H A Dohci-hub.c566 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 Dxhci-hub.c322 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 Dehci-hub.c714 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 Dxen-hcd.c373 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 Disp116x-hcd.c958 desc->u.hs.DeviceRemovable[0] = 0; in isp116x_hub_descriptor()
959 desc->u.hs.DeviceRemovable[1] = ~0; in isp116x_hub_descriptor()
H A Dsl811-hcd.c1119 desc->u.hs.DeviceRemovable[0] = 0 << 1; in sl811h_hub_descriptor()
1120 desc->u.hs.DeviceRemovable[1] = ~0; in sl811h_hub_descriptor()
H A Docteon-hcd.c3406 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 Dr8a66597-hcd.c2134 desc->u.hs.DeviceRemovable[0] = in r8a66597_hub_descriptor()
2136 desc->u.hs.DeviceRemovable[1] = ~0; in r8a66597_hub_descriptor()
H A Disp1362-hcd.c1556 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 Doxu210hp-hcd.c881 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 Dusb_hub.c657 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 Dmusb_virthub.c337 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 Dusb.h567 __u8 DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8]; member
574 __le16 DeviceRemovable; member
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_hub.c99 .DeviceRemovable = {0, 0xff}
/openbmc/linux/drivers/usb/usbip/
H A Dvhci_hcd.c295 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 Dhub.c139 .u.hs.DeviceRemovable[0] = 0,
140 .u.hs.DeviceRemovable[1] = 0xff,
/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dmod_host.c1225 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 Dhub.c1493 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 Ddummy_hcd.c2087 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 Disp1760-hcd.c2156 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 Dfotg210-hcd.c1448 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 Dhcd.c3517 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()