Lines Matching refs:get_model
21 static struct op_x86_model_spec const * get_model(void) in get_model() function
60 get_model()->setup_ctrs(msrs); in pmc_setup_ctr()
81 get_model()->start(msrs); in pmc_start()
93 get_model()->stop(msrs); in pmc_stop()
122 for (i = 0 ; i < get_model()->num_counters ; ++i) { in pmc_start_all()
149 for (i = 0; i < get_model()->num_counters; i++) { in pmc_check_params()
191 uint const nr_ctrs = get_model()->num_counters; in pmc_save_registers()
192 uint const nr_ctrls = get_model()->num_controls; in pmc_save_registers()
244 uint const nr_ctrs = get_model()->num_counters; in pmc_restore_registers()
245 uint const nr_ctrls = get_model()->num_controls; in pmc_restore_registers()
317 for (i=0; i < get_model()->num_counters; i++) { in pmc_add_sysctls()
352 for (i=0; i < get_model()->num_counters; i++) { in pmc_remove_sysctls()