Searched refs:hwcfg2 (Results 1 – 2 of 2) sorted by relevance
889 u32 hwcfg1, hwcfg2, hwcfg3, hwcfg4; in dwc2_get_hwparams() local893 hwcfg2 = dwc2_readl(hsotg, GHWCFG2); in dwc2_get_hwparams()902 hw->op_mode = (hwcfg2 & GHWCFG2_OP_MODE_MASK) >> in dwc2_get_hwparams()904 hw->arch = (hwcfg2 & GHWCFG2_ARCHITECTURE_MASK) >> in dwc2_get_hwparams()906 hw->enable_dynamic_fifo = !!(hwcfg2 & GHWCFG2_DYNAMIC_FIFO); in dwc2_get_hwparams()909 hw->hs_phy_type = (hwcfg2 & GHWCFG2_HS_PHY_TYPE_MASK) >> in dwc2_get_hwparams()911 hw->fs_phy_type = (hwcfg2 & GHWCFG2_FS_PHY_TYPE_MASK) >> in dwc2_get_hwparams()913 hw->num_dev_ep = (hwcfg2 & GHWCFG2_NUM_DEV_EP_MASK) >> in dwc2_get_hwparams()916 (hwcfg2 & GHWCFG2_NONPERIO_TX_Q_DEPTH_MASK) >> in dwc2_get_hwparams()919 (hwcfg2 & GHWCFG2_HOST_PERIO_TX_Q_DEPTH_MASK) >> in dwc2_get_hwparams()[all …]
87 uint32_t hwcfg2 = readl(®s->ghwcfg2); in init_fslspclksel() local419 uint32_t hwcfg2 = readl(®s->ghwcfg2); in dwc_otg_core_init() local