Searched refs:pex_unit (Results 1 – 2 of 2) sorted by relevance
39 #define MV_PEX_UNIT_TO_IF(pex_unit) ((pex_unit < 3) ? (pex_unit * 4) : 9) argument253 u8 pex_unit, pex_line_num; in serdes_phy_config() local397 for (pex_unit = 0; pex_unit < pex_max_unit_get(); pex_unit++) { in serdes_phy_config()398 if (info->pex_mode[pex_unit] == PEX_BUS_DISABLED) in serdes_phy_config()402 reg_write(PEX_PHY_ACCESS_REG(pex_unit), (0xC1 << 16) | 0x25); in serdes_phy_config()403 DEBUG_WR_REG(PEX_PHY_ACCESS_REG(pex_unit), (0xC1 << 16) | 0x25); in serdes_phy_config()406 if (info->pex_mode[pex_unit] == PEX_BUS_MODE_X4) { in serdes_phy_config()407 reg_write(PEX_PHY_ACCESS_REG(pex_unit), in serdes_phy_config()409 DEBUG_WR_REG(PEX_PHY_ACCESS_REG(pex_unit), in serdes_phy_config()414 if (info->pex_mode[pex_unit] == PEX_BUS_MODE_X1) { in serdes_phy_config()[all …]
160 int pex_unit = pex_idx < 9 ? pex_idx >> 2 : 3; in mvebu_pex_unit_is_x4() local161 u32 mask = (0x0f << (pex_unit * 8)); in mvebu_pex_unit_is_x4()