Home
last modified time | relevance | path

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

/Linux-v4.19/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.c2576 u32 hcc_params; in oxu_hcd_init() local
2592 hcc_params = readl(&oxu->caps->hcc_params); in oxu_hcd_init()
2593 if (HCC_ISOC_CACHE(hcc_params)) /* full frame cache */ in oxu_hcd_init()
2596 oxu->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in oxu_hcd_init()
2621 if (HCC_CANPARK(hcc_params)) { in oxu_hcd_init()
2636 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in oxu_hcd_init()
2683 u32 temp, hcc_params; in oxu_run() local
2707 hcc_params = readl(&oxu->caps->hcc_params); in oxu_run()
2708 if (HCC_64BIT_ADDR(hcc_params)) in oxu_run()
Dpci-quirks.c926 u32 hcc_params, cap, val; in quirk_usb_disable_ehci() local
944 hcc_params = readl(base + EHCI_HCC_PARAMS); in quirk_usb_disable_ehci()
945 offset = (hcc_params >> 8) & 0xff; in quirk_usb_disable_ehci()
Doxu210hp.h79 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
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.c290 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
Dfotg210-hcd.c104 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in dbg_hcc_params()
685 i = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fill_registers_buffer()
4901 u32 hcc_params; in hcd_fotg210_init() local
4915 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in hcd_fotg210_init()
4931 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
4974 if (HCC_CANPARK(hcc_params)) { in hcd_fotg210_init()
4989 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
5007 u32 hcc_params; in fotg210_run() local
5030 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fotg210_run()
Dxhci-plat.c312 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_plat_probe()
Dfotg210.h219 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
Dxhci.c3167 max_streams = HCC_MAX_PSA(xhci->hcc_params); in xhci_calculate_streams_entries()
3297 HCC_MAX_PSA(xhci->hcc_params) < 4) { in xhci_alloc_streams()
5031 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()
5032 xhci->hci_version = HC_VERSION(xhci->hcc_params); in xhci_gen_setup()
5033 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
5070 xhci->hcc_params &= ~BIT(0); in xhci_gen_setup()
5074 if (HCC_64BIT_ADDR(xhci->hcc_params) && in xhci_gen_setup()
5098 xhci->hcc_params, xhci->hci_version, xhci->quirks); in xhci_gen_setup()
Dxhci-pci.c330 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-mtk.c554 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_mtk_probe()
Dxhci-debugfs.c287 dma = dev->out_ctx->dma + dci * CTX_SIZE(xhci->hcc_params); in xhci_endpoint_context_show()
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
1725 __u32 hcc_params; member
Dxhci-ring.c3601 HCC_CFC(xhci->hcc_params)) { in xhci_queue_isoc_tx()
3687 if (HCC_CFC(xhci->hcc_params)) in xhci_queue_isoc_tx()
3767 if (HCC_CFC(xhci->hcc_params) && !list_empty(&ep_ring->td_list)) { in xhci_queue_isoc_tx_prepare()
/Linux-v4.19/include/linux/usb/
Dehci_def.h49 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
/Linux-v4.19/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-v4.19/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()