Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/host/
Dehci-hcd.c457 u32 hcc_params; in ehci_init() local
471 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_init()
493 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in ehci_init()
506 if (HCC_ISOC_CACHE(hcc_params)) // full frame cache in ehci_init()
509 ehci->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in ehci_init()
534 if (HCC_PER_PORT_CHANGE_EVENT(hcc_params)) { in ehci_init()
539 if (HCC_CANPARK(hcc_params)) { in ehci_init()
554 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in ehci_init()
575 u32 hcc_params; in ehci_run() local
596 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.c109 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
3011 u32 hcc_params; in oxu_hcd_init() local
3027 hcc_params = readl(&oxu->caps->hcc_params); in oxu_hcd_init()
3028 if (HCC_ISOC_CACHE(hcc_params)) /* full frame cache */ in oxu_hcd_init()
3031 oxu->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in oxu_hcd_init()
3056 if (HCC_CANPARK(hcc_params)) { in oxu_hcd_init()
3071 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in oxu_hcd_init()
3115 u32 temp, hcc_params; in oxu_run() local
3139 hcc_params = readl(&oxu->caps->hcc_params); in oxu_run()
3140 if (HCC_64BIT_ADDR(hcc_params)) in oxu_run()
Dpci-quirks.c929 u32 hcc_params, cap, val; in quirk_usb_disable_ehci() local
947 hcc_params = readl(base + EHCI_HCC_PARAMS); in quirk_usb_disable_ehci()
948 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()
Dfotg210-hcd.c106 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in dbg_hcc_params()
687 i = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fill_registers_buffer()
4907 u32 hcc_params; in hcd_fotg210_init() local
4921 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in hcd_fotg210_init()
4937 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
4980 if (HCC_CANPARK(hcc_params)) { in hcd_fotg210_init()
4995 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
5013 u32 hcc_params; in fotg210_run() local
5036 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fotg210_run()
Dfotg210.h222 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
Dxhci-histb.c290 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
Dxhci-plat.c314 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_plat_probe()
Dxhci.c3298 max_streams = HCC_MAX_PSA(xhci->hcc_params); in xhci_calculate_streams_entries()
3428 HCC_MAX_PSA(xhci->hcc_params) < 4) { in xhci_alloc_streams()
5201 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()
5202 xhci->hci_version = HC_VERSION(xhci->hcc_params); in xhci_gen_setup()
5203 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
5240 xhci->hcc_params &= ~BIT(0); in xhci_gen_setup()
5244 if (HCC_64BIT_ADDR(xhci->hcc_params) && in xhci_gen_setup()
5268 xhci->hcc_params, xhci->hci_version, xhci->quirks); in xhci_gen_setup()
Dxhci-pci.c357 HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_pci_probe()
Dxhci-mem.c474 ctx->size = HCC_64BYTE_CONTEXT(xhci->hcc_params) ? 2048 : 1024; in xhci_alloc_container_ctx()
476 ctx->size += CTX_SIZE(xhci->hcc_params); in xhci_alloc_container_ctx()
511 (ctx->bytes + CTX_SIZE(xhci->hcc_params)); in xhci_get_slot_ctx()
524 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params))); in xhci_get_ep_ctx()
Dxhci-debugfs.c287 dma = dev->out_ctx->dma + dci * CTX_SIZE(xhci->hcc_params); in xhci_endpoint_context_show()
Dxhci-mtk.c554 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_mtk_probe()
Dxhci-hub.c90 temp = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3_bos_desc()
171 if (HCC_PPC(xhci->hcc_params)) in xhci_common_hub_descriptor()
Dxhci.h55 __le32 hcc_params; member
1743 __u32 hcc_params; member
Dxhci-ring.c3733 HCC_CFC(xhci->hcc_params)) { in xhci_queue_isoc_tx()
3819 if (HCC_CFC(xhci->hcc_params)) in xhci_queue_isoc_tx()
3899 if (HCC_CFC(xhci->hcc_params) && !list_empty(&ep_ring->td_list)) { in xhci_queue_isoc_tx_prepare()
/Linux-v5.4/include/linux/usb/
Dehci_def.h49 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
/Linux-v5.4/drivers/usb/early/
Dehci-dbgp.c716 u32 hcc_params = readl(&ehci_caps->hcc_params); in early_ehci_bios_handoff() local
717 int offset = (hcc_params >> 8) & 0xff; in early_ehci_bios_handoff()
/Linux-v5.4/drivers/usb/isp1760/
Disp1760-hcd.c438 u32 hcc_params; in priv_init() local
453 hcc_params = reg_read32(hcd->regs, HC_HCCPARAMS); in priv_init()
455 if (HCC_ISOC_CACHE(hcc_params)) in priv_init()
458 priv->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in priv_init()