Home
last modified time | relevance | path

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

/linux/drivers/platform/mellanox/
H A Dmlxbf-pmc.c1318 u32 perfcfg_offset, perfval_offset; in mlxbf_pmc_read_counter() local
1331 perfcfg_offset = cnt_num * MLXBF_PMC_REG_SIZE; in mlxbf_pmc_read_counter()
1332 perfval_offset = perfcfg_offset + in mlxbf_pmc_read_counter()
1341 status = mlxbf_pmc_write(pmc->block[blk_num].mmio_base + perfcfg_offset, in mlxbf_pmc_read_counter()
1430 u32 perfcfg_offset, perfval_offset; in mlxbf_pmc_read_event() local
1442 perfcfg_offset = cnt_num * MLXBF_PMC_REG_SIZE; in mlxbf_pmc_read_event()
1443 perfval_offset = perfcfg_offset + in mlxbf_pmc_read_event()
1452 if (mlxbf_pmc_write(pmc->block[blk_num].mmio_base + perfcfg_offset, in mlxbf_pmc_read_event()