Home
last modified time | relevance | path

Searched refs:cap_regs (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/drivers/usb/host/
Dehci-mv.c34 void __iomem *cap_regs; member
159 ehci_mv->cap_regs = in mv_ehci_probe()
161 offset = readl(ehci_mv->cap_regs) & CAPLENGTH_MASK; in mv_ehci_probe()
163 (void __iomem *) ((unsigned long) ehci_mv->cap_regs + offset); in mv_ehci_probe()
175 ehci->caps = (struct ehci_caps __iomem *) ehci_mv->cap_regs; in mv_ehci_probe()
Dxhci-ext-caps.c85 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_ext_cap_init()
Dxhci-debugfs.c147 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_debugfs_extcap_regset()
661 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)), in xhci_debugfs_init()
666 readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK, in xhci_debugfs_init()
Dxhci-pci.c467 reg = (void __iomem *) xhci->cap_regs + in xhci_ssic_port_unused_quirk()
500 reg = (void __iomem *) xhci->cap_regs + 0x80a4; in xhci_pme_quirk()
Dxhci.c3996 readl(&xhci->cap_regs->hcs_params1))); in xhci_alloc_dev()
5205 xhci->cap_regs = hcd->regs; in xhci_gen_setup()
5207 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup()
5209 (readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK); in xhci_gen_setup()
5211 xhci->hcs_params1 = readl(&xhci->cap_regs->hcs_params1); in xhci_gen_setup()
5212 xhci->hcs_params2 = readl(&xhci->cap_regs->hcs_params2); in xhci_gen_setup()
5213 xhci->hcs_params3 = readl(&xhci->cap_regs->hcs_params3); in xhci_gen_setup()
5214 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()
5216 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
5218 xhci->hcc_params2 = readl(&xhci->cap_regs->hcc_params2); in xhci_gen_setup()
Dxhci-mem.c2310 base = &xhci->cap_regs->hc_capbase; in xhci_setup_port_arrays()
2419 val = HCS_MAX_SLOTS(readl(&xhci->cap_regs->hcs_params1)); in xhci_mem_init()
2502 val = readl(&xhci->cap_regs->db_off); in xhci_mem_init()
2507 xhci->dba = (void __iomem *) xhci->cap_regs + val; in xhci_mem_init()
Dxhci-hub.c99 temp = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3_bos_desc()
105 temp = readl(&xhci->cap_regs->hcs_params3); in xhci_create_usb3_bos_desc()
Dxhci-dbgcap.c935 base = &xhci->cap_regs->hc_capbase; in xhci_do_dbc_init()
Dxhci.h1738 struct xhci_cap_regs __iomem *cap_regs; member
/Linux-v5.10/drivers/usb/gadget/udc/
Dmv_u3d_core.c1768 if (u3d->cap_regs) in mv_u3d_remove()
1769 iounmap(u3d->cap_regs); in mv_u3d_remove()
1770 u3d->cap_regs = NULL; in mv_u3d_remove()
1821 u3d->cap_regs = (struct mv_u3d_cap_regs __iomem *) in mv_u3d_probe()
1823 if (!u3d->cap_regs) { in mv_u3d_probe()
1830 (unsigned long) u3d->cap_regs); in mv_u3d_probe()
1849 u3d->op_regs = (struct mv_u3d_op_regs __iomem *)(u3d->cap_regs in mv_u3d_probe()
1852 u3d->vuc_regs = (struct mv_u3d_vuc_regs __iomem *)(u3d->cap_regs in mv_u3d_probe()
1853 + ioread32(&u3d->cap_regs->vuoff)); in mv_u3d_probe()
1980 iounmap(u3d->cap_regs); in mv_u3d_probe()
Dmv_udc.h177 struct mv_cap_regs __iomem *cap_regs; member
Dmv_u3d.h248 struct mv_u3d_cap_regs __iomem *cap_regs; member
Dmv_udc_core.c1042 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()
/Linux-v5.10/drivers/usb/phy/
Dphy-mv-usb.c740 mvotg->cap_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in mv_otg_probe()
741 if (mvotg->cap_regs == NULL) { in mv_otg_probe()
755 (struct mv_otg_regs __iomem *) ((unsigned long) mvotg->cap_regs in mv_otg_probe()
756 + (readl(mvotg->cap_regs) & CAPLENGTH_MASK)); in mv_otg_probe()
Dphy-mv-usb.h140 void __iomem *cap_regs; member