Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/mellanox/
H A Dmlxbf-pmc.c113 struct mlxbf_pmc_attribute *attr_counter; member
973 struct mlxbf_pmc_attribute *attr_counter = container_of( in mlxbf_pmc_counter_show() local
979 blk_num = attr_counter->nr; in mlxbf_pmc_counter_show()
980 cnt_num = attr_counter->index; in mlxbf_pmc_counter_show()
1006 struct mlxbf_pmc_attribute *attr_counter = container_of( in mlxbf_pmc_counter_store() local
1012 blk_num = attr_counter->nr; in mlxbf_pmc_counter_store()
1013 cnt_num = attr_counter->index; in mlxbf_pmc_counter_store()
1225 pmc->block[blk_num].attr_counter = devm_kcalloc( in mlxbf_pmc_init_perftype_counter()
1228 if (!pmc->block[blk_num].attr_counter) in mlxbf_pmc_init_perftype_counter()
1239 attr = &pmc->block[blk_num].attr_counter[j]; in mlxbf_pmc_init_perftype_counter()