Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/host/
Dehci-hcd.c461 u32 hcc_params; in ehci_init() local
475 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_init()
497 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in ehci_init()
510 if (HCC_ISOC_CACHE(hcc_params)) // full frame cache in ehci_init()
513 ehci->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in ehci_init()
538 if (HCC_PER_PORT_CHANGE_EVENT(hcc_params)) { in ehci_init()
543 if (HCC_CANPARK(hcc_params)) { in ehci_init()
558 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.h89 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 8) *
96 __entry->ctx_64 = HCC_64BYTE_CONTEXT(xhci->hcc_params);
103 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 32) *
Dxhci-dbg.c99 temp = readl(&xhci->cap_regs->hcc_params); in xhci_print_cap_regs()
480 int csz = HCC_64BYTE_CONTEXT(xhci->hcc_params); in xhci_dbg_slot_ctx()
518 int csz = HCC_64BYTE_CONTEXT(xhci->hcc_params); in xhci_dbg_ep_ctx()
568 int csz = HCC_64BYTE_CONTEXT(xhci->hcc_params); in xhci_dbg_ctx()
Dpci-quirks.c755 u32 hcc_params, cap, val; in quirk_usb_disable_ehci() local
773 hcc_params = readl(base + EHCI_HCC_PARAMS); in quirk_usb_disable_ehci()
774 offset = (hcc_params >> 8) & 0xff; in quirk_usb_disable_ehci()
Doxu210hp-hcd.c2598 u32 hcc_params; in oxu_hcd_init() local
2614 hcc_params = readl(&oxu->caps->hcc_params); in oxu_hcd_init()
2615 if (HCC_ISOC_CACHE(hcc_params)) /* full frame cache */ in oxu_hcd_init()
2618 oxu->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in oxu_hcd_init()
2643 if (HCC_CANPARK(hcc_params)) { in oxu_hcd_init()
2658 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in oxu_hcd_init()
2705 u32 temp, hcc_params; in oxu_run() local
2729 hcc_params = readl(&oxu->caps->hcc_params); in oxu_run()
2730 if (HCC_64BIT_ADDR(hcc_params)) in oxu_run()
Dxhci-plat.c162 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_plat_probe()
Doxu210hp.h78 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
Dehci-dbg.c73 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params()
829 &ehci->caps->hcc_params)); in fill_registers_buffer()
865 i = ehci_readl(ehci, &ehci->caps->hcc_params); in fill_registers_buffer()
Dxhci-pci.c279 HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_pci_probe()
Dfotg210-hcd.c117 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in dbg_hcc_params()
698 i = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fill_registers_buffer()
4942 u32 hcc_params; in hcd_fotg210_init() local
4956 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in hcd_fotg210_init()
4972 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
5015 if (HCC_CANPARK(hcc_params)) { in hcd_fotg210_init()
5030 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
5048 u32 hcc_params; in fotg210_run() local
5071 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fotg210_run()
Dfotg210.h218 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
Dxhci-mem.c516 ctx->size = HCC_64BYTE_CONTEXT(xhci->hcc_params) ? 2048 : 1024; in xhci_alloc_container_ctx()
518 ctx->size += CTX_SIZE(xhci->hcc_params); in xhci_alloc_container_ctx()
554 (ctx->bytes + CTX_SIZE(xhci->hcc_params)); in xhci_get_slot_ctx()
567 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params))); in xhci_get_ep_ctx()
2205 addr = &xhci->cap_regs->hcc_params; in xhci_setup_port_arrays()
Dxhci.c3047 max_streams = HCC_MAX_PSA(xhci->hcc_params); in xhci_calculate_streams_entries()
3176 HCC_MAX_PSA(xhci->hcc_params) < 4) { in xhci_alloc_streams()
4902 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()
4903 xhci->hci_version = HC_VERSION(xhci->hcc_params); in xhci_gen_setup()
4904 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
4934 if (HCC_64BIT_ADDR(xhci->hcc_params) && in xhci_gen_setup()
4958 xhci->hcc_params, xhci->hci_version, xhci->quirks); in xhci_gen_setup()
Dxhci-hub.c94 temp = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3_bos_desc()
165 if (HCC_PPC(xhci->hcc_params)) in xhci_common_hub_descriptor()
Dxhci.h67 __le32 hcc_params; member
1521 __u32 hcc_params; member
Dxhci-ring.c3772 HCC_CFC(xhci->hcc_params)) { in xhci_queue_isoc_tx()
3854 if (HCC_CFC(xhci->hcc_params)) in xhci_queue_isoc_tx()
3955 if (HCC_CFC(xhci->hcc_params) && !list_empty(&ep_ring->td_list)) { in xhci_queue_isoc_tx_prepare()
/linux-4.4.14/include/linux/usb/
Dehci_def.h48 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
/linux-4.4.14/drivers/usb/early/
Dehci-dbgp.c717 u32 hcc_params = readl(&ehci_caps->hcc_params); in early_ehci_bios_handoff() local
718 int offset = (hcc_params >> 8) & 0xff; in early_ehci_bios_handoff()
/linux-4.4.14/drivers/usb/isp1760/
Disp1760-hcd.c439 u32 hcc_params; in priv_init() local
454 hcc_params = reg_read32(hcd->regs, HC_HCCPARAMS); in priv_init()
456 if (HCC_ISOC_CACHE(hcc_params)) in priv_init()
459 priv->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in priv_init()