Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/host/
Dehci-hcd.c459 u32 hcc_params; in ehci_init() local
473 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_init()
495 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in ehci_init()
508 if (HCC_ISOC_CACHE(hcc_params)) // full frame cache in ehci_init()
511 ehci->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in ehci_init()
536 if (HCC_PER_PORT_CHANGE_EVENT(hcc_params)) { in ehci_init()
541 if (HCC_CANPARK(hcc_params)) { in ehci_init()
556 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in ehci_init()
577 u32 hcc_params; in ehci_run() local
599 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_run()
[all …]
Dxhci-trace.h84 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 8) *
89 __entry->ctx_64 = HCC_64BYTE_CONTEXT(xhci->hcc_params);
95 ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 32) *
Doxu210hp-hcd.c110 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
3014 u32 hcc_params; in oxu_hcd_init() local
3030 hcc_params = readl(&oxu->caps->hcc_params); in oxu_hcd_init()
3031 if (HCC_ISOC_CACHE(hcc_params)) /* full frame cache */ in oxu_hcd_init()
3034 oxu->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in oxu_hcd_init()
3059 if (HCC_CANPARK(hcc_params)) { in oxu_hcd_init()
3074 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in oxu_hcd_init()
3118 u32 temp, hcc_params; in oxu_run() local
3142 hcc_params = readl(&oxu->caps->hcc_params); in oxu_run()
3143 if (HCC_64BIT_ADDR(hcc_params)) in oxu_run()
Dpci-quirks.c930 u32 hcc_params, cap, val; in quirk_usb_disable_ehci() local
948 hcc_params = readl(base + EHCI_HCC_PARAMS); in quirk_usb_disable_ehci()
949 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()
Dxhci-histb.c279 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
Dxhci-mtk.c436 if (xhci->hci_version < 0x100 && HCC_MAX_PSA(xhci->hcc_params) == 4) in xhci_mtk_quirks()
617 if (usb3_hcd && HCC_MAX_PSA(xhci->hcc_params) >= 4 && in xhci_mtk_probe()
Dxhci-plat.c303 if (usb3_hcd && HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_plat_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.c3242 max_streams = HCC_MAX_PSA(xhci->hcc_params); in xhci_calculate_streams_entries()
3372 HCC_MAX_PSA(xhci->hcc_params) < 4) { in xhci_alloc_streams()
5160 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
5203 xhci->hcc_params &= ~BIT(0); in xhci_gen_setup()
5207 if (HCC_64BIT_ADDR(xhci->hcc_params) && in xhci_gen_setup()
5236 xhci->hcc_params, xhci->hci_version, xhci->quirks); in xhci_gen_setup()
Dxhci-debugfs.c293 dma = dev->out_ctx->dma + (ep_index + 1) * CTX_SIZE(xhci->hcc_params); in xhci_endpoint_context_show()
Dxhci-hub.c111 reg = readl(&xhci->cap_regs->hcc_params); in xhci_create_usb3x_bos_desc()
265 if (HCC_PPC(xhci->hcc_params)) in xhci_common_hub_descriptor()
Dxhci-pci.c690 HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_pci_probe()
Dxhci.h58 __le32 hcc_params; member
1773 __u32 hcc_params; member
Dxhci-ring.c4065 HCC_CFC(xhci->hcc_params)) { in xhci_queue_isoc_tx()
4149 if (HCC_CFC(xhci->hcc_params)) in xhci_queue_isoc_tx()
4228 if (HCC_CFC(xhci->hcc_params) && !list_empty(&ep_ring->td_list)) { in xhci_queue_isoc_tx_prepare()
Dxhci-tegra.c1831 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in tegra_xusb_probe()
/Linux-v6.6/include/linux/usb/
Dehci_def.h36 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
/Linux-v6.6/drivers/usb/early/
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()
/Linux-v6.6/drivers/usb/cdns3/
Dcdnsp-gadget.c1602 int max_streams = HCC_MAX_PSA(pdev->hcc_params); in cdnsp_gadget_init_endpoints()
1800 pdev->hcc_params = readl(&pdev->cap_regs->hc_capbase); in cdnsp_gen_setup()
1801 pdev->hci_version = HC_VERSION(pdev->hcc_params); in cdnsp_gen_setup()
1802 pdev->hcc_params = readl(&pdev->cap_regs->hcc_params); in cdnsp_gen_setup()
1820 if (HCC_64BIT_ADDR(pdev->hcc_params) && in cdnsp_gen_setup()
Dcdnsp-gadget.h59 __le32 hcc_params; member
1412 __u32 hcc_params; member
Dcdnsp-mem.c463 int size = HCC_64BYTE_CONTEXT(pdev->hcc_params) ? 2048 : 1024; in cdnsp_init_device_ctx()
467 pdev->out_ctx.ctx_size = CTX_SIZE(pdev->hcc_params); in cdnsp_init_device_ctx()
/Linux-v6.6/drivers/usb/fotg210/
Dfotg210-hcd.h220 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
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()
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()
5029 fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fotg210_run()