Searched refs:max_ports (Results 1 – 2 of 2) sorted by relevance
151 int max_ports = HCS_N_PORTS(ehci_readl(&ctrl->hccr->cr_hcsparams)); in ehci_get_portsc_register() local153 if (port < 0 || port >= max_ports) { in ehci_get_portsc_register()211 int max_ports = HCS_N_PORTS(ehci_readl(&ctrl->hccr->cr_hcsparams)); in ehci_shutdown() local223 for (i = 0; i < max_ports; i++) { in ehci_shutdown()
903 int max_ports = HCS_MAX_PORTS(xhci_readl(&hccr->cr_hcsparams1)); in xhci_submit_root() local906 le16_to_cpu(req->index) > max_ports) { in xhci_submit_root()