Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-mvebu/serdes/a38x/
H A Dctrl_pex.c288 u32 pex_data = 0; in pex_config_read() local
323 pex_data = (bus << PXCAR_BUS_NUM_OFFS); in pex_config_read()
324 pex_data |= (dev << PXCAR_DEVICE_NUM_OFFS); in pex_config_read()
325 pex_data |= (func << PXCAR_FUNC_NUM_OFFS); in pex_config_read()
327 pex_data |= (reg_off & PXCAR_REG_NUM_MASK); in pex_config_read()
331 pex_data |= PXCAR_CONFIG_EN; 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()
348 pex_data = reg_read(PEX_CFG_DATA_REG(pex_if)); in pex_config_read()
350 DEBUG_INIT_FULL_C(" --> ", pex_data, 4); in pex_config_read()
[all …]
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/axp/
H A Dhigh_speed_env_lib.c1446 u32 pex_data = 0; in pex_cfg_read() local
1478 pex_data = reg_read(PEX_STATUS_REG(pex_if)); in pex_cfg_read()
1480 if ((pex_data & PXSR_DL_DOWN)) in pex_cfg_read()
1508 pex_data = (bus << PXCAR_BUS_NUM_OFFS); in pex_cfg_read()
1509 pex_data |= (dev << PXCAR_DEVICE_NUM_OFFS); in pex_cfg_read()
1510 pex_data |= (func << PXCAR_FUNC_NUM_OFFS); in pex_cfg_read()
1516 pex_data |= PXCAR_CONFIG_EN; in pex_cfg_read()
1519 reg_write(PEX_CFG_ADDR_REG(pex_if), pex_data); in pex_cfg_read()
1532 pex_data = reg_read(PEX_CFG_DATA_REG(pex_if)); in pex_cfg_read()
1534 DEBUG_INIT_FULL_C(" --> ", pex_data, 4); in pex_cfg_read()
[all …]