Searched refs:pex_data (Results 1 – 2 of 2) sorted by relevance
289 u32 pex_data = 0; in pex_config_read() local324 pex_data = (bus << PXCAR_BUS_NUM_OFFS); in pex_config_read()325 pex_data |= (dev << PXCAR_DEVICE_NUM_OFFS); in pex_config_read()326 pex_data |= (func << PXCAR_FUNC_NUM_OFFS); in pex_config_read()328 pex_data |= (reg_off & PXCAR_REG_NUM_MASK); in pex_config_read()330 pex_data |= (((reg_off & PXCAR_REAL_EXT_REG_NUM_MASK) >> in pex_config_read()332 pex_data |= PXCAR_CONFIG_EN; in pex_config_read()335 reg_write(PEX_CFG_ADDR_REG(pex_if), pex_data); in pex_config_read()342 if (pex_data != reg_read(PEX_CFG_ADDR_REG(pex_if))) in pex_config_read()349 pex_data = reg_read(PEX_CFG_DATA_REG(pex_if)); in pex_config_read()[all …]
1447 u32 pex_data = 0; in pex_cfg_read() local1479 pex_data = reg_read(PEX_STATUS_REG(pex_if)); in pex_cfg_read()1481 if ((pex_data & PXSR_DL_DOWN)) in pex_cfg_read()1509 pex_data = (bus << PXCAR_BUS_NUM_OFFS); in pex_cfg_read()1510 pex_data |= (dev << PXCAR_DEVICE_NUM_OFFS); in pex_cfg_read()1511 pex_data |= (func << PXCAR_FUNC_NUM_OFFS); in pex_cfg_read()1512 pex_data |= (offs & PXCAR_REG_NUM_MASK); /* lgacy register space */ in pex_cfg_read()1514 pex_data |= (((offs & PXCAR_REAL_EXT_REG_NUM_MASK) >> in pex_cfg_read()1517 pex_data |= PXCAR_CONFIG_EN; in pex_cfg_read()1520 reg_write(PEX_CFG_ADDR_REG(pex_if), pex_data); in pex_cfg_read()[all …]