Searched refs:hwcfg2 (Results 1 – 1 of 1) sorted by relevance
835 u32 hwcfg1, hwcfg2, hwcfg3, hwcfg4; in dwc2_get_hwparams() local839 hwcfg2 = dwc2_readl(hsotg, GHWCFG2); in dwc2_get_hwparams()848 hw->op_mode = (hwcfg2 & GHWCFG2_OP_MODE_MASK) >> in dwc2_get_hwparams()850 hw->arch = (hwcfg2 & GHWCFG2_ARCHITECTURE_MASK) >> in dwc2_get_hwparams()852 hw->enable_dynamic_fifo = !!(hwcfg2 & GHWCFG2_DYNAMIC_FIFO); in dwc2_get_hwparams()853 hw->host_channels = 1 + ((hwcfg2 & GHWCFG2_NUM_HOST_CHAN_MASK) >> in dwc2_get_hwparams()855 hw->hs_phy_type = (hwcfg2 & GHWCFG2_HS_PHY_TYPE_MASK) >> in dwc2_get_hwparams()857 hw->fs_phy_type = (hwcfg2 & GHWCFG2_FS_PHY_TYPE_MASK) >> in dwc2_get_hwparams()859 hw->num_dev_ep = (hwcfg2 & GHWCFG2_NUM_DEV_EP_MASK) >> in dwc2_get_hwparams()862 (hwcfg2 & GHWCFG2_NONPERIO_TX_Q_DEPTH_MASK) >> in dwc2_get_hwparams()[all …]