Home
last modified time | relevance | path

Searched refs:HC_VERSION (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/include/linux/usb/
H A Dehci_def.h24 #define HC_VERSION(ehci, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ macro
/openbmc/linux/drivers/usb/host/
H A Dehci-grlib.c121 if (HC_VERSION(ehci, hc_capbase) != GRUSBHC_HCIVERSION) { in ehci_hcd_grlib_probe()
H A Dehci-hcd.c659 temp = HC_VERSION(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_run()
H A Dehci-dbg.c784 i = HC_VERSION(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in fill_registers_buffer()
H A Doxu210hp-hcd.c100 #define HC_VERSION(p) (((p)>>16)&0xffff) /* bits 31:16 */ macro
3162 temp = HC_VERSION(readl(&oxu->caps->hc_capbase)); in oxu_run()
H A Dxhci.h69 #define HC_VERSION(p) (((p) >> 16) & 0xffff) macro
H A Dxhci.c5178 xhci->hci_version = HC_VERSION(readl(&xhci->cap_regs->hc_capbase)); in xhci_gen_setup()
/openbmc/u-boot/drivers/usb/host/
H A Dehci.h24 #define HC_VERSION(p) (((p) >> 16) & 0xffff) macro
H A Dxhci-ring.c682 if (HC_VERSION(xhci_readl(&ctrl->hccr->cr_capbase)) < 0x100) in xhci_bulk_tx()
830 if (HC_VERSION(xhci_readl(&ctrl->hccr->cr_capbase)) == 0x100) { in xhci_ctrl_tx()
H A Dxhci.h94 #define HC_VERSION(p) (((p) >> 16) & 0xffff) macro
H A Dxhci.c1238 reg = HC_VERSION(xhci_readl(&hccr->cr_capbase)); in xhci_lowlevel_init()
H A Dehci-hcd.c1094 reg = HC_VERSION(ehci_readl(&ctrl->hccr->cr_capbase)); in ehci_common_init()
/openbmc/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.h215 #define HC_VERSION(fotg210, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ macro
H A Dfotg210-hcd.c665 i = HC_VERSION(fotg210, fotg210_readl(fotg210, in fill_registers_buffer()
5059 temp = HC_VERSION(fotg210, in fotg210_run()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.h70 #define HC_VERSION(p) (((p) >> 16) & GENMASK(15, 1)) macro
H A Dcdnsp-gadget.c1801 pdev->hci_version = HC_VERSION(pdev->hcc_params); in cdnsp_gen_setup()