Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/usb/
Dch11.h274 __u8 DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8]; member
281 __le16 DeviceRemovable; member
/linux-6.1.9/drivers/usb/host/
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()
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()
Dehci-hub.c713 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()
Du132-hcd.c2587 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()
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()
Dsl811-hcd.c1117 desc->u.hs.DeviceRemovable[0] = 0 << 1; in sl811h_hub_descriptor()
1118 desc->u.hs.DeviceRemovable[1] = ~0; in sl811h_hub_descriptor()
Disp116x-hcd.c958 desc->u.hs.DeviceRemovable[0] = 0; in isp116x_hub_descriptor()
959 desc->u.hs.DeviceRemovable[1] = ~0; in isp116x_hub_descriptor()
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()
Dr8a66597-hcd.c2134 desc->u.hs.DeviceRemovable[0] = in r8a66597_hub_descriptor()
2136 desc->u.hs.DeviceRemovable[1] = ~0; in r8a66597_hub_descriptor()
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()
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()
Dfotg210-hcd.c1452 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/
Dmusb_virthub.c338 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/
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()
/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c140 .u.hs.DeviceRemovable[0] = 0,
141 .u.hs.DeviceRemovable[1] = 0xff,
/linux-6.1.9/drivers/usb/renesas_usbhs/
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()
/linux-6.1.9/drivers/usb/core/
Dhub.c1474 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/
Ddummy_hcd.c2077 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/
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()
/linux-6.1.9/drivers/usb/dwc2/
Dhcd.c3511 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()