Home
last modified time | relevance | path

Searched refs:cpu_type (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.15/arch/mips/include/asm/
Dcpu-type.h15 static inline int __pure __get_cpu_type(const int cpu_type) in __get_cpu_type() argument
17 switch (cpu_type) { in __get_cpu_type()
211 return cpu_type; in __get_cpu_type()
216 const int cpu_type = current_cpu_data.cputype; in current_cpu_type() local
218 return __get_cpu_type(cpu_type); in current_cpu_type()
223 const int cpu_type = cpu_data[0].cputype; in boot_cpu_type() local
225 return __get_cpu_type(cpu_type); in boot_cpu_type()
/Linux-v5.15/arch/arm/mach-imx/
Dmach-vf610.c24 unsigned int cpu_type; in vf610_detect_cpu() local
42 cpu_type = cpxcount ? MXC_CPU_VF600 : MXC_CPU_VF500; in vf610_detect_cpu()
45 cpu_type |= MXC_CPU_VFx10; in vf610_detect_cpu()
47 mxc_set_cpu_type(cpu_type); in vf610_detect_cpu()
/Linux-v5.15/arch/parisc/kernel/
Dperf.c494 if (boot_cpu_data.cpu_type == pcxu || in perf_init()
495 boot_cpu_data.cpu_type == pcxu_) { in perf_init()
497 } else if (boot_cpu_data.cpu_type == pcxw || in perf_init()
498 boot_cpu_data.cpu_type == pcxw_ || in perf_init()
499 boot_cpu_data.cpu_type == pcxw2 || in perf_init()
500 boot_cpu_data.cpu_type == mako || in perf_init()
501 boot_cpu_data.cpu_type == mako2) { in perf_init()
503 if (boot_cpu_data.cpu_type == pcxw2 || in perf_init()
504 boot_cpu_data.cpu_type == mako || in perf_init()
505 boot_cpu_data.cpu_type == mako2) in perf_init()
Dprocessor.c282 boot_cpu_data.cpu_type = parisc_get_cpu_type(boot_cpu_data.hversion); in collect_boot_cpu_data()
283 boot_cpu_data.cpu_name = cpu_name_version[boot_cpu_data.cpu_type][0]; in collect_boot_cpu_data()
284 boot_cpu_data.family_name = cpu_name_version[boot_cpu_data.cpu_type][1]; in collect_boot_cpu_data()
287 _parisc_requires_coherency = (boot_cpu_data.cpu_type == mako) || in collect_boot_cpu_data()
288 (boot_cpu_data.cpu_type == mako2); in collect_boot_cpu_data()
Dalternative.c41 (((boot_cpu_data.cpu_type > pcxw_) && in apply_alternatives()
70 if (boot_cpu_data.cpu_type >= pcxu) /* >= pa2.0 ? */ in apply_alternatives()
Dpci-dma.c408 if (boot_cpu_data.cpu_type != pcxl2 && boot_cpu_data.cpu_type != pcxl) in arch_dma_alloc()
436 WARN_ON_ONCE(boot_cpu_data.cpu_type != pcxl2 && in arch_dma_free()
437 boot_cpu_data.cpu_type != pcxl); in arch_dma_free()
Dsetup.c78 switch (boot_cpu_data.cpu_type) { in dma_ops_init()
199 switch (boot_cpu_data.cpu_type) { in parisc_proc_mkdir()
Dhardware.c1227 enum cpu_type cpu;
1363 enum cpu_type __init
/Linux-v5.15/arch/arm/mach-omap1/
Did.c130 u8 cpu_type; in omap_check_revision() local
181 cpu_type = omap_revision >> 24; in omap_check_revision()
183 switch (cpu_type) { in omap_check_revision()
197 printk(KERN_INFO "Unknown OMAP cpu type: 0x%02x\n", cpu_type); in omap_check_revision()
/Linux-v5.15/arch/x86/include/uapi/asm/
Dvm86.h101 unsigned long cpu_type; member
123 unsigned long cpu_type; member
/Linux-v5.15/drivers/ata/
Dpata_samsung_cf.c72 enum s3c_cpu_type cpu_type; member
463 switch (info->cpu_type) { in pata_s3c_hwinit()
500 enum s3c_cpu_type cpu_type; in pata_s3c_probe() local
503 cpu_type = platform_get_device_id(pdev)->driver_data; in pata_s3c_probe()
538 if (cpu_type == TYPE_S3C64XX) { in pata_s3c_probe()
548 info->cpu_type = cpu_type; in pata_s3c_probe()
/Linux-v5.15/arch/parisc/include/asm/
Dhardware.h22 enum cpu_type { enum
102 extern enum cpu_type parisc_get_cpu_type(unsigned long hversion);
Dprocessor.h65 enum cpu_type cpu_type; member
/Linux-v5.15/drivers/mtd/nand/raw/
Ds3c2410.c168 enum s3c_cpu_type cpu_type; member
292 int tacls_max = (info->cpu_type == TYPE_S3C2412) ? 8 : 4; in s3c2410_nand_setrate()
323 switch (info->cpu_type) { in s3c2410_nand_setrate()
378 switch (info->cpu_type) { in s3c2410_nand_inithw()
871 switch (info->cpu_type) { in s3c2410_nand_init_chip()
955 switch (info->cpu_type) { in s3c2410_nand_attach_chip()
1034 info->cpu_type = devtype_data->type; in s3c24xx_nand_probe_dt()
1070 info->cpu_type = platform_get_device_id(pdev)->driver_data; in s3c24xx_nand_probe_pdata()
/Linux-v5.15/arch/x86/include/asm/
Dvm86.h39 unsigned long cpu_type; member
/Linux-v5.15/arch/sh/include/asm/
Dprocessor.h17 enum cpu_type { enum
/Linux-v5.15/arch/alpha/kernel/
Dsetup.c1278 determine_cpu_caches (unsigned int cpu_type) in determine_cpu_caches() argument
1282 switch (cpu_type) { in determine_cpu_caches()
1286 if (cpu_type == EV4_CPU) in determine_cpu_caches()
1350 if (cpu_type == PCA56_CPU) { in determine_cpu_caches()
/Linux-v5.15/arch/x86/events/
Dcore.c1891 if (!(x86_pmu.hybrid_pmu[i].cpu_type & pmu_attr->pmu_type)) in events_hybrid_sysfs_show()
1893 if (x86_pmu.hybrid_pmu[i].cpu_type & pmu->cpu_type) { in events_hybrid_sysfs_show()
2164 u8 cpu_type = get_this_hybrid_cpu_type(); in init_hw_perf_events() local
2168 if (!cpu_type && x86_pmu.get_hybrid_cpu_type) in init_hw_perf_events()
2169 cpu_type = x86_pmu.get_hybrid_cpu_type(); in init_hw_perf_events()
2181 (hybrid_pmu->cpu_type == hybrid_big) ? PERF_TYPE_RAW : -1); in init_hw_perf_events()
2185 if (cpu_type == hybrid_pmu->cpu_type) in init_hw_perf_events()
/Linux-v5.15/arch/x86/kernel/
Dvm86_32.c275 vm86->cpu_type = v.cpu_type; in do_sys_vm86()
309 switch (vm86->cpu_type) { in do_sys_vm86()
/Linux-v5.15/arch/x86/events/intel/
Dcore.c2448 if (pmu->cpu_type != hybrid_big) in adl_set_topdown_event_period()
2598 if (pmu->cpu_type != hybrid_big) in adl_update_topdown_event()
3702 return hybrid_pmu(event->pmu)->cpu_type == hybrid_big; in require_mem_loads_aux_event()
4119 if (pmu->cpu_type == hybrid_big) in adl_get_event_constraints()
4121 else if (pmu->cpu_type == hybrid_small) in adl_get_event_constraints()
4132 if (pmu->cpu_type == hybrid_big) in adl_hw_config()
4134 else if (pmu->cpu_type == hybrid_small) in adl_hw_config()
4306 u8 cpu_type = get_this_hybrid_cpu_type(); in init_hybrid_pmu() local
4310 if (!cpu_type && x86_pmu.get_hybrid_cpu_type) in init_hybrid_pmu()
4311 cpu_type = x86_pmu.get_hybrid_cpu_type(); in init_hybrid_pmu()
[all …]
/Linux-v5.15/arch/parisc/math-emu/
Dfpudispatch.c163 if (boot_cpu_data.cpu_type == pcxs) in parisc_linux_get_fpu_type()
165 else if (boot_cpu_data.cpu_type == pcxt || in parisc_linux_get_fpu_type()
166 boot_cpu_data.cpu_type == pcxt_) in parisc_linux_get_fpu_type()
168 else if (boot_cpu_data.cpu_type >= pcxu) in parisc_linux_get_fpu_type()
/Linux-v5.15/arch/parisc/mm/
Dinit.c568 if (boot_cpu_data.cpu_type == pcxl2 || boot_cpu_data.cpu_type == pcxl) { in mem_init()
/Linux-v5.15/fs/reiserfs/
Dprints.c48 static char *cpu_type(struct cpu_key *key) in cpu_type() function
97 reiserfs_cpu_offset(key), cpu_type(key)); in scnprintf_cpu_key()
/Linux-v5.15/drivers/parport/
Dparport_gsc.c362 if (boot_cpu_data.cpu_type > pcxt && !pdc_add_valid(port+4)) { in parport_init_chip()
/Linux-v5.15/drivers/parisc/
Dled.c467 if (boot_cpu_data.cpu_type >= pcxl2) { in led_work_func()

12