Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 196) sorted by relevance

12345678

/arch/powerpc/oprofile/
Dcommon.c27 static struct op_powerpc_model *model; variable
36 model->handle_interrupt(regs, ctr); in op_handle_interrupt()
43 ret = model->cpu_setup(ctr); in op_powerpc_cpu_setup()
61 op_per_cpu_rc = model->reg_setup(ctr, &sys, model->num_counters); in op_powerpc_setup()
91 ret = model->start(ctr); in op_powerpc_cpu_start()
100 if (model->global_start) in op_powerpc_start()
101 return model->global_start(ctr); in op_powerpc_start()
102 if (model->start) { in op_powerpc_start()
112 model->stop(); in op_powerpc_cpu_stop()
117 if (model->stop) in op_powerpc_stop()
[all …]
/arch/sh/oprofile/
Dcommon.c26 static struct op_sh_model *model; variable
35 model->reg_setup(ctr); in op_sh_setup()
38 on_each_cpu(model->cpu_setup, NULL, 1); in op_sh_setup()
47 for (i = 0; i < model->num_counters; i++) { in op_sh_create_files()
59 if (model->create_files) in op_sh_create_files()
60 ret |= model->create_files(sb, dir); in op_sh_create_files()
74 on_each_cpu(model->cpu_start, NULL, 1); in op_sh_start()
82 on_each_cpu(model->cpu_stop, NULL, 1); in op_sh_stop()
132 model = lmodel; in oprofile_arch_init()
148 if (model && model->exit) in oprofile_arch_exit()
[all …]
/arch/x86/oprofile/
Dnmi_int.c27 static struct op_x86_model_spec const *model; variable
43 if (model->check_ctrs(args->regs, &per_cpu(cpu_msrs, cpu))) in profile_exceptions_notify()
54 unsigned int const nr_ctrs = model->num_counters; in nmi_cpu_save_registers()
55 unsigned int const nr_ctrls = model->num_controls; in nmi_cpu_save_registers()
98 size_t controls_size = sizeof(struct op_msr) * model->num_controls; in allocate_msrs()
99 size_t counters_size = sizeof(struct op_msr) * model->num_counters; in allocate_msrs()
128 model->setup_ctrs(msrs); in nmi_cpu_setup()
159 model->fill_in_addresses(&per_cpu(cpu_msrs, 0)); in nmi_setup()
164 sizeof(struct op_msr) * model->num_counters); in nmi_setup()
168 sizeof(struct op_msr) * model->num_controls); in nmi_setup()
[all …]
/arch/mips/oprofile/
Dcommon.c20 static struct op_mips_model *model; variable
27 model->reg_setup(ctr); in op_mips_setup()
30 on_each_cpu(model->cpu_setup, NULL, 1); in op_mips_setup()
39 for (i = 0; i < model->num_counters; ++i) { in op_mips_create_files()
61 on_each_cpu(model->cpu_start, NULL, 1); in op_mips_start()
69 on_each_cpu(model->cpu_stop, NULL, 1); in op_mips_stop()
105 model = lmodel; in oprofile_arch_init()
122 if (model) in oprofile_arch_exit()
123 model->exit(); in oprofile_arch_exit()
/arch/powerpc/boot/
Dprpmc2800.c51 prpmc2800_board_model model; member
66 .model = BOARD_MODEL_PRPMC280,
79 .model = BOARD_MODEL_PRPMC280,
92 .model = BOARD_MODEL_PRPMC280,
105 .model = BOARD_MODEL_PRPMC280,
118 .model = BOARD_MODEL_PRPMC280,
131 .model = BOARD_MODEL_PRPMC280,
144 .model = BOARD_MODEL_PRPMC280,
157 .model = BOARD_MODEL_PRPMC280,
170 .model = BOARD_MODEL_PRPMC2800,
[all …]
/arch/alpha/oprofile/
Dcommon.c25 static struct op_axp_model *model; variable
39 model->handle_interrupt(which, regs, ctr); in op_handle_interrupt()
46 model->reset_ctr(&reg, which); in op_handle_interrupt()
59 for (i = e = 0; i < model->num_counters; ++i) in op_axp_setup()
65 model->reg_setup(&reg, ctr, &sys); in op_axp_setup()
68 (void)smp_call_function(model->cpu_setup, &reg, 1); in op_axp_setup()
69 model->cpu_setup(&reg); in op_axp_setup()
113 for (i = 0; i < model->num_counters; ++i) { in op_axp_create_files()
129 if (model->can_set_proc_mode) { in op_axp_create_files()
170 model = lmodel; in oprofile_arch_init()
/arch/powerpc/platforms/chrp/
Dsetup.c102 const char *model = ""; in chrp_show_cpuinfo() local
106 model = of_get_property(root, "model", NULL); in chrp_show_cpuinfo()
107 seq_printf(m, "machine\t\t: CHRP %s\n", model); in chrp_show_cpuinfo()
110 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in chrp_show_cpuinfo()
123 model = "4 MB"; in chrp_show_cpuinfo()
126 model = "8 MB"; in chrp_show_cpuinfo()
129 model = "16 MB"; in chrp_show_cpuinfo()
132 model = "32 MB"; in chrp_show_cpuinfo()
135 model = "64 MB"; in chrp_show_cpuinfo()
138 model = "128 MB"; in chrp_show_cpuinfo()
[all …]
Dpci.c214 const char *model, *machine; in chrp_find_bridges() local
267 model = of_get_property(dev, "model", NULL); in chrp_find_bridges()
268 if (model == NULL) in chrp_find_bridges()
269 model = "<none>"; in chrp_find_bridges()
270 if (strncmp(model, "IBM, Python", 11) == 0) { in chrp_find_bridges()
273 || strncmp(model, "Motorola, Grackle", 17) == 0) { in chrp_find_bridges()
284 } else if (!strncmp(model, "IBM,CPC710", 10)) { in chrp_find_bridges()
301 dev->full_name, model); in chrp_find_bridges()
/arch/m68k/atari/
Dconfig.c66 static void atari_get_model(char *model);
579 static void atari_get_model(char *model) in atari_get_model() argument
581 strcpy(model, "Atari "); in atari_get_model()
585 strcat(model, "Mega ST"); in atari_get_model()
587 strcat(model, "ST"); in atari_get_model()
591 strcat(model, "Mega STE"); in atari_get_model()
593 strcat(model, "STE"); in atari_get_model()
598 strcat(model, "Medusa"); in atari_get_model()
600 strcat(model, "TT"); in atari_get_model()
603 strcat(model, "Falcon"); in atari_get_model()
[all …]
/arch/powerpc/platforms/cell/
Dsetup.c70 const char *model = ""; in cell_show_cpuinfo() local
74 model = of_get_property(root, "model", NULL); in cell_show_cpuinfo()
75 seq_printf(m, "machine\t\t: CHRP %s\n", model); in cell_show_cpuinfo()
122 const char *model; in cell_setup_phb() local
130 model = of_get_property(np, "model", NULL); in cell_setup_phb()
131 if (model == NULL || strcmp(np->name, "pci")) in cell_setup_phb()
135 if (strcmp(model, "Spider")) in cell_setup_phb()
Dqpace_setup.c50 const char *model = ""; in qpace_show_cpuinfo() local
54 model = of_get_property(root, "model", NULL); in qpace_show_cpuinfo()
55 seq_printf(m, "machine\t\t: CHRP %s\n", model); in qpace_show_cpuinfo()
Dcelleb_setup.c71 const char *model = ""; in celleb_show_cpuinfo() local
75 model = of_get_property(root, "model", NULL); in celleb_show_cpuinfo()
77 seq_printf(m, "machine\t\t: %s %s\n", celleb_machine_type, model); in celleb_show_cpuinfo()
/arch/h8300/
DMakefile24 model-$(CONFIG_RAMKERNEL) := ram
25 model-$(CONFIG_ROMKERNEL) := rom
26 MODEL := $(model-y)
/arch/x86/kernel/cpu/cpufreq/
Dspeedstep-centrino.c236 struct cpu_model *model; in centrino_cpu_init_table() local
238 for(model = models; model->cpu_id != NULL; model++) in centrino_cpu_init_table()
239 if (centrino_verify_cpu_id(cpu, model->cpu_id) && in centrino_cpu_init_table()
240 (model->model_name == NULL || in centrino_cpu_init_table()
241 strcmp(cpu->x86_model_id, model->model_name) == 0)) in centrino_cpu_init_table()
244 if (model->cpu_id == NULL) { in centrino_cpu_init_table()
252 if (model->op_points == NULL) { in centrino_cpu_init_table()
260 per_cpu(centrino_model, policy->cpu) = model; in centrino_cpu_init_table()
263 model->model_name, model->max_freq); in centrino_cpu_init_table()
/arch/mips/cavium-octeon/executive/
Docteon-model.c325 int model = fuse_data & 0x3fff; in octeon_model_get_string_buffer() local
327 if (suffix && model) { in octeon_model_get_string_buffer()
333 model, 'A' + suffix - 1); in octeon_model_get_string_buffer()
336 } else if (suffix && !model) { in octeon_model_get_string_buffer()
349 sprintf(fuse_model, "%d", model); in octeon_model_get_string_buffer()
/arch/parisc/kernel/
Dprocessor.c244 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data()
245 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) in collect_boot_cpu_data()
269 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; in collect_boot_cpu_data()
270 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; in collect_boot_cpu_data()
312 per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; in init_per_cpu()
315 cpunum, coproc_cfg.revision, coproc_cfg.model); in init_per_cpu()
386 boot_cpu_data.pdc.model.sw_id); in show_cpuinfo()
/arch/powerpc/platforms/52xx/
Dlite5200.c180 const char *model = of_get_flat_dt_prop(node, "model", NULL); in lite5200_probe() local
185 pr_debug("%s board found\n", model ? model : "unknown"); in lite5200_probe()
Defika.c199 char *model = of_get_flat_dt_prop(of_get_flat_dt_root(), in efika_probe() local
202 if (model == NULL) in efika_probe()
204 if (strcmp(model, "EFIKA5K2")) in efika_probe()
/arch/m68k/apollo/
Dconfig.c38 static void dn_get_model(char *model);
261 static void dn_get_model(char *model) in dn_get_model() argument
263 strcpy(model, "Apollo "); in dn_get_model()
265 strcat(model, apollo_models[apollo_model - APOLLO_DN3000]); in dn_get_model()
/arch/m68k/mvme147/
Dconfig.c39 static void mvme147_get_model(char *model);
72 static void mvme147_get_model(char *model) in mvme147_get_model() argument
74 sprintf(model, "Motorola MVME147"); in mvme147_get_model()
/arch/sparc/kernel/
Dtime_32.c154 const char *model = of_get_property(dp, "model", NULL); in clock_probe() local
156 if (!model) in clock_probe()
160 if (!strcmp(model, "mk48t02")) { in clock_probe()
165 } else if (!strcmp(model, "mk48t08")) { in clock_probe()
/arch/cris/arch-v10/kernel/
Dsetup.c30 char *model; member
82 info->model, in show_cpuinfo()
/arch/m68knommu/
DMakefile55 model-$(CONFIG_RAMKERNEL) := ram
56 model-$(CONFIG_ROMKERNEL) := rom
57 MODEL := $(model-y)
/arch/x86/boot/
Dcpucheck.c134 cpu.model = (tfms >> 4) & 15; in get_flags()
136 cpu.model += ((tfms >> 16) & 0xf) << 4; in get_flags()
214 is_centaur() && cpu.model >= 6) { in check_cpu()
/arch/m68k/sun3/
Didprom.c83 void sun3_get_model(unsigned char* model) in sun3_get_model() argument
89 strcpy(model, Sun_Machines[i].name); in sun3_get_model()

12345678