Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/mellanox/
H A Dmlxbf-pmc.c811 uint32_t perfcfg_offset, perfval_offset; in mlxbf_pmc_read_counter() local
821 perfcfg_offset = cnt_num * MLXBF_PMC_REG_SIZE; in mlxbf_pmc_read_counter()
822 perfval_offset = perfcfg_offset + in mlxbf_pmc_read_counter()
831 status = mlxbf_pmc_write(pmc->block[blk_num].mmio_base + perfcfg_offset, in mlxbf_pmc_read_counter()
900 uint32_t perfcfg_offset, perfval_offset; in mlxbf_pmc_read_event() local
909 perfcfg_offset = cnt_num * MLXBF_PMC_REG_SIZE; in mlxbf_pmc_read_event()
910 perfval_offset = perfcfg_offset + in mlxbf_pmc_read_event()
919 if (mlxbf_pmc_write(pmc->block[blk_num].mmio_base + perfcfg_offset, in mlxbf_pmc_read_event()