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()
268 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()
530 u32 port_status; in set_owner() local
533 status_reg = &ehci->regs->port_status[portnum]; in set_owner()
542 port_status = ehci_readl(ehci, status_reg); in set_owner()
543 if ((port_status & PORT_OWNER) == new_owner in set_owner()
544 || (port_status & (PORT_OWNER | PORT_CONNECT)) in set_owner()
548 port_status ^= PORT_OWNER; in set_owner()
549 port_status &= ~(PORT_PE | PORT_RWC_BITS); in set_owner()
550 ehci_writel(ehci, port_status, status_reg); in set_owner()
564 int port_status in check_reset_complete() argument
566 if (!(port_status & PORT_CONNECT)) in check_reset_complete()
567 return port_status; in check_reset_complete()
570 if (!(port_status & PORT_PE)) { in check_reset_complete()
577 return port_status; in check_reset_complete()
584 port_status |= PORT_OWNER; in check_reset_complete()
585 port_status &= ~PORT_RWC_BITS; in check_reset_complete()
586 ehci_writel(ehci, port_status, status_reg); in check_reset_complete()
599 return port_status; in check_reset_complete()
654 temp = ehci_readl(ehci, &ehci->regs->port_status[i]); in ehci_hub_status_data()
870 u32 __iomem *status_reg = &ehci->regs->port_status[ in ehci_hub_control()
1252 &ehci->regs->port_status[ports]; in ehci_hub_control()
1302 reg = &ehci->regs->port_status[portnum - 1]; in ehci_port_handed_over()
1309 u32 __iomem *status_reg = &ehci->regs->port_status[portnum]; in ehci_port_power()