Searched refs:pex_if (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/axp/ |
H A D | high_speed_env_lib.c | 265 u32 pex_if; in serdes_phy_config() local 1215 for (pex_if = 0; pex_if < pex_if_num; pex_if++) { in serdes_phy_config() 1216 line_num = (pex_if <= 8) ? pex_if : 12; in serdes_phy_config() 1220 pex_unit = (pex_if < 9) ? (pex_if >> 2) : 3; in serdes_phy_config() 1229 pex_if += 3; in serdes_phy_config() 1237 pex_if += 3; in serdes_phy_config() 1375 pex_if += 3; in serdes_phy_config() 1384 for (pex_if = 0; pex_if < pex_if_num; pex_if++) { in serdes_phy_config() 1385 pex_unit = (pex_if < 9) ? (pex_if >> 2) : 3; in serdes_phy_config() 1389 pex_if += 3; in serdes_phy_config() [all …]
|
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/a38x/ |
H A D | ctrl_pex.c | 227 int pex_local_bus_num_set(u32 pex_if, u32 bus_num) in pex_local_bus_num_set() argument 239 pex_status = reg_read(PEX_STATUS_REG(pex_if)); in pex_local_bus_num_set() 243 reg_write(PEX_STATUS_REG(pex_if), pex_status); in pex_local_bus_num_set() 248 int pex_local_dev_num_set(u32 pex_if, u32 dev_num) in pex_local_dev_num_set() argument 254 pex_status = reg_read(PEX_STATUS_REG(pex_if)); in pex_local_dev_num_set() 258 reg_write(PEX_STATUS_REG(pex_if), pex_status); in pex_local_dev_num_set() 292 pex_status = reg_read(PEX_STATUS_REG(pex_if)); in pex_config_read() 334 reg_write(PEX_CFG_ADDR_REG(pex_if), pex_data); in pex_config_read() 341 if (pex_data != reg_read(PEX_CFG_ADDR_REG(pex_if))) in pex_config_read() 345 reg_bit_set(PEX_CFG_DIRECT_ACCESS(pex_if, PEX_STATUS_AND_COMMAND), in pex_config_read() [all …]
|
H A D | ctrl_pex.h | 82 int pex_local_bus_num_set(u32 pex_if, u32 bus_num); 83 int pex_local_dev_num_set(u32 pex_if, u32 dev_num); 84 u32 pex_config_read(u32 pex_if, u32 bus, u32 dev, u32 func, u32 reg_off);
|