Home
last modified time | relevance | path

Searched refs:hcc_params (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/drivers/usb/host/
Dehci-hcd.c458 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
597 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_run()
[all …]
Dxhci-trace.h87 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 8) *
94 __entry->ctx_64 = HCC_64BYTE_CONTEXT(xhci->hcc_params);
101 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 32) *
Doxu210hp-hcd.c110 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
3013 u32 hcc_params; in oxu_hcd_init() local
3029 hcc_params = readl(&oxu->caps->hcc_params); in oxu_hcd_init()
3030 if (HCC_ISOC_CACHE(hcc_params)) /* full frame cache */ in oxu_hcd_init()
3033 oxu->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in oxu_hcd_init()
3058 if (HCC_CANPARK(hcc_params)) { in oxu_hcd_init()
3073 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in oxu_hcd_init()
3117 u32 temp, hcc_params; in oxu_run() local
3141 hcc_params = readl(&oxu->caps->hcc_params); in oxu_run()
3142 if (HCC_64BIT_ADDR(hcc_params)) in oxu_run()
Dpci-quirks.c932 u32 hcc_params, cap, val; in quirk_usb_disable_ehci() local
950 hcc_params = readl(base + EHCI_HCC_PARAMS); in quirk_usb_disable_ehci()
951 offset = (hcc_params >> 8) & 0xff; in quirk_usb_disable_ehci()
Dehci-dbg.c53 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()
Dxhci-histb.c289 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
Dfotg210.h222 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
Dxhci-plat.c340 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_plat_probe()
Dxhci.c3301 max_streams = HCC_MAX_PSA(xhci->hcc_params); in xhci_calculate_streams_entries()
3431 HCC_MAX_PSA(xhci->hcc_params) < 4) { in xhci_alloc_streams()
5214 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()
5215 xhci->hci_version = HC_VERSION(xhci->hcc_params); in xhci_gen_setup()
5216 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
5253 xhci->hcc_params &= ~BIT(0); in xhci_gen_setup()
5257 if (HCC_64BIT_ADDR(xhci->hcc_params) && in xhci_gen_setup()
5281 xhci->hcc_params, xhci->hci_version, xhci->quirks); in xhci_gen_setup()
Dfotg210-hcd.c107 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in dbg_hcc_params()
688 i = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fill_registers_buffer()
4905 u32 hcc_params; in hcd_fotg210_init() local
4919 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in hcd_fotg210_init()
4935 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
4978 if (HCC_CANPARK(hcc_params)) { in hcd_fotg210_init()
4993 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
5033 fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fotg210_run()
Dxhci-mem.c483 ctx->size = HCC_64BYTE_CONTEXT(xhci->hcc_params) ? 2048 : 1024; in xhci_alloc_container_ctx()
485 ctx->size += CTX_SIZE(xhci->hcc_params); in xhci_alloc_container_ctx()
520 (ctx->bytes + CTX_SIZE(xhci->hcc_params)); in xhci_get_slot_ctx()
533 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params))); in xhci_get_ep_ctx()
Dxhci-mtk.c549 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_mtk_probe()
Dxhci-pci.c405 HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_pci_probe()
Dxhci-debugfs.c288 dma = dev->out_ctx->dma + (ep_index + 1) * CTX_SIZE(xhci->hcc_params); in xhci_endpoint_context_show()
Dxhci-hub.c99 temp = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3_bos_desc()
180 if (HCC_PPC(xhci->hcc_params)) in xhci_common_hub_descriptor()
Dxhci.h55 __le32 hcc_params; member
1749 __u32 hcc_params; member
Dxhci-ring.c3824 HCC_CFC(xhci->hcc_params)) { in xhci_queue_isoc_tx()
3907 if (HCC_CFC(xhci->hcc_params)) in xhci_queue_isoc_tx()
3987 if (HCC_CFC(xhci->hcc_params) && !list_empty(&ep_ring->td_list)) { in xhci_queue_isoc_tx_prepare()
/Linux-v5.10/include/linux/usb/
Dehci_def.h49 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
/Linux-v5.10/drivers/usb/early/
Dehci-dbgp.c711 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()
/Linux-v5.10/drivers/usb/isp1760/
Disp1760-hcd.c436 u32 hcc_params; in priv_init() local
451 hcc_params = reg_read32(hcd->regs, HC_HCCPARAMS); in priv_init()
453 if (HCC_ISOC_CACHE(hcc_params)) in priv_init()
456 priv->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in priv_init()