Lines Matching refs:evt_num
172 u32 evt_num; member
1064 return events[i].evt_num; in mlxbf_pmc_get_event_num()
1082 if (evt == events[i].evt_num) in mlxbf_pmc_get_event_name()
1545 u64 evt_num; in mlxbf_pmc_counter_store() local
1565 err = mlxbf_pmc_read_event(blk_num, cnt_num, is_l3, &evt_num); in mlxbf_pmc_counter_store()
1568 err = mlxbf_pmc_program_counter(blk_num, cnt_num, evt_num, in mlxbf_pmc_counter_store()
1599 u64 evt_num; in mlxbf_pmc_event_show() local
1608 err = mlxbf_pmc_read_event(blk_num, cnt_num, is_l3, &evt_num); in mlxbf_pmc_event_show()
1612 evt_name = mlxbf_pmc_get_event_name(pmc->block_name[blk_num], evt_num); in mlxbf_pmc_event_show()
1616 return sysfs_emit(buf, "0x%llx: %s\n", evt_num, evt_name); in mlxbf_pmc_event_show()
1628 int evt_num; in mlxbf_pmc_event_store() local
1635 evt_num = mlxbf_pmc_get_event_num(pmc->block_name[blk_num], in mlxbf_pmc_event_store()
1637 if (evt_num < 0) in mlxbf_pmc_event_store()
1640 err = kstrtouint(buf, 0, &evt_num); in mlxbf_pmc_event_store()
1648 err = mlxbf_pmc_program_counter(blk_num, cnt_num, evt_num, is_l3); in mlxbf_pmc_event_store()
1676 events[i].evt_num, events[i].evt_name); in mlxbf_pmc_event_list_show()