Home
last modified time | relevance | path

Searched refs:USB_PORT_STAT_POWER (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_hub.c167 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 Dfhci-hub.c248 ~USB_PORT_STAT_POWER; in fhci_hub_control()
318 USB_PORT_STAT_POWER; in fhci_hub_control()
H A Dxen-hcd.c153 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 Dsl811-hcd.c84 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 Duhci-hub.c294 wPortStatus = USB_PORT_STAT_POWER; in uhci_hub_control()
H A Dmax3421-hcd.c1742 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 Dehci-hub.c1013 status |= USB_PORT_STAT_POWER; in ehci_hub_control()
H A Dr8a66597-hcd.c2170 rh->port &= ~USB_PORT_STAT_POWER; in r8a66597_hub_control()
2211 rh->port |= USB_PORT_STAT_POWER; in r8a66597_hub_control()
H A Dxhci-hub.c1098 *status |= USB_PORT_STAT_POWER; in xhci_get_usb2_port_status()
H A Dxhci-tegra.c1298 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 Dch11.h130 #define USB_PORT_STAT_POWER 0x0100 macro
/openbmc/u-boot/include/
H A Dusb_defs.h255 #define USB_PORT_STAT_POWER 0x0100 macro
/openbmc/u-boot/drivers/usb/host/
H A Dsl811-hcd.c609 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 Ddwc2.c559 port_status |= USB_PORT_STAT_POWER; in dwc_otg_submit_rh_msg_in_status()
H A Dxhci.c1016 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8; in xhci_submit_root()
H A Dehci-hcd.c784 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8; in ehci_submit_root()
/openbmc/linux/drivers/usb/musb/
H A Dda8xx.c283 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 Dmusb_virthub.c200 musb->port1_status = USB_PORT_STAT_POWER in musb_root_disconnect()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dam35x.c310 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 Dc67x00-hcd.c94 wPortStatus = USB_PORT_STAT_POWER; in c67x00_hub_control()
/openbmc/linux/drivers/usb/usbip/
H A Dvhci_hcd.c394 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 Ddummy_hcd.c402 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 Dusb_hub.c146 tmp |= USB_PORT_STAT_POWER; in usb_get_port_status()
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dhub.c754 stat |= USB_PORT_STAT_POWER; in ast_vhub_get_port_stat()
/openbmc/linux/drivers/usb/isp1760/
H A Disp1760-hcd.c2372 status |= USB_PORT_STAT_POWER; in isp1760_hub_control()

12