Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/host/
H A 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
598 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_run()
[all …]
H A Dxhci-trace.h85 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 8) *
92 __entry->ctx_64 = HCC_64BYTE_CONTEXT(xhci->hcc_params);
99 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 32) *
H A 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()
H A 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()
H A Dxhci-mtk.c398 if (xhci->hci_version < 0x100 && HCC_MAX_PSA(xhci->hcc_params) == 4) in xhci_mtk_quirks()
562 if (HCC_MAX_PSA(xhci->hcc_params) >= 4 && in xhci_mtk_probe()
H A 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()
H A Dxhci-histb.c289 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
H A Dxhci.c3293 max_streams = HCC_MAX_PSA(xhci->hcc_params); in xhci_calculate_streams_entries()
3423 HCC_MAX_PSA(xhci->hcc_params) < 4) { in xhci_alloc_streams()
5274 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()
5275 xhci->hci_version = HC_VERSION(xhci->hcc_params); in xhci_gen_setup()
5276 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
5313 xhci->hcc_params &= ~BIT(0); in xhci_gen_setup()
5317 if (HCC_64BIT_ADDR(xhci->hcc_params) && in xhci_gen_setup()
5341 xhci->hcc_params, xhci->hci_version, xhci->quirks); in xhci_gen_setup()
H A Dfotg210.h222 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
H A 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()
4902 u32 hcc_params; in hcd_fotg210_init() local
4916 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in hcd_fotg210_init()
4932 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
4975 if (HCC_CANPARK(hcc_params)) { in hcd_fotg210_init()
4990 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
5030 fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fotg210_run()
H A Dxhci-plat.c409 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_plat_probe()
H A Dxhci-mem.c541 ctx->size = HCC_64BYTE_CONTEXT(xhci->hcc_params) ? 2048 : 1024; in xhci_alloc_container_ctx()
543 ctx->size += CTX_SIZE(xhci->hcc_params); in xhci_alloc_container_ctx()
590 (ctx->bytes + CTX_SIZE(xhci->hcc_params)); in xhci_get_slot_ctx()
604 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params))); in xhci_get_ep_ctx()
H A Dxhci-pci.c445 HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_pci_probe()
H A Dxhci-debugfs.c292 dma = dev->out_ctx->dma + (ep_index + 1) * CTX_SIZE(xhci->hcc_params); in xhci_endpoint_context_show()
H A Dxhci-hub.c99 temp = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3_bos_desc()
179 if (HCC_PPC(xhci->hcc_params)) in xhci_common_hub_descriptor()
H A Dxhci.h59 __le32 hcc_params; member
1774 __u32 hcc_params; member
H A Dxhci-ring.c4106 HCC_CFC(xhci->hcc_params)) { in xhci_queue_isoc_tx()
4190 if (HCC_CFC(xhci->hcc_params)) in xhci_queue_isoc_tx()
4270 if (HCC_CFC(xhci->hcc_params) && !list_empty(&ep_ring->td_list)) { in xhci_queue_isoc_tx_prepare()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dehci_def.h49 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
/OK3568_Linux_fs/kernel/drivers/usb/early/
H A 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()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-tegra/
H A Dusb.h31 uint hcc_params; member
/OK3568_Linux_fs/kernel/drivers/usb/isp1760/
H A 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()