/linux-6.1.9/include/uapi/linux/usb/ |
D | ch11.h | 274 __u8 DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8]; member 281 __le16 DeviceRemovable; member
|
/linux-6.1.9/drivers/usb/host/ |
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()
|
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()
|
D | ehci-hub.c | 713 memset(&desc->u.hs.DeviceRemovable[0], 0, temp); in ehci_hub_descriptor() 714 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in ehci_hub_descriptor()
|
D | u132-hcd.c | 2587 memset(desc->u.hs.DeviceRemovable, 0xff, in u132_roothub_descriptor() 2588 sizeof(desc->u.hs.DeviceRemovable)); in u132_roothub_descriptor() 2589 desc->u.hs.DeviceRemovable[0] = rh_b & RH_B_DR; in u132_roothub_descriptor() 2591 desc->u.hs.DeviceRemovable[1] = (rh_b & RH_B_DR) >> 8; in u132_roothub_descriptor() 2592 desc->u.hs.DeviceRemovable[2] = 0xff; in u132_roothub_descriptor() 2594 desc->u.hs.DeviceRemovable[1] = 0xff; in u132_roothub_descriptor()
|
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()
|
D | sl811-hcd.c | 1117 desc->u.hs.DeviceRemovable[0] = 0 << 1; in sl811h_hub_descriptor() 1118 desc->u.hs.DeviceRemovable[1] = ~0; in sl811h_hub_descriptor()
|
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()
|
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()
|
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()
|
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()
|
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()
|
D | fotg210-hcd.c | 1452 memset(&desc->u.hs.DeviceRemovable[0], 0, temp); in fotg210_hub_descriptor() 1453 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in fotg210_hub_descriptor()
|
/linux-6.1.9/drivers/usb/musb/ |
D | musb_virthub.c | 338 desc->u.hs.DeviceRemovable[0] = 0x02; /* port 1 */ in musb_hub_control() 339 desc->u.hs.DeviceRemovable[1] = 0xff; in musb_hub_control()
|
/linux-6.1.9/drivers/usb/usbip/ |
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()
|
/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/ |
D | hub.c | 140 .u.hs.DeviceRemovable[0] = 0, 141 .u.hs.DeviceRemovable[1] = 0xff,
|
/linux-6.1.9/drivers/usb/renesas_usbhs/ |
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()
|
/linux-6.1.9/drivers/usb/core/ |
D | hub.c | 1474 portstr[i] = hub->descriptor->u.hs.DeviceRemovable in hub_configure() 2487 if (le16_to_cpu(hub->descriptor->u.ss.DeviceRemovable) in set_usb_port_removable() 2491 if (hub->descriptor->u.hs.DeviceRemovable[port / 8] & (1 << (port % 8))) in set_usb_port_removable() 6243 if (!(desc->u.hs.DeviceRemovable[i/8] & mask)) { in usb_hub_adjust_deviceremovable() 6245 desc->u.hs.DeviceRemovable[i/8] |= mask; in usb_hub_adjust_deviceremovable() 6250 u16 port_removable = le16_to_cpu(desc->u.ss.DeviceRemovable); in usb_hub_adjust_deviceremovable() 6266 desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable); in usb_hub_adjust_deviceremovable()
|
/linux-6.1.9/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 2077 desc->u.ss.DeviceRemovable = 0; in ss_hub_descriptor() 2089 desc->u.hs.DeviceRemovable[0] = 0; in hub_descriptor() 2090 desc->u.hs.DeviceRemovable[1] = 0xff; /* PortPwrCtrlMask */ in hub_descriptor()
|
/linux-6.1.9/drivers/usb/isp1760/ |
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()
|
/linux-6.1.9/drivers/usb/dwc2/ |
D | hcd.c | 3511 hub_desc->u.hs.DeviceRemovable[0] = 0; in dwc2_hcd_hub_control() 3512 hub_desc->u.hs.DeviceRemovable[1] = 0xff; in dwc2_hcd_hub_control()
|