Home
last modified time | relevance | path

Searched refs:hcc_params (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/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()
482 * periodic_size can shrink by USBCMD update if hcc_params allows. 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; ehci_run() local
[all...]
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()
953 hcc_params &= ~(0xffL << 8); in quirk_usb_disable_ehci()
955 offset = (hcc_params >> 8) & 0xff; in quirk_usb_disable_ehci()
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
3021 * periodic_size can shrink by USBCMD update if hcc_params allows. in oxu_hcd_init()
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
[all...]
H A Dxhci-mtk.c407 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 Dxhci-histb.c289 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
H A Dfotg210.h222 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
H A Dehci-dbg.c53 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params()
57 "%s hcc_params %04x caching frame %s%s%s\n", in dbg_hcc_params()
64 "%s hcc_params %04x thresh %d uframes %s%s%s%s%s%s%s\n", 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.c3360 max_streams = HCC_MAX_PSA(xhci->hcc_params); in xhci_calculate_streams_entries()
3490 HCC_MAX_PSA(xhci->hcc_params) < 4) { in xhci_alloc_streams()
5293 xhci->hcc_params = readl(&xhci->cap_regs->hc_capbase); in xhci_gen_setup()
5294 xhci->hci_version = HC_VERSION(xhci->hcc_params); in xhci_gen_setup()
5295 xhci->hcc_params = readl(&xhci->cap_regs->hcc_params); in xhci_gen_setup()
5328 * bit of xhci->hcc_params to call dma_set_coherent_mask(dev, in xhci_gen_setup()
5332 xhci->hcc_params &= ~BIT(0); in xhci_gen_setup()
5336 if (HCC_64BIT_ADDR(xhci->hcc_params) && in xhci_gen_setup()
5360 xhci->hcc_params, xhc in xhci_gen_setup()
[all...]
H A Dfotg210-hcd.c107 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in dbg_hcc_params()
109 fotg210_dbg(fotg210, "%s hcc_params %04x uframes %s%s\n", label, in dbg_hcc_params()
685 i = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in fill_registers_buffer()
4899 u32 hcc_params; in hcd_fotg210_init() local
4913 hcc_params = fotg210_readl(fotg210, &fotg210->caps->hcc_params); in hcd_fotg210_init()
4923 * periodic_size can shrink by USBCMD update if hcc_params allows. in hcd_fotg210_init()
4929 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
4972 if (HCC_CANPARK(hcc_params)) { in hcd_fotg210_init()
4987 if (HCC_PGM_FRAMELISTLEN(hcc_params)) { in hcd_fotg210_init()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-hcd.c459 u32 hcc_params; in ehci_init() local
473 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_init()
483 * periodic_size can shrink by USBCMD update if hcc_params allows. 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; ehci_run() local
[all...]
H A 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) *
H A Doxu210hp-hcd.c110 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
3014 u32 hcc_params; in oxu_hcd_init() local
3022 * periodic_size can shrink by USBCMD update if hcc_params allows. in oxu_hcd_init()
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
[all...]
H A 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()
H A Dxhci-histb.c279 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
H A Dehci-dbg.c53 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params()
57 "%s hcc_params %04x caching frame %s%s%s\n", in dbg_hcc_params()
64 "%s hcc_params %04x thresh %d uframes %s%s%s%s%s%s%s\n", 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-mtk.c471 if (xhci->hci_version < 0x100 && HCC_MAX_PSA(xhci->hcc_params) == 4) in xhci_mtk_quirks()
653 if (usb3_hcd && HCC_MAX_PSA(xhci->hcc_params) >= 4 && in xhci_mtk_probe()
/kernel/linux/linux-5.10/include/linux/usb/
H A Dehci_def.h49 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
/kernel/linux/linux-6.6/include/linux/usb/
H A Dehci_def.h36 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A 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()
H A Dcdnsp-gadget.h49 * @hcc_params: HCCPARAMS - Capability Parameters
59 __le32 hcc_params; member
80 /* HCCPARAMS - hcc_params - bitmasks */
1358 * @hcc_params: Cached register copies of read-only HCCPARAMS1
1412 __u32 hcc_params; member
/kernel/linux/linux-6.6/drivers/usb/fotg210/
H A Dfotg210-hcd.h220 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
/kernel/linux/linux-5.10/drivers/usb/isp1760/
H A Disp1760-hcd.c436 u32 hcc_params; in priv_init() local
446 * periodic_size can shrink by USBCMD update if hcc_params allows. in priv_init()
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()

Completed in 52 milliseconds

12