/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_hub.c | 167 if ((clear | set) & USB_PORT_STAT_POWER) { in clrset_post_state() 172 if (set & USB_PORT_STAT_POWER) { in clrset_post_state() 185 } else if (clear & USB_PORT_STAT_POWER) { in clrset_post_state()
|
/openbmc/linux/drivers/usb/host/ |
H A D | fhci-hub.c | 248 ~USB_PORT_STAT_POWER; in fhci_hub_control() 318 USB_PORT_STAT_POWER; in fhci_hub_control()
|
H A D | xen-hcd.c | 153 if (info->ports[port].status & USB_PORT_STAT_POWER) { in xenhcd_set_connect_state() 249 if ((info->ports[port].status & USB_PORT_STAT_POWER) == 0) { in xenhcd_rhport_power_on() 250 info->ports[port].status |= USB_PORT_STAT_POWER; in xenhcd_rhport_power_on() 269 if (info->ports[port].status & USB_PORT_STAT_POWER) { in xenhcd_rhport_power_off() 530 if (info->ports[wIndex-1].status & USB_PORT_STAT_POWER) in xenhcd_hub_control()
|
H A D | sl811-hcd.c | 84 if (sl811->port1 & USB_PORT_STAT_POWER) in port_power() 87 sl811->port1 = USB_PORT_STAT_POWER; in port_power() 1147 | USB_PORT_STAT_POWER; in sl811h_timer() 1245 sl811->port1 &= USB_PORT_STAT_POWER; in sl811h_hub_control() 1317 if (!(sl811->port1 & USB_PORT_STAT_POWER)) in sl811h_hub_control()
|
H A D | uhci-hub.c | 294 wPortStatus = USB_PORT_STAT_POWER; in uhci_hub_control()
|
H A D | max3421-hcd.c | 1742 max3421_hcd->port_status |= USB_PORT_STAT_POWER; in max3421_hub_control() 1750 if ((max3421_hcd->port_status & USB_PORT_STAT_POWER) in max3421_hub_control()
|
H A D | ehci-hub.c | 1013 status |= USB_PORT_STAT_POWER; in ehci_hub_control()
|
H A D | r8a66597-hcd.c | 2170 rh->port &= ~USB_PORT_STAT_POWER; in r8a66597_hub_control() 2211 rh->port |= USB_PORT_STAT_POWER; in r8a66597_hub_control()
|
H A D | xhci-hub.c | 1098 *status |= USB_PORT_STAT_POWER; in xhci_get_usb2_port_status()
|
H A D | xhci-tegra.c | 1298 u32 stat_power = main ? USB_PORT_STAT_POWER : USB_SS_PORT_STAT_POWER; in tegra_xhci_set_port_power()
|
/openbmc/linux/include/uapi/linux/usb/ |
H A D | ch11.h | 130 #define USB_PORT_STAT_POWER 0x0100 macro
|
/openbmc/u-boot/include/ |
H A D | usb_defs.h | 255 #define USB_PORT_STAT_POWER 0x0100 macro
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | sl811-hcd.c | 609 rh_status.wPortStatus &= ~USB_PORT_STAT_POWER; in sl811_rh_submit_urb() 649 rh_status.wPortStatus |= USB_PORT_STAT_POWER; in sl811_rh_submit_urb()
|
H A D | dwc2.c | 559 port_status |= USB_PORT_STAT_POWER; in dwc_otg_submit_rh_msg_in_status()
|
H A D | xhci.c | 1016 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8; in xhci_submit_root()
|
H A D | ehci-hcd.c | 784 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8; in ehci_submit_root()
|
/openbmc/linux/drivers/usb/musb/ |
H A D | da8xx.c | 283 portstate(musb->port1_status |= USB_PORT_STAT_POWER); in da8xx_musb_interrupt() 297 portstate(musb->port1_status &= ~USB_PORT_STAT_POWER); in da8xx_musb_interrupt()
|
H A D | musb_virthub.c | 200 musb->port1_status = USB_PORT_STAT_POWER in musb_root_disconnect()
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | am35x.c | 310 portstate(musb->port1_status |= USB_PORT_STAT_POWER); in am35x_musb_interrupt() 317 portstate(musb->port1_status &= ~USB_PORT_STAT_POWER); in am35x_musb_interrupt()
|
/openbmc/linux/drivers/usb/c67x00/ |
H A D | c67x00-hcd.c | 94 wPortStatus = USB_PORT_STAT_POWER; in c67x00_hub_control()
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 394 vhci_hcd->port_status[rhport] &= ~USB_PORT_STAT_POWER; in vhci_hub_control() 557 vhci_hcd->port_status[rhport] |= USB_PORT_STAT_POWER; in vhci_hub_control() 612 USB_PORT_STAT_POWER) != 0) { in vhci_hub_control()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | dummy_hcd.c | 402 if ((dum_hcd->port_status & USB_PORT_STAT_POWER) == 0) { in set_link_state_by_speed() 448 USB_SS_PORT_STAT_POWER : USB_PORT_STAT_POWER); in set_link_state() 2145 dum_hcd->port_status &= ~USB_PORT_STAT_POWER; in dummy_hub_control() 2287 dum_hcd->port_status |= USB_PORT_STAT_POWER; in dummy_hub_control()
|
/openbmc/u-boot/common/ |
H A D | usb_hub.c | 146 tmp |= USB_PORT_STAT_POWER; in usb_get_port_status()
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | hub.c | 754 stat |= USB_PORT_STAT_POWER; in ast_vhub_get_port_stat()
|
/openbmc/linux/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 2372 status |= USB_PORT_STAT_POWER; in isp1760_hub_control()
|