Home
last modified time | relevance | path

Searched refs:wPortStatus (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dfhci-hub.c101 usb->vroot_hub->port.wPortStatus &= ~USB_PORT_STAT_ENABLE; in fhci_port_disable()
122 usb->vroot_hub->port.wPortStatus |= USB_PORT_STAT_ENABLE; in fhci_port_enable()
230 fhci->vroot_hub->port.wPortStatus &= in fhci_hub_control()
239 fhci->vroot_hub->port.wPortStatus &= in fhci_hub_control()
248 fhci->vroot_hub->port.wPortStatus &= in fhci_hub_control()
280 port_status->wPortStatus = in fhci_hub_control()
281 cpu_to_le16(fhci->vroot_hub->port.wPortStatus); in fhci_hub_control()
299 fhci->vroot_hub->port.wPortStatus |= in fhci_hub_control()
304 fhci->vroot_hub->port.wPortStatus |= in fhci_hub_control()
309 fhci->vroot_hub->port.wPortStatus |= in fhci_hub_control()
[all …]
H A Duhci-hub.c250 u16 wPortChange, wPortStatus; in uhci_hub_control() local
294 wPortStatus = USB_PORT_STAT_POWER; in uhci_hub_control()
296 wPortStatus |= USB_PORT_STAT_CONNECTION; in uhci_hub_control()
298 wPortStatus |= USB_PORT_STAT_ENABLE; in uhci_hub_control()
300 wPortStatus |= USB_PORT_STAT_SUSPEND; in uhci_hub_control()
303 wPortStatus |= USB_PORT_STAT_OVERCURRENT; in uhci_hub_control()
305 wPortStatus |= USB_PORT_STAT_RESET; in uhci_hub_control()
307 wPortStatus |= USB_PORT_STAT_LOW_SPEED; in uhci_hub_control()
313 *(__le16 *)buf = cpu_to_le16(wPortStatus); in uhci_hub_control()
H A Dfhci-sched.c404 (usb->vroot_hub->port.wPortStatus & USB_PORT_STAT_CONNECTION) && in sof_interrupt()
406 if (usb->vroot_hub->port.wPortStatus & USB_PORT_STAT_LOW_SPEED) in sof_interrupt()
440 usb->vroot_hub->port.wPortStatus &= ~USB_PORT_STAT_CONNECTION; in fhci_device_disconnected_interrupt()
472 usb->vroot_hub->port.wPortStatus |= in fhci_device_connected_interrupt()
490 usb->vroot_hub->port.wPortStatus &= in fhci_device_connected_interrupt()
492 usb->vroot_hub->port.wPortStatus |= in fhci_device_connected_interrupt()
H A Dfhci-hcd.c351 fhci->vroot_hub->port.wPortStatus = 0; in fhci_start()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dsl811-hcd.c148 rh_status.wPortStatus &= ~(USB_PORT_STAT_CONNECTION | USB_PORT_STAT_ENABLE); in sl811_hc_reset()
171 rh_status.wPortStatus |= USB_PORT_STAT_CONNECTION; in sl811_hc_reset()
172 rh_status.wPortStatus &= ~USB_PORT_STAT_LOW_SPEED; in sl811_hc_reset()
186 rh_status.wPortStatus |= USB_PORT_STAT_CONNECTION | USB_PORT_STAT_LOW_SPEED; in sl811_hc_reset()
220 int need_preamble = !(rh_status.wPortStatus & USB_PORT_STAT_LOW_SPEED) && in sl811_send_packet()
241 if (!(rh_status.wPortStatus & USB_PORT_STAT_LOW_SPEED) && in sl811_send_packet()
579 *(__u32 *)bufp = cpu_to_le32(rh_status.wPortChange<<16 | rh_status.wPortStatus); in sl811_rh_submit_urb()
602 rh_status.wPortStatus &= ~USB_PORT_STAT_ENABLE; in sl811_rh_submit_urb()
606 rh_status.wPortStatus &= ~USB_PORT_STAT_SUSPEND; in sl811_rh_submit_urb()
610 rh_status.wPortStatus &= ~USB_PORT_STAT_POWER; in sl811_rh_submit_urb()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/c67x00/
H A Dc67x00-hcd.c74 u16 wPortChange, wPortStatus; in c67x00_hub_control() local
94 wPortStatus = USB_PORT_STAT_POWER; in c67x00_hub_control()
96 wPortStatus |= USB_PORT_STAT_CONNECTION; in c67x00_hub_control()
98 wPortStatus |= USB_PORT_STAT_LOW_SPEED; in c67x00_hub_control()
104 wPortStatus |= USB_PORT_STAT_ENABLE; in c67x00_hub_control()
106 *(__le16 *) buf = cpu_to_le16(wPortStatus); in c67x00_hub_control()
/OK3568_Linux_fs/u-boot/common/
H A Dusb_hub.c146 u16 tmp = (status->wPortStatus) & USB_SS_PORT_STAT_MASK; in usb_get_port_status()
148 if (status->wPortStatus & USB_SS_PORT_STAT_POWER) in usb_get_port_status()
150 if ((status->wPortStatus & USB_SS_PORT_STAT_SPEED) == in usb_get_port_status()
154 status->wPortStatus = tmp; in usb_get_port_status()
297 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_reset()
358 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_connect_change()
468 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_scan_port()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/usb/
H A Dch11.h116 __le16 wPortStatus; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/usb/
H A Dch11.h116 __le16 wPortStatus; member
/OK3568_Linux_fs/kernel/include/uapi/linux/usb/
H A Dch11.h116 __le16 wPortStatus; member
/OK3568_Linux_fs/u-boot/drivers/usb/emul/
H A Dsandbox_hub.c239 portsts->wPortStatus = priv->status[port]; in sandbox_hub_submit_control_msg()
/OK3568_Linux_fs/kernel/drivers/usb/misc/
H A Dlvstest.c363 if (le16_to_cpu(port_status->wPortStatus) & in lvs_rh_work()
/OK3568_Linux_fs/u-boot/include/
H A Dusb.h531 unsigned short wPortStatus; member
/OK3568_Linux_fs/kernel/drivers/usb/core/
H A Dhub.c604 *status = le16_to_cpu(hub->status->port.wPortStatus); in hub_ext_port_status()