Searched refs:cnt_num (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/platform/mellanox/ |
D | mlxbf-pmc.c | 643 static int mlxbf_pmc_program_l3_counter(int blk_num, uint32_t cnt_num, in mlxbf_pmc_program_l3_counter() argument 657 switch (cnt_num) { in mlxbf_pmc_program_l3_counter() 676 switch (cnt_num) { in mlxbf_pmc_program_l3_counter() 710 static int mlxbf_pmc_program_counter(int blk_num, uint32_t cnt_num, in mlxbf_pmc_program_counter() argument 715 if (cnt_num >= pmc->block[blk_num].counters) in mlxbf_pmc_program_counter() 719 return mlxbf_pmc_program_l3_counter(blk_num, cnt_num, evt); in mlxbf_pmc_program_counter() 737 cnt_num * MLXBF_PMC_REG_SIZE, in mlxbf_pmc_program_counter() 751 cnt_num * MLXBF_PMC_REG_SIZE, in mlxbf_pmc_program_counter() 762 cnt_num * MLXBF_PMC_REG_SIZE, in mlxbf_pmc_program_counter() 770 static int mlxbf_pmc_read_l3_counter(int blk_num, uint32_t cnt_num, in mlxbf_pmc_read_l3_counter() argument [all …]
|
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.h | 688 u16 cnt_num[MAX_STAGE_NUM]; /* rule hit counter number */ member
|
D | hclge_main.c | 5583 &hdev->fd_cfg.cnt_num[HCLGE_FD_STAGE_1], in hclge_init_fd_config() 5584 &hdev->fd_cfg.cnt_num[HCLGE_FD_STAGE_2]); in hclge_init_fd_config() 5882 if (hdev->fd_cfg.cnt_num[HCLGE_FD_STAGE_1]) { in hclge_config_action() 5885 hdev->fd_cfg.cnt_num[HCLGE_FD_STAGE_1]; in hclge_config_action()
|