Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/host/
Dehci-hcd.c460 u32 hcc_params; in ehci_init() local
474 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_init()
496 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in ehci_init()
509 if (HCC_ISOC_CACHE(hcc_params)) // full frame cache in ehci_init()
512 ehci->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in ehci_init()
537 if (HCC_PER_PORT_CHANGE_EVENT(hcc_params)) { in ehci_init()
542 if (HCC_CANPARK(hcc_params)) { in ehci_init()
557 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.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.c98 temp = readl(&xhci->cap_regs->hcc_params); in xhci_print_cap_regs()
463 int csz = HCC_64BYTE_CONTEXT(xhci->hcc_params); in xhci_dbg_slot_ctx()
501 int csz = HCC_64BYTE_CONTEXT(xhci->hcc_params); in xhci_dbg_ep_ctx()
551 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()
2710 u32 temp, hcc_params; in oxu_run() local
2734 hcc_params = readl(&oxu->caps->hcc_params); in oxu_run()
2735 if (HCC_64BIT_ADDR(hcc_params)) in oxu_run()
Dxhci-plat.c156 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()
828 &ehci->caps->hcc_params)); in fill_registers_buffer()
864 i = ehci_readl(ehci, &ehci->caps->hcc_params); in fill_registers_buffer()
Dfusbh200-hcd.c127 u32 params = fusbh200_readl(fusbh200, &fusbh200->caps->hcc_params); in dbg_hcc_params()
685 i = fusbh200_readl(fusbh200, &fusbh200->caps->hcc_params); in fill_registers_buffer()
5069 u32 hcc_params; in hcd_fusbh200_init() local
5083 hcc_params = fusbh200_readl(fusbh200, &fusbh200->caps->hcc_params); in hcd_fusbh200_init()
5099 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fusbh200_init()
5134 if (HCC_CANPARK(hcc_params)) { in hcd_fusbh200_init()
5149 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fusbh200_init()
5167 u32 hcc_params; in fusbh200_run() local
5188 hcc_params = fusbh200_readl(fusbh200, &fusbh200->caps->hcc_params); in fusbh200_run()
Dfotg210-hcd.c128 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in dbg_hcc_params()
712 i = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fill_registers_buffer()
5137 u32 hcc_params; in hcd_fotg210_init() local
5151 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in hcd_fotg210_init()
5167 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
5210 if (HCC_CANPARK(hcc_params)) { in hcd_fotg210_init()
5225 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
5243 u32 hcc_params; in fotg210_run() local
5266 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fotg210_run()
Dfotg210.h212 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
Dfusbh200.h207 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
Dxhci-pci.c276 HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_pci_probe()
Dxhci.c3057 max_streams = HCC_MAX_PSA(xhci->hcc_params); in xhci_calculate_streams_entries()
3186 HCC_MAX_PSA(xhci->hcc_params) < 4) { in xhci_alloc_streams()
4916 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()
4917 xhci->hci_version = HC_VERSION(xhci->hcc_params); in xhci_gen_setup()
4918 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
4952 xhci->hcc_params &= ~BIT(0); in xhci_gen_setup()
4956 if (HCC_64BIT_ADDR(xhci->hcc_params) && in xhci_gen_setup()
4970 xhci->hcc_params, xhci->hci_version, xhci->quirks); in xhci_gen_setup()
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()
2173 addr = &xhci->cap_regs->hcc_params; in xhci_setup_port_arrays()
Dxhci-hub.c64 if (HCC_PPC(xhci->hcc_params)) in xhci_common_hub_descriptor()
764 temp = readl(&xhci->cap_regs->hcc_params); in xhci_hub_control()
Dxhci.h65 __le32 hcc_params; member
1462 __u32 hcc_params; member
/linux-4.1.27/include/linux/usb/
Dehci_def.h48 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
/linux-4.1.27/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.1.27/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()