Searched refs:cap_regs (Results 1 – 15 of 15) sorted by relevance
33 void __iomem *cap_regs; member149 ehci_mv->cap_regs = in mv_ehci_probe()151 offset = readl(ehci_mv->cap_regs) & CAPLENGTH_MASK; in mv_ehci_probe()153 (void __iomem *) ((unsigned long) ehci_mv->cap_regs + offset); in mv_ehci_probe()167 ehci->caps = (struct ehci_caps *) ehci_mv->cap_regs; in mv_ehci_probe()
85 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_ext_cap_init()
146 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_debugfs_extcap_regset()553 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)), in xhci_debugfs_init()558 readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK, in xhci_debugfs_init()
419 reg = (void __iomem *) xhci->cap_regs + in xhci_ssic_port_unused_quirk()452 reg = (void __iomem *) xhci->cap_regs + 0x80a4; in xhci_pme_quirk()
3989 readl(&xhci->cap_regs->hcs_params1))); in xhci_alloc_dev()5192 xhci->cap_regs = hcd->regs; in xhci_gen_setup()5194 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup()5196 (readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK); in xhci_gen_setup()5198 xhci->hcs_params1 = readl(&xhci->cap_regs->hcs_params1); in xhci_gen_setup()5199 xhci->hcs_params2 = readl(&xhci->cap_regs->hcs_params2); in xhci_gen_setup()5200 xhci->hcs_params3 = readl(&xhci->cap_regs->hcs_params3); in xhci_gen_setup()5201 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()5203 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()5205 xhci->hcc_params2 = readl(&xhci->cap_regs->hcc_params2); in xhci_gen_setup()
2281 base = &xhci->cap_regs->hc_capbase; in xhci_setup_port_arrays()2385 val = HCS_MAX_SLOTS(readl(&xhci->cap_regs->hcs_params1)); in xhci_mem_init()2468 val = readl(&xhci->cap_regs->db_off); in xhci_mem_init()2473 xhci->dba = (void __iomem *) xhci->cap_regs + val; in xhci_mem_init()
90 temp = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3_bos_desc()96 temp = readl(&xhci->cap_regs->hcs_params3); in xhci_create_usb3_bos_desc()
839 base = &xhci->cap_regs->hc_capbase; in xhci_do_dbc_init()
1732 struct xhci_cap_regs __iomem *cap_regs; member
1769 if (u3d->cap_regs) in mv_u3d_remove()1770 iounmap(u3d->cap_regs); in mv_u3d_remove()1771 u3d->cap_regs = NULL; in mv_u3d_remove()1822 u3d->cap_regs = (struct mv_u3d_cap_regs __iomem *) in mv_u3d_probe()1824 if (!u3d->cap_regs) { in mv_u3d_probe()1831 (unsigned long) u3d->cap_regs); in mv_u3d_probe()1850 u3d->op_regs = (struct mv_u3d_op_regs __iomem *)(u3d->cap_regs in mv_u3d_probe()1853 u3d->vuc_regs = (struct mv_u3d_vuc_regs __iomem *)(u3d->cap_regs in mv_u3d_probe()1854 + ioread32(&u3d->cap_regs->vuoff)); in mv_u3d_probe()1981 iounmap(u3d->cap_regs); in mv_u3d_probe()
177 struct mv_cap_regs __iomem *cap_regs; member
248 struct mv_u3d_cap_regs __iomem *cap_regs; member
1043 if (readl(&udc->cap_regs->hcsparams) & HCSPARAMS_PPC) in udc_reset()2156 udc->cap_regs = (struct mv_cap_regs __iomem *) in mv_udc_probe()2158 if (udc->cap_regs == NULL) { in mv_udc_probe()2181 (struct mv_op_regs __iomem *)((unsigned long)udc->cap_regs in mv_udc_probe()2182 + (readl(&udc->cap_regs->caplength_hciversion) in mv_udc_probe()2184 udc->max_eps = readl(&udc->cap_regs->dccparams) & DCCPARAMS_DEN_MASK; in mv_udc_probe()
742 mvotg->cap_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in mv_otg_probe()743 if (mvotg->cap_regs == NULL) { in mv_otg_probe()757 (struct mv_otg_regs __iomem *) ((unsigned long) mvotg->cap_regs in mv_otg_probe()758 + (readl(mvotg->cap_regs) & CAPLENGTH_MASK)); in mv_otg_probe()
140 void __iomem *cap_regs; member