Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/host/
H A Dfhci-hub.c229 fhci->vroot_hub->port.wPortStatus &= in fhci_hub_control()
238 fhci->vroot_hub->port.wPortStatus &= in fhci_hub_control()
247 fhci->vroot_hub->port.wPortStatus &= in fhci_hub_control()
279 port_status->wPortStatus = in fhci_hub_control()
280 cpu_to_le16(fhci->vroot_hub->port.wPortStatus); in fhci_hub_control()
298 fhci->vroot_hub->port.wPortStatus |= in fhci_hub_control()
303 fhci->vroot_hub->port.wPortStatus |= in fhci_hub_control()
308 fhci->vroot_hub->port.wPortStatus |= in fhci_hub_control()
311 fhci->vroot_hub->port.wPortStatus |= in fhci_hub_control()
313 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.c352 fhci->vroot_hub->port.wPortStatus = 0; in fhci_start()
/openbmc/u-boot/drivers/usb/host/
H A Dsl811-hcd.c170 rh_status.wPortStatus |= USB_PORT_STAT_CONNECTION; in sl811_hc_reset()
171 rh_status.wPortStatus &= ~USB_PORT_STAT_LOW_SPEED; in sl811_hc_reset()
601 rh_status.wPortStatus &= ~USB_PORT_STAT_ENABLE; in sl811_rh_submit_urb()
605 rh_status.wPortStatus &= ~USB_PORT_STAT_SUSPEND; in sl811_rh_submit_urb()
609 rh_status.wPortStatus &= ~USB_PORT_STAT_POWER; in sl811_rh_submit_urb()
637 rh_status.wPortStatus |= USB_PORT_STAT_SUSPEND; in sl811_rh_submit_urb()
641 rh_status.wPortStatus |= USB_PORT_STAT_RESET; in sl811_rh_submit_urb()
644 rh_status.wPortStatus &= ~USB_PORT_STAT_RESET; in sl811_rh_submit_urb()
645 rh_status.wPortStatus |= USB_PORT_STAT_ENABLE; in sl811_rh_submit_urb()
649 rh_status.wPortStatus |= USB_PORT_STAT_POWER; in sl811_rh_submit_urb()
[all …]
/openbmc/qemu/hw/usb/
H A Ddev-hub.c41 uint16_t wPortStatus; member
182 if (port->wPortStatus & status) { in usb_hub_port_set()
185 port->wPortStatus |= status; in usb_hub_port_set()
191 if (!(port->wPortStatus & status)) { in usb_hub_port_clear()
194 port->wPortStatus &= ~status; in usb_hub_port_clear()
298 if (!(port->wPortStatus & PORT_STAT_ENABLE)) { in usb_hub_find_device()
318 port->wPortStatus = 0; in usb_hub_handle_reset()
388 data[0] = port->wPortStatus; in usb_hub_handle_control()
389 data[1] = port->wPortStatus >> 8; in usb_hub_handle_control()
417 port->wPortStatus |= PORT_STAT_SUSPEND; in usb_hub_handle_control()
[all …]
/openbmc/linux/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()
/openbmc/u-boot/common/
H A Dusb_hub.c143 u16 tmp = (status->wPortStatus) & USB_SS_PORT_STAT_MASK; in usb_get_port_status()
145 if (status->wPortStatus & USB_SS_PORT_STAT_POWER) in usb_get_port_status()
147 if ((status->wPortStatus & USB_SS_PORT_STAT_SPEED) == in usb_get_port_status()
151 status->wPortStatus = tmp; in usb_get_port_status()
294 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_reset()
355 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_connect_change()
465 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_scan_port()
/openbmc/linux/include/uapi/linux/usb/
H A Dch11.h114 __le16 wPortStatus; member
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_hub.c236 portsts->wPortStatus = priv->status[port]; in sandbox_hub_submit_control_msg()
/openbmc/linux/drivers/usb/misc/
H A Dlvstest.c363 if (le16_to_cpu(port_status->wPortStatus) & in lvs_rh_work()
/openbmc/u-boot/include/
H A Dusb.h530 unsigned short wPortStatus; member
/openbmc/linux/drivers/usb/core/
H A Dhub.c628 *status = le16_to_cpu(hub->status->port.wPortStatus); in hub_ext_port_status()