Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/usb/
Dch11.h272 __u8 DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8]; member
279 __le16 DeviceRemovable; member
/linux-6.12.1/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.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()
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.c1119 desc->u.hs.DeviceRemovable[0] = 0 << 1; in sl811h_hub_descriptor()
1120 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.c856 memset(&desc->u.hs.DeviceRemovable[0], 0, temp); in ehci_hub_descriptor()
857 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in ehci_hub_descriptor()
/linux-6.12.1/drivers/usb/musb/
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()
/linux-6.12.1/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.12.1/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c139 .u.hs.DeviceRemovable[0] = 0,
140 .u.hs.DeviceRemovable[1] = 0xff,
/linux-6.12.1/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.12.1/drivers/usb/core/
Dhub.c1522 portstr[i] = hub->descriptor->u.hs.DeviceRemovable in hub_configure()
2562 if (le16_to_cpu(hub->descriptor->u.ss.DeviceRemovable) in set_usb_port_removable()
2566 if (hub->descriptor->u.hs.DeviceRemovable[port / 8] & (1 << (port % 8))) in set_usb_port_removable()
6426 if (!(desc->u.hs.DeviceRemovable[i/8] & mask)) { in usb_hub_adjust_deviceremovable()
6428 desc->u.hs.DeviceRemovable[i/8] |= mask; in usb_hub_adjust_deviceremovable()
6433 u16 port_removable = le16_to_cpu(desc->u.ss.DeviceRemovable); in usb_hub_adjust_deviceremovable()
6449 desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable); in usb_hub_adjust_deviceremovable()
/linux-6.12.1/drivers/usb/gadget/udc/
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()
/linux-6.12.1/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.12.1/drivers/usb/fotg210/
Dfotg210-hcd.c1444 memset(&desc->u.hs.DeviceRemovable[0], 0, temp); in fotg210_hub_descriptor()
1445 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in fotg210_hub_descriptor()
/linux-6.12.1/drivers/usb/dwc2/
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()