Lines Matching refs:evt_num
154 int evt_num; member
609 return events[i].evt_num; in mlxbf_pmc_get_event_num()
626 if (evt == events[i].evt_num) in mlxbf_pmc_get_event_name()
1010 uint64_t evt_num; in mlxbf_pmc_counter_store() local
1028 err = mlxbf_pmc_read_event(blk_num, cnt_num, is_l3, &evt_num); in mlxbf_pmc_counter_store()
1031 err = mlxbf_pmc_program_counter(blk_num, cnt_num, evt_num, in mlxbf_pmc_counter_store()
1057 uint64_t evt_num; in mlxbf_pmc_event_show() local
1066 err = mlxbf_pmc_read_event(blk_num, cnt_num, is_l3, &evt_num); in mlxbf_pmc_event_show()
1070 evt_name = mlxbf_pmc_get_event_name(pmc->block_name[blk_num], evt_num); in mlxbf_pmc_event_show()
1074 return sysfs_emit(buf, "0x%llx: %s\n", evt_num, evt_name); in mlxbf_pmc_event_show()
1084 int blk_num, cnt_num, evt_num, err; in mlxbf_pmc_event_store() local
1091 evt_num = mlxbf_pmc_get_event_num(pmc->block_name[blk_num], in mlxbf_pmc_event_store()
1093 if (evt_num < 0) in mlxbf_pmc_event_store()
1096 err = kstrtoint(buf, 0, &evt_num); in mlxbf_pmc_event_store()
1104 err = mlxbf_pmc_program_counter(blk_num, cnt_num, evt_num, is_l3); in mlxbf_pmc_event_store()
1130 events[i].evt_num, events[i].evt_name); in mlxbf_pmc_event_list_show()