Lines Matching full:model
22 static struct op_powerpc_model *model; variable
31 model->handle_interrupt(regs, ctr); in op_handle_interrupt()
38 ret = model->cpu_setup(ctr); in op_powerpc_cpu_setup()
56 op_per_cpu_rc = model->reg_setup(ctr, &sys, model->num_counters); in op_powerpc_setup()
86 ret = model->start(ctr); in op_powerpc_cpu_start()
95 if (model->global_start) in op_powerpc_start()
96 return model->global_start(ctr); in op_powerpc_start()
97 if (model->start) { in op_powerpc_start()
107 model->stop(); in op_powerpc_cpu_stop()
112 if (model->stop) in op_powerpc_stop()
114 if (model->global_stop) in op_powerpc_stop()
115 model->global_stop(); in op_powerpc_stop()
154 for (i = 0; i < model->num_counters; ++i) { in op_powerpc_create_files()
199 model = &op_model_cell; in oprofile_arch_init()
200 ops->sync_start = model->sync_start; in oprofile_arch_init()
201 ops->sync_stop = model->sync_stop; in oprofile_arch_init()
205 model = &op_model_power4; in oprofile_arch_init()
208 model = &op_model_pa6t; in oprofile_arch_init()
213 model = &op_model_7450; in oprofile_arch_init()
218 model = &op_model_fsl_emb; in oprofile_arch_init()
225 model->num_counters = cur_cpu_spec->num_pmcs; in oprofile_arch_init()