Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/core/
Dhub.c124 u16 portstatus);
126 static inline char *portspeed(struct usb_hub *hub, int portstatus) in portspeed() argument
132 if (portstatus & USB_PORT_STAT_HIGH_SPEED) in portspeed()
134 else if (portstatus & USB_PORT_STAT_LOW_SPEED) in portspeed()
1161 u16 portstatus, portchange; in hub_activate() local
1163 portstatus = portchange = 0; in hub_activate()
1164 status = usb_hub_port_status(hub, port1, &portstatus, &portchange); in hub_activate()
1168 if (udev || (portstatus & USB_PORT_STAT_CONNECTION)) in hub_activate()
1170 portstatus, portchange); in hub_activate()
1178 if ((portstatus & USB_PORT_STAT_ENABLE) && ( in hub_activate()
[all …]
Dhub.h135 extern int usb_port_is_power_on(struct usb_hub *hub, unsigned int portstatus);
Dport.c55 u16 portstatus, unused; in disable_show() local
69 usb_hub_port_status(hub, port1, &portstatus, &unused); in disable_show()
70 disabled = !usb_port_is_power_on(hub, portstatus); in disable_show()
/Linux-v6.6/drivers/usb/host/
Dohci-hub.c103 __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()
Duhci-hcd.c823 unsigned int portstatus; in uhci_count_ports() local
825 portstatus = uhci_readw(uhci, USBPORTSC1 + (port * 2)); in uhci_count_ports()
826 if (!(portstatus & 0x0080) || portstatus == 0xffff) in uhci_count_ports()
Dohci.h241 __hc32 portstatus [MAX_ROOT_PORTS]; member
725 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()
Dohci-omap.c81 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]); in start_hnp()
Dohci-hcd.c1161 &ohci->regs->roothub.portstatus[port]); in ohci_resume()
/Linux-v6.6/include/linux/usb/
Dphy.h149 u16 portstatus, u16 portchange);
324 usb_phy_notify_port_status(struct usb_phy *x, int port, u16 portstatus, u16 portchange) in usb_phy_notify_port_status() argument
327 return x->notify_port_status(x, port, portstatus, portchange); in usb_phy_notify_port_status()
/Linux-v6.6/drivers/phy/realtek/
Dphy-rtk-usb3.c329 u16 portstatus, u16 portchange) in rtk_phy_notify_port_status() argument
334 __func__, port, (int)portstatus, (int)portchange); in rtk_phy_notify_port_status()
335 if (portstatus & USB_PORT_STAT_CONNECTION) in rtk_phy_notify_port_status()
Dphy-rtk-usb2.c695 u16 portstatus, u16 portchange) in rtk_phy_notify_port_status() argument
700 __func__, port, (int)portstatus, (int)portchange); in rtk_phy_notify_port_status()
701 if (portstatus & USB_PORT_STAT_CONNECTION) in rtk_phy_notify_port_status()
/Linux-v6.6/drivers/staging/wlan-ng/
Dprism2sta.c1210 u16 portstatus; in prism2sta_processing_defer() local
1243 &portstatus); in prism2sta_processing_defer()
1251 (portstatus == HFA384x_PSTATUS_CONN_IBSS) ? in prism2sta_processing_defer()