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 | 26 u32 pex_cfg_read(u32 pex_if, u32 bus, u32 dev, u32 func, u32 offs); 27 int pex_local_bus_num_set(u32 pex_if, u32 bus_num); 28 int pex_local_dev_num_set(u32 pex_if, u32 dev_num); 265 u32 pex_if; in serdes_phy_config() local 660 pex_if = MV_SERDES_NUM_TO_PEX_NUM(line_num); in serdes_phy_config() 665 tmp = reg_read(PEX_LINK_CTRL_STATUS_REG(pex_if)); in serdes_phy_config() 666 DEBUG_RD_REG(PEX_LINK_CTRL_STATUS_REG(pex_if), tmp); in serdes_phy_config() 668 reg_write(PEX_LINK_CTRL_STATUS_REG(pex_if), tmp); in serdes_phy_config() 669 DEBUG_WR_REG(PEX_LINK_CTRL_STATUS_REG(pex_if), tmp); in serdes_phy_config() 671 tmp = reg_read(PEX_LINK_CAPABILITIES_REG(pex_if)); 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() 286 u32 pex_config_read(u32 pex_if, u32 bus, u32 dev, u32 func, u32 reg_off) in pex_config_read() argument 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() [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);
|