| /drivers/usb/host/ |
| A D | ehci-hcd.c | 459 u32 hcc_params; in ehci_init() local 472 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_init() 494 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in ehci_init() 507 if (HCC_ISOC_CACHE(hcc_params)) // full frame cache in ehci_init() 510 ehci->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in ehci_init() 535 if (HCC_PER_PORT_CHANGE_EVENT(hcc_params)) { in ehci_init() 540 if (HCC_CANPARK(hcc_params)) { in ehci_init() 555 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in ehci_init() 576 u32 hcc_params; in ehci_run() local 598 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_run() [all …]
|
| A D | pci-quirks.c | 942 u32 hcc_params, cap, val; in quirk_usb_disable_ehci() local 960 hcc_params = readl(base + EHCI_HCC_PARAMS); in quirk_usb_disable_ehci() 968 hcc_params &= ~(0xffL << 8); in quirk_usb_disable_ehci() 970 offset = (hcc_params >> 8) & 0xff; in quirk_usb_disable_ehci()
|
| A D | xhci-trace.h | 84 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 8) * 89 __entry->ctx_64 = HCC_64BYTE_CONTEXT(xhci->hcc_params); 95 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 32) *
|
| A D | oxu210hp-hcd.c | 111 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member 2990 u32 hcc_params; in oxu_hcd_init() local 3006 hcc_params = readl(&oxu->caps->hcc_params); in oxu_hcd_init() 3007 if (HCC_ISOC_CACHE(hcc_params)) /* full frame cache */ in oxu_hcd_init() 3010 oxu->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in oxu_hcd_init() 3035 if (HCC_CANPARK(hcc_params)) { in oxu_hcd_init() 3050 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in oxu_hcd_init() 3094 u32 temp, hcc_params; in oxu_run() local 3118 hcc_params = readl(&oxu->caps->hcc_params); in oxu_run() 3119 if (HCC_64BIT_ADDR(hcc_params)) in oxu_run()
|
| A D | ehci-dbg.c | 53 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params() 805 &ehci->caps->hcc_params)); in fill_registers_buffer() 841 i = ehci_readl(ehci, &ehci->caps->hcc_params); in fill_registers_buffer()
|
| A D | xhci-mtk.c | 471 if (xhci->hci_version < 0x100 && HCC_MAX_PSA(xhci->hcc_params) == 4) in xhci_mtk_quirks() 653 if (usb3_hcd && HCC_MAX_PSA(xhci->hcc_params) >= 4 && in xhci_mtk_probe()
|
| A D | xhci-histb.c | 279 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
|
| A D | xhci-mem.c | 466 ctx->size = HCC_64BYTE_CONTEXT(xhci->hcc_params) ? 2048 : 1024; in xhci_alloc_container_ctx() 468 ctx->size += CTX_SIZE(xhci->hcc_params); in xhci_alloc_container_ctx() 532 (ctx->bytes + CTX_SIZE(xhci->hcc_params)); in xhci_get_slot_ctx() 545 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params))); in xhci_get_ep_ctx()
|
| A D | xhci-plat.c | 331 if (usb3_hcd && HCC_MAX_PSA(xhci->hcc_params) >= 4 && in xhci_plat_probe()
|
| A D | xhci.c | 3475 max_streams = HCC_MAX_PSA(xhci->hcc_params); in xhci_calculate_streams_entries() 3605 HCC_MAX_PSA(xhci->hcc_params) < 4) { in xhci_alloc_streams() 5417 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup() 5465 xhci->hcc_params &= ~BIT(0); in xhci_gen_setup() 5469 if (HCC_64BIT_ADDR(xhci->hcc_params) && in xhci_gen_setup() 5498 xhci->hcc_params, xhci->hci_version, xhci->quirks); in xhci_gen_setup()
|
| A D | xhci-hub.c | 112 reg = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3x_bos_desc() 266 if (HCC_PPC(xhci->hcc_params)) in xhci_common_hub_descriptor()
|
| A D | xhci.h | 62 __le32 hcc_params; member 1515 __u32 hcc_params; member
|
| A D | xhci-debugfs.c | 281 dma = dev->out_ctx->dma + (ep_index + 1) * CTX_SIZE(xhci->hcc_params); in xhci_endpoint_context_show()
|
| A D | xhci-pci.c | 657 HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_pci_common_probe()
|
| A D | xhci-ring.c | 4159 HCC_CFC(xhci->hcc_params)) { in xhci_queue_isoc_tx() 4243 if (HCC_CFC(xhci->hcc_params)) in xhci_queue_isoc_tx() 4322 if (HCC_CFC(xhci->hcc_params) && !list_empty(&ep_ring->td_list)) { in xhci_queue_isoc_tx_prepare()
|
| A D | xhci-tegra.c | 1835 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in tegra_xusb_probe()
|
| /drivers/usb/cdns3/ |
| A D | cdnsp-gadget.c | 1636 int max_streams = HCC_MAX_PSA(pdev->hcc_params); in cdnsp_gadget_init_endpoints() 1836 pdev->hcc_params = readl(&pdev->cap_regs->hc_capbase); in cdnsp_gen_setup() 1837 pdev->hci_version = HC_VERSION(pdev->hcc_params); in cdnsp_gen_setup() 1838 pdev->hcc_params = readl(&pdev->cap_regs->hcc_params); in cdnsp_gen_setup() 1865 if (HCC_64BIT_ADDR(pdev->hcc_params) && in cdnsp_gen_setup()
|
| A D | cdnsp-gadget.h | 59 __le32 hcc_params; member 1427 __u32 hcc_params; member
|
| A D | cdnsp-mem.c | 463 int size = HCC_64BYTE_CONTEXT(pdev->hcc_params) ? 2048 : 1024; in cdnsp_init_device_ctx() 467 pdev->out_ctx.ctx_size = CTX_SIZE(pdev->hcc_params); in cdnsp_init_device_ctx()
|
| /drivers/usb/early/ |
| A D | ehci-dbgp.c | 711 u32 hcc_params = readl(&ehci_caps->hcc_params); in early_ehci_bios_handoff() local 712 int offset = (hcc_params >> 8) & 0xff; in early_ehci_bios_handoff()
|
| /drivers/usb/fotg210/ |
| A D | fotg210-hcd.h | 220 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
|
| A D | fotg210-hcd.c | 106 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in dbg_hcc_params() 680 i = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fill_registers_buffer() 4894 u32 hcc_params; in hcd_fotg210_init() local 4907 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in hcd_fotg210_init() 4923 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init() 4966 if (HCC_CANPARK(hcc_params)) { in hcd_fotg210_init() 4981 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init() 5021 fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fotg210_run()
|