Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-mvebu/serdes/axp/
Dhigh_speed_env_lib.c39 #define MV_PEX_UNIT_TO_IF(pex_unit) ((pex_unit < 3) ? (pex_unit * 4) : 9) argument
253 u8 pex_unit, pex_line_num; in serdes_phy_config() local
397 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 …]
/external/u-boot/drivers/pci/
Dpci_mvebu.c160 int pex_unit = pex_idx < 9 ? pex_idx >> 2 : 3; in mvebu_pex_unit_is_x4() local
161 u32 mask = (0x0f << (pex_unit * 8)); in mvebu_pex_unit_is_x4()