Lines Matching refs:portsc
663 u32 portsc; in dbc_handle_port_status() local
665 portsc = readl(&dbc->regs->portsc); in dbc_handle_port_status()
666 if (portsc & DBC_PORTSC_CONN_CHANGE) in dbc_handle_port_status()
669 if (portsc & DBC_PORTSC_RESET_CHANGE) in dbc_handle_port_status()
672 if (portsc & DBC_PORTSC_LINK_CHANGE) in dbc_handle_port_status()
675 if (portsc & DBC_PORTSC_CONFIG_CHANGE) in dbc_handle_port_status()
679 writel(portsc & ~DBC_PORTSC_RESET_CHANGE, &dbc->regs->portsc); in dbc_handle_port_status()
755 u32 ctrl, portsc; in xhci_dbc_do_handle_events() local
765 portsc = readl(&dbc->regs->portsc); in xhci_dbc_do_handle_events()
766 if (portsc & DBC_PORTSC_CONN_STATUS) { in xhci_dbc_do_handle_events()
777 portsc = readl(&dbc->regs->portsc); in xhci_dbc_do_handle_events()
778 writel(portsc, &dbc->regs->portsc); in xhci_dbc_do_handle_events()
785 portsc = readl(&dbc->regs->portsc); in xhci_dbc_do_handle_events()
786 if (!(portsc & DBC_PORTSC_PORT_ENABLED) && in xhci_dbc_do_handle_events()
787 !(portsc & DBC_PORTSC_CONN_STATUS)) { in xhci_dbc_do_handle_events()
796 if (portsc & DBC_PORTSC_RESET_CHANGE) { in xhci_dbc_do_handle_events()
798 writel(portsc, &dbc->regs->portsc); in xhci_dbc_do_handle_events()