Lines Matching refs:port_status

58 			reg = &ehci->regs->port_status[port];  in ehci_handover_companion_ports()
72 reg = &ehci->regs->port_status[port]; in ehci_handover_companion_ports()
109 reg = &ehci->regs->port_status[port]; in ehci_handover_companion_ports()
140 if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) in ehci_port_change()
178 u32 __iomem *reg = &ehci->regs->port_status[port]; in ehci_adjust_port_wakeup_flags()
257 u32 __iomem *reg = &ehci->regs->port_status [port]; in ehci_bus_suspend()
429 temp = ehci_readl(ehci, &ehci->regs->port_status[i]); in ehci_bus_resume()
466 temp = ehci_readl(ehci, &ehci->regs->port_status [i]); in ehci_bus_resume()
473 ehci_writel(ehci, temp, &ehci->regs->port_status [i]); in ehci_bus_resume()
490 temp = ehci_readl(ehci, &ehci->regs->port_status [i]); in ehci_bus_resume()
493 ehci_writel(ehci, temp, &ehci->regs->port_status [i]); in ehci_bus_resume()
540 u32 port_status; in set_owner() local
543 status_reg = &ehci->regs->port_status[portnum]; in set_owner()
552 port_status = ehci_readl(ehci, status_reg); in set_owner()
553 if ((port_status & PORT_OWNER) == new_owner in set_owner()
554 || (port_status & (PORT_OWNER | PORT_CONNECT)) in set_owner()
558 port_status ^= PORT_OWNER; in set_owner()
559 port_status &= ~(PORT_PE | PORT_RWC_BITS); in set_owner()
560 ehci_writel(ehci, port_status, status_reg); in set_owner()
574 int port_status in check_reset_complete() argument
576 if (!(port_status & PORT_CONNECT)) in check_reset_complete()
577 return port_status; in check_reset_complete()
580 if (!(port_status & PORT_PE)) { in check_reset_complete()
587 return port_status; in check_reset_complete()
594 port_status |= PORT_OWNER; in check_reset_complete()
595 port_status &= ~PORT_RWC_BITS; in check_reset_complete()
596 ehci_writel(ehci, port_status, status_reg); in check_reset_complete()
609 return port_status; in check_reset_complete()
664 temp = ehci_readl(ehci, &ehci->regs->port_status[i]); in ehci_hub_status_data()
755 status_reg = &ehci->regs->port_status[temp]; in ehci_hub_control()
1145 &ehci->regs->port_status[ports]; in ehci_hub_control()
1195 reg = &ehci->regs->port_status[portnum - 1]; in ehci_port_handed_over()
1202 u32 __iomem *status_reg = &ehci->regs->port_status[portnum]; in ehci_port_power()