Lines Matching refs:port_status
59 reg = &ehci->regs->port_status[port]; in ehci_handover_companion_ports()
73 reg = &ehci->regs->port_status[port]; in ehci_handover_companion_ports()
110 reg = &ehci->regs->port_status[port]; in ehci_handover_companion_ports()
141 if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) in ehci_port_change()
179 u32 __iomem *reg = &ehci->regs->port_status[port]; in ehci_adjust_port_wakeup_flags()
258 u32 __iomem *reg = &ehci->regs->port_status [port]; in ehci_bus_suspend()
427 temp = ehci_readl(ehci, &ehci->regs->port_status[i]); in ehci_bus_resume()
464 temp = ehci_readl(ehci, &ehci->regs->port_status [i]); in ehci_bus_resume()
471 ehci_writel(ehci, temp, &ehci->regs->port_status [i]); in ehci_bus_resume()
488 temp = ehci_readl(ehci, &ehci->regs->port_status [i]); in ehci_bus_resume()
491 ehci_writel(ehci, temp, &ehci->regs->port_status [i]); in ehci_bus_resume()
538 u32 port_status; in set_owner() local
541 status_reg = &ehci->regs->port_status[portnum]; in set_owner()
550 port_status = ehci_readl(ehci, status_reg); in set_owner()
551 if ((port_status & PORT_OWNER) == new_owner in set_owner()
552 || (port_status & (PORT_OWNER | PORT_CONNECT)) in set_owner()
556 port_status ^= PORT_OWNER; in set_owner()
557 port_status &= ~(PORT_PE | PORT_RWC_BITS); in set_owner()
558 ehci_writel(ehci, port_status, status_reg); in set_owner()
572 int port_status in check_reset_complete() argument
574 if (!(port_status & PORT_CONNECT)) in check_reset_complete()
575 return port_status; in check_reset_complete()
578 if (!(port_status & PORT_PE)) { in check_reset_complete()
585 return port_status; in check_reset_complete()
592 port_status |= PORT_OWNER; in check_reset_complete()
593 port_status &= ~PORT_RWC_BITS; in check_reset_complete()
594 ehci_writel(ehci, port_status, status_reg); in check_reset_complete()
607 return port_status; in check_reset_complete()
662 temp = ehci_readl(ehci, &ehci->regs->port_status[i]); in ehci_hub_status_data()
891 status_reg = &ehci->regs->port_status[temp]; in ehci_hub_control()
1281 &ehci->regs->port_status[ports]; in ehci_hub_control()
1331 reg = &ehci->regs->port_status[portnum - 1]; in ehci_port_handed_over()
1338 u32 __iomem *status_reg = &ehci->regs->port_status[portnum]; in ehci_port_power()