Lines Matching defs:port_status
65 reg = &ehci->regs->port_status[port];
95 reg = &ehci->regs->port_status[port];
125 if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC)
166 u32 __iomem *reg = &ehci->regs->port_status[port];
249 u32 __iomem *reg = &ehci->regs->port_status [port];
408 temp = ehci_readl(ehci, &ehci->regs->port_status [i]);
415 ehci_writel(ehci, temp, &ehci->regs->port_status [i]);
427 temp = ehci_readl(ehci, &ehci->regs->port_status [i]);
430 ehci_writel(ehci, temp, &ehci->regs->port_status [i]);
472 u32 port_status;
475 status_reg = &ehci->regs->port_status[portnum];
484 port_status = ehci_readl(ehci, status_reg);
485 if ((port_status & PORT_OWNER) == new_owner
486 || (port_status & (PORT_OWNER | PORT_CONNECT))
490 port_status ^= PORT_OWNER;
491 port_status &= ~(PORT_PE | PORT_RWC_BITS);
492 ehci_writel(ehci, port_status, status_reg);
506 int port_status
508 if (!(port_status & PORT_CONNECT))
509 return port_status;
512 if (!(port_status & PORT_PE)) {
519 return port_status;
526 port_status |= PORT_OWNER;
527 port_status &= ~PORT_RWC_BITS;
528 ehci_writel(ehci, port_status, status_reg);
540 return port_status;
596 temp = ehci_readl(ehci, &ehci->regs->port_status [i]);
667 u32 __iomem *status_reg = &ehci->regs->port_status[
1051 &ehci->regs->port_status[ports];
1098 reg = &ehci->regs->port_status[portnum - 1];