Lines Matching refs:port_status

70 			reg = &ehci->regs->port_status[port];  in ehci_handover_companion_ports()
84 reg = &ehci->regs->port_status[port]; in ehci_handover_companion_ports()
121 reg = &ehci->regs->port_status[port]; in ehci_handover_companion_ports()
152 if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) in ehci_port_change()
190 u32 __iomem *reg = &ehci->regs->port_status[port]; in ehci_adjust_port_wakeup_flags()
269 u32 __iomem *reg = &ehci->regs->port_status [port]; in ehci_bus_suspend()
428 temp = ehci_readl(ehci, &ehci->regs->port_status[i]); in ehci_bus_resume()
465 temp = ehci_readl(ehci, &ehci->regs->port_status [i]); in ehci_bus_resume()
472 ehci_writel(ehci, temp, &ehci->regs->port_status [i]); in ehci_bus_resume()
489 temp = ehci_readl(ehci, &ehci->regs->port_status [i]); in ehci_bus_resume()
492 ehci_writel(ehci, temp, &ehci->regs->port_status [i]); in ehci_bus_resume()
531 u32 port_status; in set_owner() local
534 status_reg = &ehci->regs->port_status[portnum]; in set_owner()
543 port_status = ehci_readl(ehci, status_reg); in set_owner()
544 if ((port_status & PORT_OWNER) == new_owner in set_owner()
545 || (port_status & (PORT_OWNER | PORT_CONNECT)) in set_owner()
549 port_status ^= PORT_OWNER; in set_owner()
550 port_status &= ~(PORT_PE | PORT_RWC_BITS); in set_owner()
551 ehci_writel(ehci, port_status, status_reg); in set_owner()
565 int port_status in check_reset_complete() argument
567 if (!(port_status & PORT_CONNECT)) in check_reset_complete()
568 return port_status; in check_reset_complete()
571 if (!(port_status & PORT_PE)) { in check_reset_complete()
578 return port_status; in check_reset_complete()
585 port_status |= PORT_OWNER; in check_reset_complete()
586 port_status &= ~PORT_RWC_BITS; in check_reset_complete()
587 ehci_writel(ehci, port_status, status_reg); in check_reset_complete()
600 return port_status; in check_reset_complete()
655 temp = ehci_readl(ehci, &ehci->regs->port_status[i]); in ehci_hub_status_data()
871 u32 __iomem *status_reg = &ehci->regs->port_status[ in ehci_hub_control()
1260 &ehci->regs->port_status[ports]; in ehci_hub_control()
1310 reg = &ehci->regs->port_status[portnum - 1]; in ehci_port_handed_over()
1317 u32 __iomem *status_reg = &ehci->regs->port_status[portnum]; in ehci_port_power()