• Home
  • Raw
  • Download

Lines Matching refs:portsc

500 	u32 ctrl, portsc, cmd;  in _dbgp_external_startup()  local
514 portsc = readl(&ehci_regs->port_status[dbg_port - 1]); in _dbgp_external_startup()
515 if (!(portsc & PORT_CONNECT) && try_hard_once) { in _dbgp_external_startup()
523 portsc = readl(&ehci_regs->port_status[dbg_port - 1]); in _dbgp_external_startup()
524 portsc |= PORT_TEST_PKT; in _dbgp_external_startup()
525 writel(portsc, &ehci_regs->port_status[dbg_port - 1]); in _dbgp_external_startup()
551 portsc = readl(&ehci_regs->port_status[dbg_port - 1]); in _dbgp_external_startup()
552 portsc &= ~PORT_PE; in _dbgp_external_startup()
553 writel(portsc, &ehci_regs->port_status[dbg_port - 1]); in _dbgp_external_startup()
616 u32 portsc; in ehci_reset_port() local
622 portsc = readl(&ehci_regs->port_status[port - 1]); in ehci_reset_port()
623 portsc &= ~PORT_PE; in ehci_reset_port()
624 portsc |= PORT_RESET; in ehci_reset_port()
625 writel(portsc, &ehci_regs->port_status[port - 1]); in ehci_reset_port()
631 portsc = readl(&ehci_regs->port_status[port - 1]); in ehci_reset_port()
632 if (!(portsc & PORT_RESET)) in ehci_reset_port()
635 if (portsc & PORT_RESET) { in ehci_reset_port()
638 writel(portsc & ~(PORT_RWC_BITS | PORT_RESET), in ehci_reset_port()
642 portsc = readl(&ehci_regs->port_status[port-1]); in ehci_reset_port()
643 } while ((portsc & PORT_RESET) && (--loop > 0)); in ehci_reset_port()
647 if (!(portsc & PORT_CONNECT)) in ehci_reset_port()
651 if ((portsc & PORT_CSC)) in ehci_reset_port()
655 if (!(portsc & PORT_RESET) && (portsc & PORT_PE)) in ehci_reset_port()
759 u32 ctrl, portsc, hcs_params; in ehci_setup() local
782 portsc = readl(&ehci_regs->port_status[i-1]); in ehci_setup()
783 dbgp_printk("portstatus%d: %08x\n", i, portsc); in ehci_setup()