Home
last modified time | relevance | path

Searched refs:wPortChange (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/usb/host/
H A Dfhci-hub.c101 usb->vroot_hub->port.wPortChange |= USB_PORT_STAT_C_ENABLE; in fhci_port_disable()
122 usb->vroot_hub->port.wPortChange |= USB_PORT_STAT_C_ENABLE; in fhci_port_enable()
186 if (fhci->vroot_hub->port.wPortChange & (USB_PORT_STAT_C_CONNECTION | in fhci_hub_status_data()
234 fhci->vroot_hub->port.wPortChange &= in fhci_hub_control()
243 fhci->vroot_hub->port.wPortChange &= in fhci_hub_control()
252 fhci->vroot_hub->port.wPortChange &= in fhci_hub_control()
256 fhci->vroot_hub->port.wPortChange &= in fhci_hub_control()
260 fhci->vroot_hub->port.wPortChange &= in fhci_hub_control()
281 port_status->wPortChange = in fhci_hub_control()
282 cpu_to_le16(fhci->vroot_hub->port.wPortChange); in fhci_hub_control()
H A Duhci-hub.c250 u16 wPortChange, wPortStatus; in uhci_hub_control() local
278 wPortChange = lstatus = 0; in uhci_hub_control()
280 wPortChange |= USB_PORT_STAT_C_CONNECTION; in uhci_hub_control()
282 wPortChange |= USB_PORT_STAT_C_ENABLE; in uhci_hub_control()
284 wPortChange |= USB_PORT_STAT_C_OVERCURRENT; in uhci_hub_control()
287 wPortChange |= USB_PORT_STAT_C_SUSPEND; in uhci_hub_control()
309 if (wPortChange) in uhci_hub_control()
314 *(__le16 *)(buf + 2) = cpu_to_le16(wPortChange); in uhci_hub_control()
H A Dfhci-sched.c405 !(usb->vroot_hub->port.wPortChange & USB_PORT_STAT_C_CONNECTION)) { in sof_interrupt()
441 usb->vroot_hub->port.wPortChange |= USB_PORT_STAT_C_CONNECTION; in fhci_device_disconnected_interrupt()
475 usb->vroot_hub->port.wPortChange |= in fhci_device_connected_interrupt()
494 usb->vroot_hub->port.wPortChange |= in fhci_device_connected_interrupt()
H A Dfhci-hcd.c353 fhci->vroot_hub->port.wPortChange = 0; in fhci_start()
/openbmc/qemu/hw/usb/
H A Ddev-hub.c42 uint16_t wPortChange; member
222 port->wPortChange |= status; in usb_hub_port_change()
372 port->wPortChange = 0; in usb_hub_handle_reset()
440 port->wPortChange); in usb_hub_handle_control()
443 data[2] = port->wPortChange; in usb_hub_handle_control()
444 data[3] = port->wPortChange >> 8; in usb_hub_handle_control()
510 port->wPortChange &= ~PORT_STAT_C_ENABLE; in usb_hub_handle_control()
516 port->wPortChange &= ~PORT_STAT_C_SUSPEND; in usb_hub_handle_control()
519 port->wPortChange &= ~PORT_STAT_C_CONNECTION; in usb_hub_handle_control()
522 port->wPortChange &= ~PORT_STAT_C_OVERCURRENT; in usb_hub_handle_control()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dsl811-hcd.c148 rh_status.wPortChange |= USB_PORT_STAT_C_CONNECTION; in sl811_hc_reset()
190 rh_status.wPortChange |= USB_PORT_STAT_C_CONNECTION; in sl811_hc_reset()
578 *(__u32 *)bufp = cpu_to_le32(rh_status.wPortChange<<16 | rh_status.wPortStatus); in sl811_rh_submit_urb()
613 rh_status.wPortChange &= ~USB_PORT_STAT_C_CONNECTION; in sl811_rh_submit_urb()
617 rh_status.wPortChange &= ~USB_PORT_STAT_C_ENABLE; in sl811_rh_submit_urb()
621 rh_status.wPortChange &= ~USB_PORT_STAT_C_SUSPEND; in sl811_rh_submit_urb()
625 rh_status.wPortChange &= ~USB_PORT_STAT_C_OVERCURRENT; in sl811_rh_submit_urb()
629 rh_status.wPortChange &= ~USB_PORT_STAT_C_RESET; in sl811_rh_submit_urb()
642 rh_status.wPortChange = 0; in sl811_rh_submit_urb()
643 rh_status.wPortChange |= USB_PORT_STAT_C_RESET; in sl811_rh_submit_urb()
H A Dusb-uclass.c704 if (le16_to_cpu(status.wPortChange) & in usb_detect_change()
/openbmc/linux/drivers/usb/c67x00/
H A Dc67x00-hcd.c74 u16 wPortChange, wPortStatus; in c67x00_hub_control() local
90 wPortChange = 0; in c67x00_hub_control()
92 wPortChange |= USB_PORT_STAT_C_CONNECTION; in c67x00_hub_control()
107 *(__le16 *) (buf + 2) = cpu_to_le16(wPortChange); in c67x00_hub_control()
/openbmc/u-boot/common/
H A Dusb_hub.c295 portchange = le16_to_cpu(portsts->wPortChange); in usb_hub_port_reset()
358 le16_to_cpu(portsts->wPortChange), in usb_hub_port_connect_change()
466 portchange = le16_to_cpu(portsts->wPortChange); in usb_scan_port()
H A Dusb.c165 if (le16_to_cpu(status.wPortChange) & in usb_detect_change()
/openbmc/linux/include/uapi/linux/usb/
H A Dch11.h115 __le16 wPortChange; member
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_hub.c237 portsts->wPortChange = priv->change[port]; in sandbox_hub_submit_control_msg()
/openbmc/linux/drivers/usb/misc/
H A Dlvstest.c345 portchange = le16_to_cpu(port_status->wPortChange); in lvs_rh_work()
/openbmc/u-boot/include/
H A Dusb.h531 unsigned short wPortChange; member
/openbmc/linux/drivers/usb/core/
H A Dhub.c629 *change = le16_to_cpu(hub->status->port.wPortChange); in hub_ext_port_status()