Searched refs:cap_regs (Results 1 – 18 of 18) sorted by relevance
34 void __iomem *cap_regs; member158 ehci_mv->cap_regs = in mv_ehci_probe()160 offset = readl(ehci_mv->cap_regs) & CAPLENGTH_MASK; in mv_ehci_probe()162 (void __iomem *) ((unsigned long) ehci_mv->cap_regs + offset); in mv_ehci_probe()174 ehci->caps = (struct ehci_caps __iomem *) ehci_mv->cap_regs; in mv_ehci_probe()
86 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_ext_cap_init()
147 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_debugfs_extcap_regset()667 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)), in xhci_debugfs_init()672 readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK, in xhci_debugfs_init()
507 reg = (void __iomem *) xhci->cap_regs + in xhci_ssic_port_unused_quirk()540 reg = (void __iomem *) xhci->cap_regs + 0x80a4; in xhci_pme_quirk()
4109 readl(&xhci->cap_regs->hcs_params1))); in xhci_alloc_dev()5309 xhci->cap_regs = hcd->regs; in xhci_gen_setup()5311 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup()5313 (readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK); in xhci_gen_setup()5315 xhci->hcs_params1 = readl(&xhci->cap_regs->hcs_params1); in xhci_gen_setup()5316 xhci->hcs_params2 = readl(&xhci->cap_regs->hcs_params2); in xhci_gen_setup()5317 xhci->hcs_params3 = readl(&xhci->cap_regs->hcs_params3); in xhci_gen_setup()5318 xhci->hci_version = HC_VERSION(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup()5319 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()5321 xhci->hcc_params2 = readl(&xhci->cap_regs->hcc_params2); in xhci_gen_setup()
2306 base = &xhci->cap_regs->hc_capbase; in xhci_setup_port_arrays()2412 val = HCS_MAX_SLOTS(readl(&xhci->cap_regs->hcs_params1)); in xhci_mem_init()2491 val = readl(&xhci->cap_regs->db_off); in xhci_mem_init()2496 xhci->dba = (void __iomem *) xhci->cap_regs + val; in xhci_mem_init()
111 reg = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3x_bos_desc()116 reg = readl(&xhci->cap_regs->hcs_params3); in xhci_create_usb3x_bos_desc()
1030 base = &xhci->cap_regs->hc_capbase; in xhci_create_dbc_dev()
1756 struct xhci_cap_regs __iomem *cap_regs; member
147 base = &pdev->cap_regs->hc_capbase; in cdnsp_set_chicken_bits_2()161 base = &pdev->cap_regs->hc_capbase; in cdnsp_clear_chicken_bits_2()1573 void __iomem *reg = &pdev->cap_regs->hc_capbase; in cdnsp_get_ep_buffering()1771 void __iomem *reg = &pdev->cap_regs->hc_capbase; in cdnsp_get_rev_cap()1789 pdev->cap_regs = pdev->regs; in cdnsp_gen_setup()1791 HC_LENGTH(readl(&pdev->cap_regs->hc_capbase)); in cdnsp_gen_setup()1793 (readl(&pdev->cap_regs->run_regs_off) & RTSOFF_MASK); in cdnsp_gen_setup()1796 pdev->hcs_params1 = readl(&pdev->cap_regs->hcs_params1); in cdnsp_gen_setup()1797 pdev->hcc_params = readl(&pdev->cap_regs->hc_capbase); in cdnsp_gen_setup()1799 pdev->hcc_params = readl(&pdev->cap_regs->hcc_params); in cdnsp_gen_setup()
1153 base = &pdev->cap_regs->hc_capbase; in cdnsp_setup_port_arrays()1162 base = &pdev->cap_regs->hc_capbase; in cdnsp_setup_port_arrays()1272 val = readl(&pdev->cap_regs->db_off); in cdnsp_mem_init()1274 pdev->dba = (void __iomem *)pdev->cap_regs + val; in cdnsp_mem_init()
1400 struct cdnsp_cap_regs __iomem *cap_regs; member
1770 if (u3d->cap_regs) in mv_u3d_remove()1771 iounmap(u3d->cap_regs); in mv_u3d_remove()1772 u3d->cap_regs = NULL; in mv_u3d_remove()1823 u3d->cap_regs = (struct mv_u3d_cap_regs __iomem *) in mv_u3d_probe()1825 if (!u3d->cap_regs) { in mv_u3d_probe()1832 (unsigned long) u3d->cap_regs); in mv_u3d_probe()1851 u3d->op_regs = (struct mv_u3d_op_regs __iomem *)(u3d->cap_regs in mv_u3d_probe()1854 u3d->vuc_regs = (struct mv_u3d_vuc_regs __iomem *)(u3d->cap_regs in mv_u3d_probe()1855 + ioread32(&u3d->cap_regs->vuoff)); in mv_u3d_probe()1983 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
1044 if (readl(&udc->cap_regs->hcsparams) & HCSPARAMS_PPC) in udc_reset()2155 udc->cap_regs = (struct mv_cap_regs __iomem *) in mv_udc_probe()2157 if (udc->cap_regs == NULL) { in mv_udc_probe()2180 (struct mv_op_regs __iomem *)((unsigned long)udc->cap_regs in mv_udc_probe()2181 + (readl(&udc->cap_regs->caplength_hciversion) in mv_udc_probe()2183 udc->max_eps = readl(&udc->cap_regs->dccparams) & DCCPARAMS_DEN_MASK; in mv_udc_probe()
738 mvotg->cap_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in mv_otg_probe()739 if (mvotg->cap_regs == NULL) { in mv_otg_probe()753 (struct mv_otg_regs __iomem *) ((unsigned long) mvotg->cap_regs in mv_otg_probe()754 + (readl(mvotg->cap_regs) & CAPLENGTH_MASK)); in mv_otg_probe()
140 void __iomem *cap_regs; member