Searched refs:cap_regs (Results 1 – 15 of 15) sorted by relevance
25 void __iomem *cap_regs; member175 ehci_mv->cap_regs = devm_ioremap_resource(&pdev->dev, r); in mv_ehci_probe()176 if (IS_ERR(ehci_mv->cap_regs)) { in mv_ehci_probe()177 retval = PTR_ERR(ehci_mv->cap_regs); in mv_ehci_probe()187 offset = readl(ehci_mv->cap_regs) & CAPLENGTH_MASK; in mv_ehci_probe()189 (void __iomem *) ((unsigned long) ehci_mv->cap_regs + offset); in mv_ehci_probe()203 ehci->caps = (struct ehci_caps *) ehci_mv->cap_regs; in mv_ehci_probe()
66 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()550 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)), in xhci_debugfs_init()555 readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK, in xhci_debugfs_init()
384 reg = (void __iomem *) xhci->cap_regs + in xhci_ssic_port_unused_quirk()417 reg = (void __iomem *) xhci->cap_regs + 0x80a4; in xhci_pme_quirk()
3856 readl(&xhci->cap_regs->hcs_params1))); in xhci_alloc_dev()5022 xhci->cap_regs = hcd->regs; in xhci_gen_setup()5024 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup()5026 (readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK); in xhci_gen_setup()5028 xhci->hcs_params1 = readl(&xhci->cap_regs->hcs_params1); in xhci_gen_setup()5029 xhci->hcs_params2 = readl(&xhci->cap_regs->hcs_params2); in xhci_gen_setup()5030 xhci->hcs_params3 = readl(&xhci->cap_regs->hcs_params3); in xhci_gen_setup()5031 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()5033 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()5035 xhci->hcc_params2 = readl(&xhci->cap_regs->hcc_params2); in xhci_gen_setup()
2293 base = &xhci->cap_regs->hc_capbase; in xhci_setup_port_arrays()2397 val = HCS_MAX_SLOTS(readl(&xhci->cap_regs->hcs_params1)); in xhci_mem_init()2481 val = readl(&xhci->cap_regs->db_off); in xhci_mem_init()2486 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()
841 base = &xhci->cap_regs->hc_capbase; in xhci_do_dbc_init()
1714 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()
741 mvotg->cap_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in mv_otg_probe()742 if (mvotg->cap_regs == NULL) { in mv_otg_probe()756 (struct mv_otg_regs __iomem *) ((unsigned long) mvotg->cap_regs in mv_otg_probe()757 + (readl(mvotg->cap_regs) & CAPLENGTH_MASK)); in mv_otg_probe()
140 void __iomem *cap_regs; member