| /linux-6.15/drivers/usb/host/ |
| H A D | ehci-mv.c | 34 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 D | xhci-ext-caps.c | 86 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_ext_cap_init()
|
| H A D | xhci-debugfs.c | 148 void __iomem *base = &xhci->cap_regs->hc_capbase; in xhci_debugfs_extcap_regset() 649 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)), in xhci_debugfs_init() 654 readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK, in xhci_debugfs_init()
|
| H A D | xhci.c | 4083 readl(&xhci->cap_regs->hcs_params1))); in xhci_alloc_dev() 5289 xhci->cap_regs = hcd->regs; in xhci_gen_setup() 5291 HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup() 5293 (readl(&xhci->cap_regs->run_regs_off) & RTSOFF_MASK); in xhci_gen_setup() 5295 xhci->hcs_params1 = readl(&xhci->cap_regs->hcs_params1); in xhci_gen_setup() 5296 xhci->hcs_params2 = readl(&xhci->cap_regs->hcs_params2); in xhci_gen_setup() 5297 xhci->hcs_params3 = readl(&xhci->cap_regs->hcs_params3); in xhci_gen_setup() 5298 xhci->hci_version = HC_VERSION(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup() 5299 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup() 5301 xhci->hcc_params2 = readl(&xhci->cap_regs->hcc_params2); in xhci_gen_setup()
|
| H A D | xhci-pci.c | 720 reg = (void __iomem *) xhci->cap_regs + in xhci_ssic_port_unused_quirk() 753 reg = (void __iomem *) xhci->cap_regs + 0x80a4; in xhci_pme_quirk()
|
| H A D | xhci-hub.c | 112 reg = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3x_bos_desc() 117 reg = readl(&xhci->cap_regs->hcs_params3); in xhci_create_usb3x_bos_desc() 784 base = &xhci->cap_regs->hc_capbase; in xhci_port_is_tunneled()
|
| H A D | xhci-mem.c | 2182 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() 2496 val = readl(&xhci->cap_regs->db_off); in xhci_mem_init() 2501 xhci->dba = (void __iomem *) xhci->cap_regs + val; in xhci_mem_init()
|
| H A D | xhci-tegra.c | 983 struct xhci_cap_regs __iomem *cap_regs; in tegra_xusb_wait_for_falcon() local 988 cap_regs = tegra->regs; in tegra_xusb_wait_for_falcon() 989 op_regs = tegra->regs + HC_LENGTH(readl(&cap_regs->hc_capbase)); in tegra_xusb_wait_for_falcon()
|
| H A D | xhci-dbgcap.c | 1313 base = &xhci->cap_regs->hc_capbase; in xhci_create_dbc_dev()
|
| H A D | xhci.h | 1501 struct xhci_cap_regs __iomem *cap_regs; member
|
| /linux-6.15/drivers/usb/cdns3/ |
| H A D | cdnsp-gadget.c | 153 base = &pdev->cap_regs->hc_capbase; in cdnsp_set_apb_timeout_value() 168 base = &pdev->cap_regs->hc_capbase; in cdnsp_set_chicken_bits_2() 182 base = &pdev->cap_regs->hc_capbase; in cdnsp_clear_chicken_bits_2() 1593 void __iomem *reg = &pdev->cap_regs->hc_capbase; in cdnsp_get_ep_buffering() 1791 void __iomem *reg = &pdev->cap_regs->hc_capbase; in cdnsp_get_rev_cap() 1811 pdev->cap_regs = pdev->regs; in cdnsp_gen_setup() 1813 HC_LENGTH(readl(&pdev->cap_regs->hc_capbase)); in cdnsp_gen_setup() 1815 (readl(&pdev->cap_regs->run_regs_off) & RTSOFF_MASK); in cdnsp_gen_setup() 1818 pdev->hcs_params1 = readl(&pdev->cap_regs->hcs_params1); in cdnsp_gen_setup() 1819 pdev->hcc_params = readl(&pdev->cap_regs->hc_capbase); in cdnsp_gen_setup() [all …]
|
| H A D | cdnsp-mem.c | 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()
|
| H A D | cdnsp-gadget.h | 1405 struct cdnsp_cap_regs __iomem *cap_regs; member
|
| /linux-6.15/drivers/usb/gadget/udc/ |
| H A D | mv_u3d_core.c | 1769 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() 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->vuoff)); in mv_u3d_probe() 1980 iounmap(u3d->cap_regs); in mv_u3d_probe()
|
| H A D | mv_udc.h | 177 struct mv_cap_regs __iomem *cap_regs; member
|
| H A D | mv_u3d.h | 248 struct mv_u3d_cap_regs __iomem *cap_regs; member
|
| H A D | mv_udc_core.c | 1044 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()
|
| /linux-6.15/drivers/usb/phy/ |
| H A D | phy-mv-usb.c | 737 mvotg->cap_regs = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in mv_otg_probe() 738 if (mvotg->cap_regs == NULL) { in mv_otg_probe() 752 (struct mv_otg_regs __iomem *) ((unsigned long) mvotg->cap_regs in mv_otg_probe() 753 + (readl(mvotg->cap_regs) & CAPLENGTH_MASK)); in mv_otg_probe()
|
| H A D | phy-mv-usb.h | 140 void __iomem *cap_regs; member
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | debugfs-hisi-zip | 162 What: /sys/kernel/debug/hisi_zip/<bdf>/cap_regs
|
| H A D | debugfs-hisi-sec | 161 What: /sys/kernel/debug/hisi_sec2/<bdf>/cap_regs
|
| H A D | debugfs-hisi-hpre | 188 What: /sys/kernel/debug/hisi_hpre/<bdf>/cap_regs
|