Searched refs:cap_regs (Results 1 – 13 of 13) sorted by relevance
/linux-4.1.27/drivers/usb/host/ |
D | xhci-dbg.c | 34 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() 62 xhci_dbg(xhci, "xHCI capability registers at %p:\n", xhci->cap_regs); in xhci_print_cap_regs() 64 temp = readl(&xhci->cap_regs->hc_capbase); in xhci_print_cap_regs() 72 temp = readl(&xhci->cap_regs->hcs_params1); in xhci_print_cap_regs() [all …]
|
D | ehci-mv.c | 29 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()
|
D | xhci-pci.c | 331 reg = (void __iomem *) xhci->cap_regs + in xhci_ssic_port_unused_quirk() 364 reg = (void __iomem *) xhci->cap_regs + 0x80a4; in xhci_pme_quirk()
|
D | xhci.c | 3742 readl(&xhci->cap_regs->hcs_params1))); in xhci_alloc_dev() 4907 xhci->cap_regs = hcd->regs; in xhci_gen_setup() 4909 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup() 4911 (readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK); in xhci_gen_setup() 4913 xhci->hcs_params1 = readl(&xhci->cap_regs->hcs_params1); in xhci_gen_setup() 4914 xhci->hcs_params2 = readl(&xhci->cap_regs->hcs_params2); in xhci_gen_setup() 4915 xhci->hcs_params3 = readl(&xhci->cap_regs->hcs_params3); in xhci_gen_setup() 4916 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup() 4918 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
|
D | xhci-mem.c | 2173 addr = &xhci->cap_regs->hcc_params; in xhci_setup_port_arrays() 2203 addr = &xhci->cap_regs->hc_capbase + offset; in xhci_setup_port_arrays() 2356 val = HCS_MAX_SLOTS(readl(&xhci->cap_regs->hcs_params1)); in xhci_mem_init() 2441 val = readl(&xhci->cap_regs->db_off); in xhci_mem_init() 2446 xhci->dba = (void __iomem *) xhci->cap_regs + val; in xhci_mem_init()
|
D | xhci-hub.c | 758 temp = readl(&xhci->cap_regs->hcs_params3); in xhci_hub_control() 764 temp = readl(&xhci->cap_regs->hcc_params); in xhci_hub_control()
|
D | xhci.h | 1451 struct xhci_cap_regs __iomem *cap_regs; member
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | mv_u3d_core.c | 1773 if (u3d->cap_regs) in mv_u3d_remove() 1774 iounmap(u3d->cap_regs); in mv_u3d_remove() 1775 u3d->cap_regs = NULL; in mv_u3d_remove() 1826 u3d->cap_regs = (struct mv_u3d_cap_regs __iomem *) in mv_u3d_probe() 1828 if (!u3d->cap_regs) { in mv_u3d_probe() 1835 (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() 1982 iounmap(u3d->cap_regs); in mv_u3d_probe()
|
D | mv_udc.h | 181 struct mv_cap_regs __iomem *cap_regs; member
|
D | mv_u3d.h | 251 struct mv_u3d_cap_regs __iomem *cap_regs; member
|
D | mv_udc_core.c | 1055 if (readl(&udc->cap_regs->hcsparams) & HCSPARAMS_PPC) in udc_reset() 2157 udc->cap_regs = (struct mv_cap_regs __iomem *) in mv_udc_probe() 2159 if (udc->cap_regs == NULL) { in mv_udc_probe() 2182 (struct mv_op_regs __iomem *)((unsigned long)udc->cap_regs in mv_udc_probe() 2183 + (readl(&udc->cap_regs->caplength_hciversion) in mv_udc_probe() 2185 udc->max_eps = readl(&udc->cap_regs->dccparams) & DCCPARAMS_DEN_MASK; in mv_udc_probe()
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-mv-usb.h | 144 void __iomem *cap_regs; member
|
D | phy-mv-usb.c | 752 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()
|