Searched refs:portstatus (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/usb/core/ |
| H A D | hub.c | 145 u16 portstatus); 147 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument 153 if (portstatus & USB_PORT_STAT_HIGH_SPEED) in portspeed() 155 else if (portstatus & USB_PORT_STAT_LOW_SPEED) in portspeed() 1182 u16 portstatus, portchange; in hub_activate() local 1184 portstatus = portchange = 0; in hub_activate() 1185 status = usb_hub_port_status(hub, port1, &portstatus, &portchange); in hub_activate() 1189 if (udev || (portstatus & USB_PORT_STAT_CONNECTION)) in hub_activate() 1191 portstatus, portchange); in hub_activate() 1199 if ((portstatus & USB_PORT_STAT_ENABLE) && ( in hub_activate() [all …]
|
| H A D | hub.h | 141 extern int usb_port_is_power_on(struct usb_hub *hub, unsigned int portstatus);
|
| H A D | port.c | 58 u16 portstatus, unused; in disable_show() local 85 usb_hub_port_status(hub, port1, &portstatus, &unused); in disable_show() 86 disabled = !usb_port_is_power_on(hub, portstatus); in disable_show()
|
| /linux/drivers/usb/host/ |
| H A D | ohci-hub.c | 103 __hc32 __iomem *portstat = ohci->regs->roothub.portstatus; in ohci_rh_suspend() 590 status = ohci_readl(ohci, &ohci->regs->roothub.portstatus [port]); in ohci_start_port_reset() 595 ohci_writel(ohci, RH_PS_PRS, &ohci->regs->roothub.portstatus [port]); in ohci_start_port_reset() 622 __hc32 __iomem *portstat = &ohci->regs->roothub.portstatus [port]; in root_port_reset() 739 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control() 782 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control() 786 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control()
|
| H A D | uhci-hcd.c | 822 unsigned int portstatus; in uhci_count_ports() local 824 portstatus = uhci_readw(uhci, USBPORTSC1 + (port * 2)); in uhci_count_ports() 825 if (!(portstatus & 0x0080) || portstatus == 0xffff) in uhci_count_ports()
|
| H A D | ohci.h | 241 __hc32 portstatus [MAX_ROOT_PORTS]; member 725 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()
|
| H A D | ohci-omap.c | 81 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]); in start_hnp()
|
| H A D | ohci-hcd.c | 1170 &ohci->regs->roothub.portstatus[port]); in ohci_resume()
|
| /linux/drivers/net/ethernet/ti/icssm/ |
| H A D | icssm_prueth.c | 1100 bool portstatus[PRUETH_NUM_MACS]; in icssm_prueth_change_mode() local 1114 portstatus[i] = netif_running(ndev); in icssm_prueth_change_mode() 1115 if (!portstatus[i]) in icssm_prueth_change_mode() 1141 if (!portstatus[i]) in icssm_prueth_change_mode()
|