Home
last modified time | relevance | path

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

/drivers/usb/dwc2/
Dparams.c749 u32 hwcfg1, hwcfg2, hwcfg3, hwcfg4; in dwc2_get_hwparams() local
773 hwcfg3 = dwc2_readl(hsotg, GHWCFG3); in dwc2_get_hwparams()
805 width = (hwcfg3 & GHWCFG3_XFER_SIZE_CNTR_WIDTH_MASK) >> in dwc2_get_hwparams()
808 width = (hwcfg3 & GHWCFG3_PACKET_SIZE_CNTR_WIDTH_MASK) >> in dwc2_get_hwparams()
811 hw->i2c_enable = !!(hwcfg3 & GHWCFG3_I2C); in dwc2_get_hwparams()
812 hw->total_fifo_size = (hwcfg3 & GHWCFG3_DFIFO_DEPTH_MASK) >> in dwc2_get_hwparams()
814 hw->lpm_mode = !!(hwcfg3 & GHWCFG3_OTG_LPM_EN); in dwc2_get_hwparams()