Home
last modified time | relevance | path

Searched refs:cap_regs (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/host/
H A Dehci-mv.c34 void __iomem *cap_regs; member
158 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()
H A Dxhci-ext-caps.c85 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_ext_cap_init()
H A Dxhci-debugfs.c148 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_debugfs_extcap_regset()
668 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)), in xhci_debugfs_init()
673 readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK, in xhci_debugfs_init()
H A Dxhci-pci.c572 reg = (void __iomem *) xhci->cap_regs + in xhci_ssic_port_unused_quirk()
605 reg = (void __iomem *) xhci->cap_regs + 0x80a4; in xhci_pme_quirk()
H A Dxhci.c4066 readl(&xhci->cap_regs->hcs_params1))); in xhci_alloc_dev()
5284 xhci->cap_regs = hcd->regs; in xhci_gen_setup()
5286 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup()
5288 (readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK); in xhci_gen_setup()
5290 xhci->hcs_params1 = readl(&xhci->cap_regs->hcs_params1); in xhci_gen_setup()
5291 xhci->hcs_params2 = readl(&xhci->cap_regs->hcs_params2); in xhci_gen_setup()
5292 xhci->hcs_params3 = readl(&xhci->cap_regs->hcs_params3); in xhci_gen_setup()
5293 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()
5295 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
5297 xhci->hcc_params2 = readl(&xhci->cap_regs in xhci_gen_setup()
[all...]
H A Dxhci-mem.c2356 base = &xhci->cap_regs->hc_capbase; in xhci_setup_port_arrays()
2465 val = HCS_MAX_SLOTS(readl(&xhci->cap_regs->hcs_params1)); in xhci_mem_init()
2552 val = readl(&xhci->cap_regs->db_off); in xhci_mem_init()
2557 xhci->dba = (void __iomem *) xhci->cap_regs + val; in xhci_mem_init()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-mv.c34 void __iomem *cap_regs; member
157 ehci_mv->cap_regs = in mv_ehci_probe()
159 offset = readl(ehci_mv->cap_regs) & CAPLENGTH_MASK; in mv_ehci_probe()
161 (void __iomem *) ((unsigned long) ehci_mv->cap_regs + offset); in mv_ehci_probe()
173 ehci->caps = (struct ehci_caps __iomem *) ehci_mv->cap_regs; in mv_ehci_probe()
H A Dxhci-ext-caps.c86 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_ext_cap_init()
H A Dxhci-debugfs.c148 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_debugfs_extcap_regset()
668 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)), in xhci_debugfs_init()
673 readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK, in xhci_debugfs_init()
H A Dxhci-pci.c753 reg = (void __iomem *) xhci->cap_regs + in xhci_ssic_port_unused_quirk()
786 reg = (void __iomem *) xhci->cap_regs + 0x80a4; in xhci_pme_quirk()
H A Dxhci.c3957 readl(&xhci->cap_regs->hcs_params1))); in xhci_alloc_dev()
5160 xhci->cap_regs = hcd->regs; in xhci_gen_setup()
5162 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup()
5164 (readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK); in xhci_gen_setup()
5166 xhci->hcs_params1 = readl(&xhci->cap_regs->hcs_params1); in xhci_gen_setup()
5167 xhci->hcs_params2 = readl(&xhci->cap_regs->hcs_params2); in xhci_gen_setup()
5168 xhci->hcs_params3 = readl(&xhci->cap_regs->hcs_params3); in xhci_gen_setup()
5169 xhci->hci_version = HC_VERSION(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup()
5170 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
5172 xhci->hcc_params2 = readl(&xhci->cap_regs in xhci_gen_setup()
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A 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()
1828 dev_dbg(&dev->dev, "cap_regs address: 0x%lx/0x%lx\n", 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 in mv_u3d_probe()
[all...]
H A Dmv_udc.h177 struct mv_cap_regs __iomem *cap_regs; member
H A Dmv_u3d.h248 struct mv_u3d_cap_regs __iomem *cap_regs; member
H A 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()
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-gadget.c147 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()
1576 void __iomem *reg = &pdev->cap_regs->hc_capbase; in cdnsp_get_ep_buffering()
1774 void __iomem *reg = &pdev->cap_regs->hc_capbase; in cdnsp_get_rev_cap()
1792 pdev->cap_regs = pdev->regs; in cdnsp_gen_setup()
1794 HC_LENGTH(readl(&pdev->cap_regs->hc_capbase)); in cdnsp_gen_setup()
1796 (readl(&pdev->cap_regs->run_regs_off) & RTSOFF_MASK); in cdnsp_gen_setup()
1799 pdev->hcs_params1 = readl(&pdev->cap_regs->hcs_params1); in cdnsp_gen_setup()
1800 pdev->hcc_params = readl(&pdev->cap_regs->hc_capbase); in cdnsp_gen_setup()
1802 pdev->hcc_params = readl(&pdev->cap_regs in cdnsp_gen_setup()
[all...]
H A Dcdnsp-mem.c1153 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()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Dmv_u3d_core.c1769 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()
1820 u3d->cap_regs = (struct mv_u3d_cap_regs __iomem *) in mv_u3d_probe()
1822 if (!u3d->cap_regs) { in mv_u3d_probe()
1827 dev_dbg(&dev->dev, "cap_regs address: 0x%lx/0x%lx\n", in mv_u3d_probe()
1829 (unsigned long) u3d->cap_regs); in mv_u3d_probe()
1848 u3d->op_regs = (struct mv_u3d_op_regs __iomem *)(u3d->cap_regs in mv_u3d_probe()
1851 u3d->vuc_regs = (struct mv_u3d_vuc_regs __iomem *)(u3d->cap_regs in mv_u3d_probe()
1852 + ioread32(&u3d->cap_regs in mv_u3d_probe()
[all...]
H A Dmv_udc.h177 struct mv_cap_regs __iomem *cap_regs; member
H A Dmv_u3d.h248 struct mv_u3d_cap_regs __iomem *cap_regs; member
H A Dmv_udc_core.c1044 if (readl(&udc->cap_regs->hcsparams) & HCSPARAMS_PPC) in udc_reset()
2152 udc->cap_regs = (struct mv_cap_regs __iomem *) in mv_udc_probe()
2154 if (udc->cap_regs == NULL) { in mv_udc_probe()
2177 (struct mv_op_regs __iomem *)((unsigned long)udc->cap_regs in mv_udc_probe()
2178 + (readl(&udc->cap_regs->caplength_hciversion) in mv_udc_probe()
2180 udc->max_eps = readl(&udc->cap_regs->dccparams) & DCCPARAMS_DEN_MASK; in mv_udc_probe()
/kernel/linux/linux-5.10/drivers/usb/phy/
H A Dphy-mv-usb.h140 void __iomem *cap_regs; member
H A 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()
/kernel/linux/linux-6.6/drivers/usb/phy/
H A Dphy-mv-usb.h140 void __iomem *cap_regs; member
H A Dphy-mv-usb.c736 mvotg->cap_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in mv_otg_probe()
737 if (mvotg->cap_regs == NULL) { in mv_otg_probe()
751 (struct mv_otg_regs __iomem *) ((unsigned long) mvotg->cap_regs in mv_otg_probe()
752 + (readl(mvotg->cap_regs) & CAPLENGTH_MASK)); in mv_otg_probe()

Completed in 41 milliseconds

12