Home
last modified time | relevance | path

Searched refs:ghwcfg2 (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/drivers/usb/host/
H A Ddwc2.c87 uint32_t hwcfg2 = readl(&regs->ghwcfg2); in init_fslspclksel()
88 uint32_t hval = (ghwcfg2 & DWC2_HWCFG2_HS_PHY_TYPE_MASK) >> in init_fslspclksel()
90 uint32_t fval = (ghwcfg2 & DWC2_HWCFG2_FS_PHY_TYPE_MASK) >> in init_fslspclksel()
253 if (readl(&regs->ghwcfg2) & DWC2_HWCFG2_DYNAMIC_FIFO) { in dwc_otg_core_host_init()
282 num_channels = readl(&regs->ghwcfg2); in dwc_otg_core_host_init()
419 uint32_t hwcfg2 = readl(&regs->ghwcfg2); in dwc_otg_core_init()
420 uint32_t hval = (ghwcfg2 & DWC2_HWCFG2_HS_PHY_TYPE_MASK) >> in dwc_otg_core_init()
422 uint32_t fval = (ghwcfg2 & DWC2_HWCFG2_FS_PHY_TYPE_MASK) >> in dwc_otg_core_init()
435 switch (readl(&regs->ghwcfg2) & DWC2_HWCFG2_ARCHITECTURE_MASK) { in dwc_otg_core_init()
H A Ddwc2.h50 u32 ghwcfg2; member
/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.h95 uint32_t ghwcfg2; /* 48 */ member
H A Dhcd-dwc2.c1269 s->ghwcfg2 = (8 << GHWCFG2_DEV_TOKEN_Q_DEPTH_SHIFT) | in dwc2_reset_enter()
/openbmc/linux/drivers/usb/dwc2/
H A Dcore.c872 u32 ghwcfg2 = dwc2_readl(hsotg, GHWCFG2); in dwc2_op_mode() local
874 return (ghwcfg2 & GHWCFG2_OP_MODE_MASK) >> in dwc2_op_mode()