Searched refs:portstatus (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/drivers/usb/core/ |
D | hub.c | 105 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument 109 if (portstatus & USB_PORT_STAT_HIGH_SPEED) in portspeed() 111 else if (portstatus & USB_PORT_STAT_LOW_SPEED) in portspeed() 899 u16 portchange, portstatus; in hub_usb3_port_disable() local 904 ret = hub_port_status(hub, port1, &portstatus, &portchange); in hub_usb3_port_disable() 916 if ((portstatus & USB_PORT_STAT_LINK_STATE) == in hub_usb3_port_disable() 929 ret = hub_port_status(hub, port1, &portstatus, &portchange); in hub_usb3_port_disable() 933 if ((portstatus & USB_PORT_STAT_LINK_STATE) == in hub_usb3_port_disable() 1131 u16 portstatus, portchange; in hub_activate() local 1133 portstatus = portchange = 0; in hub_activate() [all …]
|
/linux-4.4.14/drivers/usb/host/ |
D | ohci-hub.c | 99 __hc32 __iomem *portstat = ohci->regs->roothub.portstatus; in ohci_rh_suspend() 584 status = ohci_readl(ohci, &ohci->regs->roothub.portstatus [port]); in ohci_start_port_reset() 589 ohci_writel(ohci, RH_PS_PRS, &ohci->regs->roothub.portstatus [port]); in ohci_start_port_reset() 616 __hc32 __iomem *portstat = &ohci->regs->roothub.portstatus [port]; in root_port_reset() 732 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control() 775 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control() 779 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control()
|
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()
|
D | ohci.h | 240 __hc32 portstatus [MAX_ROOT_PORTS]; member 724 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()
|
D | u132-hcd.c | 464 retval = u132_read_pcimem(u132, roothub.portstatus[i], in read_roothub_info() 1655 roothub.portstatus[temp], RH_PS_LSDA); in u132_run() 2629 roothub.portstatus[port], &rh_portstatus); in u132_roothub_portstatus() 2660 roothub.portstatus[port_index], &portstat); in u132_roothub_portreset() 2673 roothub.portstatus[port_index], in u132_roothub_portreset() 2681 retval = u132_write_pcimem(u132, roothub.portstatus[port_index], in u132_roothub_portreset() 2706 roothub.portstatus[port_index], RH_PS_PSS); in u132_roothub_setportfeature() 2709 roothub.portstatus[port_index], RH_PS_PPS); in u132_roothub_setportfeature() 2761 return u132_write_pcimem(u132, roothub.portstatus[port_index], in u132_roothub_clearportfeature()
|
D | ohci-omap.c | 187 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]); in start_hnp()
|
D | ohci-hcd.c | 1132 &ohci->regs->roothub.portstatus[port]); in ohci_resume()
|
/linux-4.4.14/drivers/staging/wlan-ng/ |
D | prism2sta.c | 1231 u16 portstatus; in prism2sta_processing_defer() local 1265 &portstatus); in prism2sta_processing_defer() 1273 (portstatus == HFA384x_PSTATUS_CONN_IBSS) ? in prism2sta_processing_defer()
|
/linux-4.4.14/drivers/usb/misc/ |
D | ftdi-elan.c | 2330 roothub.portstatus[temp], RH_PS_LSDA); in ftdi_elan_check_controller() 2454 u32 portstatus; in ftdi_elan_check_controller() local 2455 retval = ftdi_read_pcimem(ftdi, roothub.portstatus[temp], in ftdi_elan_check_controller() 2456 &portstatus); in ftdi_elan_check_controller() 2459 if (1 & portstatus) in ftdi_elan_check_controller()
|