/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-hcd.c | 458 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 D | pci-quirks.c | 932 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 D | xhci-trace.h | 85 ((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 D | oxu210hp-hcd.c | 110 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 D | xhci-mtk.c | 407 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 D | xhci-histb.c | 289 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
|
H A D | fotg210.h | 222 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
|
H A D | ehci-dbg.c | 53 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 D | xhci.c | 3360 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 D | fotg210-hcd.c | 107 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 D | ehci-hcd.c | 459 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 D | xhci-trace.h | 84 ((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 D | oxu210hp-hcd.c | 110 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 D | pci-quirks.c | 930 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 D | xhci-histb.c | 279 if (HCC_MAX_PSA(xhci->hcc_params) >= 4) in xhci_histb_probe()
|
H A D | ehci-dbg.c | 53 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 D | xhci-mtk.c | 471 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 D | ehci_def.h | 49 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | ehci_def.h | 36 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
|
/kernel/linux/linux-5.10/drivers/usb/early/ |
H A D | ehci-dbgp.c | 711 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 D | ehci-dbgp.c | 711 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 D | cdnsp-gadget.c | 1602 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 D | cdnsp-gadget.h | 49 * @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 D | fotg210-hcd.h | 220 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ member
|
/kernel/linux/linux-5.10/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 436 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()
|