Searched refs:portstatus (Results 1 – 9 of 9) sorted by relevance
/drivers/usb/core/ |
D | hub.c | 107 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument 111 if (portstatus & USB_PORT_STAT_HIGH_SPEED) in portspeed() 113 else if (portstatus & USB_PORT_STAT_LOW_SPEED) in portspeed() 1087 u16 portstatus, portchange; in hub_activate() local 1089 portstatus = portchange = 0; in hub_activate() 1090 status = hub_port_status(hub, port1, &portstatus, &portchange); in hub_activate() 1091 if (udev || (portstatus & USB_PORT_STAT_CONNECTION)) in hub_activate() 1093 portstatus, portchange); in hub_activate() 1101 if ((portstatus & USB_PORT_STAT_ENABLE) && ( in hub_activate() 1103 !(portstatus & USB_PORT_STAT_CONNECTION) || in hub_activate() [all …]
|
/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 725 { 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() 1658 roothub.portstatus[temp], RH_PS_LSDA); in u132_run() 2633 roothub.portstatus[port], &rh_portstatus); in u132_roothub_portstatus() 2664 roothub.portstatus[port_index], &portstat); in u132_roothub_portreset() 2677 roothub.portstatus[port_index], in u132_roothub_portreset() 2685 retval = u132_write_pcimem(u132, roothub.portstatus[port_index], in u132_roothub_portreset() 2711 roothub.portstatus[port_index], RH_PS_PSS); in u132_roothub_setportfeature() 2717 roothub.portstatus[port_index], RH_PS_PPS); in u132_roothub_setportfeature() 2776 retval = 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 | 1131 &ohci->regs->roothub.portstatus[port]); in ohci_resume()
|
/drivers/staging/wlan-ng/ |
D | prism2sta.c | 1223 u16 portstatus; in prism2sta_processing_defer() local 1257 &portstatus); in prism2sta_processing_defer() 1265 (portstatus == HFA384x_PSTATUS_CONN_IBSS) ? in prism2sta_processing_defer()
|
/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()
|