Home
last modified time | relevance | path

Searched refs:USB_PORT_STAT_ENABLE (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/linux/drivers/usb/host/
H A Dfhci-hub.c100 usb->vroot_hub->port.wPortStatus &= ~USB_PORT_STAT_ENABLE; in fhci_port_disable()
121 usb->vroot_hub->port.wPortStatus |= USB_PORT_STAT_ENABLE; in fhci_port_enable()
230 ~USB_PORT_STAT_ENABLE; in fhci_hub_control()
299 USB_PORT_STAT_ENABLE; in fhci_hub_control()
312 USB_PORT_STAT_ENABLE; in fhci_hub_control()
H A Dxen-hcd.c158 USB_PORT_STAT_ENABLE | in xenhcd_set_connect_state()
284 info->ports[port].status &= ~USB_PORT_STAT_ENABLE; in xenhcd_rhport_disable()
299 info->ports[port].status &= ~(USB_PORT_STAT_ENABLE | in xenhcd_rhport_reset()
494 USB_PORT_STAT_ENABLE; in xenhcd_hub_control()
H A Dsl811-hcd.c739 if (sl811->port1 & USB_PORT_STAT_ENABLE) in sl811h_irq()
824 if (!(sl811->port1 & USB_PORT_STAT_ENABLE) in sl811h_urb_enqueue()
1131 | USB_PORT_STAT_ENABLE in sl811h_timer()
1304 if (!(sl811->port1 & USB_PORT_STAT_ENABLE)) in sl811h_hub_control()
H A Duhci-hub.c298 wPortStatus |= USB_PORT_STAT_ENABLE; in uhci_hub_control()
H A Dmax3421-hcd.c1237 max3421_hcd->port_status |= USB_PORT_STAT_ENABLE; in max3421_handle_irqs()
1456 max3421_hcd->port_status &= ~(USB_PORT_STAT_ENABLE | in max3421_reset_port()
H A Dehci-hub.c994 status |= USB_PORT_STAT_ENABLE; in ehci_hub_control()
H A Dr8a66597-hcd.c1049 rh->port |= USB_PORT_STAT_ENABLE; in r8a66597_usb_connect()
2254 if (!(rh->port & USB_PORT_STAT_ENABLE)) in r8a66597_bus_suspend()
/openbmc/linux/include/uapi/linux/usb/
H A Dch11.h124 #define USB_PORT_STAT_ENABLE 0x0002 macro
148 USB_PORT_STAT_ENABLE | \
/openbmc/u-boot/include/
H A Dusb_defs.h251 #define USB_PORT_STAT_ENABLE 0x0002 macro
272 USB_PORT_STAT_ENABLE | \
/openbmc/u-boot/drivers/usb/host/
H A Dsl811-hcd.c147 rh_status.wPortStatus &= ~(USB_PORT_STAT_CONNECTION | USB_PORT_STAT_ENABLE); in sl811_hc_reset()
601 rh_status.wPortStatus &= ~USB_PORT_STAT_ENABLE; in sl811_rh_submit_urb()
645 rh_status.wPortStatus |= USB_PORT_STAT_ENABLE; in sl811_rh_submit_urb()
653 rh_status.wPortStatus |= USB_PORT_STAT_ENABLE; in sl811_rh_submit_urb()
H A Dr8a66597-hcd.c573 USB_PORT_STAT_ENABLE; in check_usb_device_connecting()
H A Ddwc2.c551 port_status |= USB_PORT_STAT_ENABLE; in dwc_otg_submit_rh_msg_in_status()
H A Dxhci.c999 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in xhci_submit_root()
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dhub.c524 if (p->status & USB_PORT_STAT_ENABLE) in ast_vhub_change_port_stat()
549 USB_PORT_STAT_ENABLE, in ast_vhub_device_connect()
605 USB_PORT_STAT_ENABLE | in ast_vhub_port_reset()
645 set |= USB_PORT_STAT_ENABLE; in ast_vhub_port_reset()
664 if (!(p->status & USB_PORT_STAT_ENABLE)) in ast_vhub_set_port_feature()
708 USB_PORT_STAT_ENABLE | in ast_vhub_clr_port_feature()
/openbmc/u-boot/common/
H A Dusb_hub.c304 (portstatus & USB_PORT_STAT_ENABLE) ? 1 : 0); in usb_hub_port_reset()
323 if (portstatus & USB_PORT_STAT_ENABLE) in usb_hub_port_reset()
366 (!(portstatus & USB_PORT_STAT_ENABLE))) || in usb_hub_port_connect_change()
518 if (!(portstatus & USB_PORT_STAT_ENABLE) && in usb_scan_port()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_virthub.c172 musb->port1_status &= ~USB_PORT_STAT_ENABLE; in musb_port_reset()
189 musb->port1_status |= USB_PORT_STAT_ENABLE in musb_port_reset()
H A Dsunxi.c359 if (musb->port1_status & USB_PORT_STAT_ENABLE) in sunxi_musb_set_mode()
H A Dtusb6010.c711 | USB_PORT_STAT_ENABLE in tusb_otg_ints()
/openbmc/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c382 USB_PORT_STAT_ENABLE); in set_link_state_by_speed()
395 if ((dum_hcd->port_status & USB_PORT_STAT_ENABLE) && in set_link_state_by_speed()
407 USB_PORT_STAT_ENABLE | in set_link_state_by_speed()
421 if ((dum_hcd->port_status & USB_PORT_STAT_ENABLE) == 0) in set_link_state_by_speed()
450 if ((dum_hcd->port_status & USB_PORT_STAT_ENABLE) == 0 || in set_link_state()
500 (dum->port_status & USB_PORT_STAT_ENABLE)
1571 (USB_PORT_STAT_CONNECTION | USB_PORT_STAT_ENABLE | \
1573 == (USB_PORT_STAT_CONNECTION | USB_PORT_STAT_ENABLE))
2211 dum_hcd->port_status |= USB_PORT_STAT_ENABLE; in dummy_hub_control()
2309 dum_hcd->port_status &= ~(USB_PORT_STAT_ENABLE in dummy_hub_control()
/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_hcd.c438 port_status &= ~USB_PORT_STAT_ENABLE; in musb_port_reset()
448 port_status |= USB_PORT_STAT_ENABLE in musb_port_reset()
524 | USB_PORT_STAT_ENABLE; in musb_submit_rh_msg()
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_hub.c178 USB_PORT_STAT_ENABLE; in clrset_post_state()
/openbmc/linux/drivers/usb/c67x00/
H A Dc67x00-hcd.c104 wPortStatus |= USB_PORT_STAT_ENABLE; in c67x00_hub_control()
/openbmc/linux/drivers/usb/usbip/
H A Dvhci_hcd.c471 USB_PORT_STAT_ENABLE; in vhci_hub_control()
587 } else if (vhci_hcd->port_status[rhport] & USB_PORT_STAT_ENABLE) { in vhci_hub_control()
588 vhci_hcd->port_status[rhport] &= ~(USB_PORT_STAT_ENABLE in vhci_hub_control()
/openbmc/linux/drivers/usb/core/
H A Dhub.c1166 if ((portstatus & USB_PORT_STAT_ENABLE) && ( in hub_activate()
1177 portstatus &= ~USB_PORT_STAT_ENABLE; in hub_activate()
1240 } else if (portstatus & USB_PORT_STAT_ENABLE) { in hub_activate()
2955 if (!(portstatus & USB_PORT_STAT_ENABLE)) in hub_port_wait_reset()
3251 else if (!(portstatus & USB_PORT_STAT_ENABLE) && !udev->reset_resume) { in check_port_resume_type()
5381 if (portstatus & USB_PORT_STAT_ENABLE) in hub_port_connect()
5598 if (portstatus & USB_PORT_STAT_ENABLE) { in hub_port_connect_change()
5713 if (!(portstatus & USB_PORT_STAT_ENABLE) in port_event()
/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dmod_host.c1172 usbhsh_port_stat_set(hpriv, USB_PORT_STAT_ENABLE); in __usbhsh_hub_port_feature()

12