Home
last modified time | relevance | path

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

/linux/drivers/platform/mellanox/
H A Dmlxbf-pmc.c128 struct mlxbf_pmc_attribute *attr_counter; member
1666 struct mlxbf_pmc_attribute *attr_counter = container_of( in mlxbf_pmc_counter_show() local
1673 blk_num = attr_counter->nr; in mlxbf_pmc_counter_show()
1674 cnt_num = attr_counter->index; in mlxbf_pmc_counter_show()
1701 struct mlxbf_pmc_attribute *attr_counter = container_of( in mlxbf_pmc_counter_store() local
1709 blk_num = attr_counter->nr; in mlxbf_pmc_counter_store()
1710 cnt_num = attr_counter->index; in mlxbf_pmc_counter_store()
2031 pmc->block[blk_num].attr_counter = devm_kcalloc( in mlxbf_pmc_init_perftype_counter()
2034 if (!pmc->block[blk_num].attr_counter) in mlxbf_pmc_init_perftype_counter()
2045 attr = &pmc->block[blk_num].attr_counter[j]; in mlxbf_pmc_init_perftype_counter()