Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/host/
Dxhci-dbg.c34 xhci->cap_regs); in xhci_dbg_regs()
35 temp = readl(&xhci->cap_regs->hc_capbase); in xhci_dbg_regs()
37 &xhci->cap_regs->hc_capbase, temp); in xhci_dbg_regs()
47 temp = readl(&xhci->cap_regs->run_regs_off); in xhci_dbg_regs()
49 &xhci->cap_regs->run_regs_off, in xhci_dbg_regs()
53 temp = readl(&xhci->cap_regs->db_off); in xhci_dbg_regs()
54 xhci_dbg(xhci, "// @%p = 0x%x DBOFF\n", &xhci->cap_regs->db_off, temp); in xhci_dbg_regs()
63 xhci_dbg(xhci, "xHCI capability registers at %p:\n", xhci->cap_regs); in xhci_print_cap_regs()
65 temp = readl(&xhci->cap_regs->hc_capbase); in xhci_print_cap_regs()
73 temp = readl(&xhci->cap_regs->hcs_params1); in xhci_print_cap_regs()
[all …]
Dehci-mv.c29 void __iomem *cap_regs; member
179 ehci_mv->cap_regs = devm_ioremap_resource(&pdev->dev, r); in mv_ehci_probe()
180 if (IS_ERR(ehci_mv->cap_regs)) { in mv_ehci_probe()
181 retval = PTR_ERR(ehci_mv->cap_regs); in mv_ehci_probe()
191 offset = readl(ehci_mv->cap_regs) & CAPLENGTH_MASK; in mv_ehci_probe()
193 (void __iomem *) ((unsigned long) ehci_mv->cap_regs + offset); in mv_ehci_probe()
207 ehci->caps = (struct ehci_caps *) ehci_mv->cap_regs; in mv_ehci_probe()
Dxhci-pci.c338 reg = (void __iomem *) xhci->cap_regs + in xhci_pme_quirk()
364 reg = (void __iomem *) xhci->cap_regs + 0x80a4; in xhci_pme_quirk()
Dxhci.c3732 readl(&xhci->cap_regs->hcs_params1))); in xhci_alloc_dev()
4893 xhci->cap_regs = hcd->regs; in xhci_gen_setup()
4895 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup()
4897 (readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK); in xhci_gen_setup()
4899 xhci->hcs_params1 = readl(&xhci->cap_regs->hcs_params1); in xhci_gen_setup()
4900 xhci->hcs_params2 = readl(&xhci->cap_regs->hcs_params2); in xhci_gen_setup()
4901 xhci->hcs_params3 = readl(&xhci->cap_regs->hcs_params3); in xhci_gen_setup()
4902 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()
4904 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
4906 xhci->hcc_params2 = readl(&xhci->cap_regs->hcc_params2); in xhci_gen_setup()
Dxhci-mem.c2205 addr = &xhci->cap_regs->hcc_params; in xhci_setup_port_arrays()
2235 addr = &xhci->cap_regs->hc_capbase + offset; in xhci_setup_port_arrays()
2388 val = HCS_MAX_SLOTS(readl(&xhci->cap_regs->hcs_params1)); in xhci_mem_init()
2473 val = readl(&xhci->cap_regs->db_off); in xhci_mem_init()
2478 xhci->dba = (void __iomem *) xhci->cap_regs + val; in xhci_mem_init()
Dxhci-hub.c94 temp = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3_bos_desc()
100 temp = readl(&xhci->cap_regs->hcs_params3); in xhci_create_usb3_bos_desc()
Dxhci.h1510 struct xhci_cap_regs __iomem *cap_regs; member
/linux-4.4.14/drivers/usb/gadget/udc/
Dmv_u3d_core.c1781 if (u3d->cap_regs) in mv_u3d_remove()
1782 iounmap(u3d->cap_regs); in mv_u3d_remove()
1783 u3d->cap_regs = NULL; in mv_u3d_remove()
1834 u3d->cap_regs = (struct mv_u3d_cap_regs __iomem *) in mv_u3d_probe()
1836 if (!u3d->cap_regs) { in mv_u3d_probe()
1843 (unsigned long) u3d->cap_regs); in mv_u3d_probe()
1857 u3d->op_regs = (struct mv_u3d_op_regs __iomem *)(u3d->cap_regs in mv_u3d_probe()
1860 u3d->vuc_regs = (struct mv_u3d_vuc_regs __iomem *)(u3d->cap_regs in mv_u3d_probe()
1861 + ioread32(&u3d->cap_regs->vuoff)); in mv_u3d_probe()
1990 iounmap(u3d->cap_regs); in mv_u3d_probe()
Dmv_udc.h181 struct mv_cap_regs __iomem *cap_regs; member
Dmv_u3d.h251 struct mv_u3d_cap_regs __iomem *cap_regs; member
Dmv_udc_core.c1055 if (readl(&udc->cap_regs->hcsparams) & HCSPARAMS_PPC) in udc_reset()
2165 udc->cap_regs = (struct mv_cap_regs __iomem *) in mv_udc_probe()
2167 if (udc->cap_regs == NULL) { in mv_udc_probe()
2190 (struct mv_op_regs __iomem *)((unsigned long)udc->cap_regs in mv_udc_probe()
2191 + (readl(&udc->cap_regs->caplength_hciversion) in mv_udc_probe()
2193 udc->max_eps = readl(&udc->cap_regs->dccparams) & DCCPARAMS_DEN_MASK; in mv_udc_probe()
/linux-4.4.14/drivers/usb/phy/
Dphy-mv-usb.h144 void __iomem *cap_regs; member
Dphy-mv-usb.c752 mvotg->cap_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in mv_otg_probe()
753 if (mvotg->cap_regs == NULL) { in mv_otg_probe()
767 (struct mv_otg_regs __iomem *) ((unsigned long) mvotg->cap_regs in mv_otg_probe()
768 + (readl(mvotg->cap_regs) & CAPLENGTH_MASK)); in mv_otg_probe()