Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc2/
H A Dparams.c889 u32 hwcfg1, hwcfg2, hwcfg3, hwcfg4; in dwc2_get_hwparams() local
894 hwcfg3 = dwc2_readl(hsotg, GHWCFG3); in dwc2_get_hwparams()
926 width = (hwcfg3 & GHWCFG3_XFER_SIZE_CNTR_WIDTH_MASK) >> in dwc2_get_hwparams()
929 width = (hwcfg3 & GHWCFG3_PACKET_SIZE_CNTR_WIDTH_MASK) >> in dwc2_get_hwparams()
932 hw->i2c_enable = !!(hwcfg3 & GHWCFG3_I2C); in dwc2_get_hwparams()
933 hw->total_fifo_size = (hwcfg3 & GHWCFG3_DFIFO_DEPTH_MASK) >> in dwc2_get_hwparams()
935 hw->lpm_mode = !!(hwcfg3 & GHWCFG3_OTG_LPM_EN); in dwc2_get_hwparams()