Home
last modified time | relevance | path

Searched refs:portstatus (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/core/
Dhub.c119 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument
123 if (portstatus & USB_PORT_STAT_HIGH_SPEED) in portspeed()
125 else if (portstatus & USB_PORT_STAT_LOW_SPEED) in portspeed()
877 u16 portchange, portstatus; in hub_usb3_port_disable() local
888 ret = hub_port_status(hub, port1, &portstatus, &portchange); in hub_usb3_port_disable()
892 if ((portstatus & USB_PORT_STAT_LINK_STATE) == in hub_usb3_port_disable()
1084 u16 portstatus, portchange; in hub_activate() local
1086 portstatus = portchange = 0; in hub_activate()
1087 status = hub_port_status(hub, port1, &portstatus, &portchange); in hub_activate()
1088 if (udev || (portstatus & USB_PORT_STAT_CONNECTION)) in hub_activate()
[all …]
/drivers/usb/host/
Dohci-hub.c563 status = ohci_readl(ohci, &ohci->regs->roothub.portstatus [port]); in ohci_start_port_reset()
568 ohci_writel(ohci, RH_PS_PRS, &ohci->regs->roothub.portstatus [port]); in ohci_start_port_reset()
595 __hc32 __iomem *portstat = &ohci->regs->roothub.portstatus [port]; in root_port_reset()
711 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control()
756 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control()
760 &ohci->regs->roothub.portstatus [wIndex]); in ohci_hub_control()
Duhci-hcd.c820 unsigned int portstatus; in uhci_count_ports() local
822 portstatus = uhci_readw(uhci, USBPORTSC1 + (port * 2)); in uhci_count_ports()
823 if (!(portstatus & 0x0080) || portstatus == 0xffff) in uhci_count_ports()
Dohci.h232 __hc32 portstatus [MAX_ROOT_PORTS]; member
720 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()
Du132-hcd.c464 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()
Dohci-omap.c180 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]); in start_hnp()
Dohci-hcd.c1077 &ohci->regs->roothub.portstatus[port]); in ohci_resume()
/drivers/staging/wlan-ng/
Dprism2sta.c1256 u16 portstatus; in prism2sta_processing_defer() local
1290 &portstatus); in prism2sta_processing_defer()
1298 (portstatus == HFA384x_PSTATUS_CONN_IBSS) ? in prism2sta_processing_defer()
/drivers/usb/misc/
Dftdi-elan.c2361 roothub.portstatus[temp], RH_PS_LSDA); in ftdi_elan_check_controller()
2486 u32 portstatus; in ftdi_elan_check_controller() local
2487 retval = ftdi_read_pcimem(ftdi, roothub.portstatus[temp], in ftdi_elan_check_controller()
2488 &portstatus); in ftdi_elan_check_controller()
2491 if (1 & portstatus) in ftdi_elan_check_controller()