Home
last modified time | relevance | path

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

12

/linux-6.12.1/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()
186 return cpu_type; in __get_cpu_type()
191 const int cpu_type = current_cpu_data.cputype; in current_cpu_type() local
193 return __get_cpu_type(cpu_type); in current_cpu_type()
198 const int cpu_type = cpu_data[0].cputype; in boot_cpu_type() local
200 return __get_cpu_type(cpu_type); in boot_cpu_type()
/linux-6.12.1/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-6.12.1/arch/parisc/kernel/
Dperf.c493 if (boot_cpu_data.cpu_type == pcxu || in perf_init()
494 boot_cpu_data.cpu_type == pcxu_) { in perf_init()
496 } else if (boot_cpu_data.cpu_type == pcxw || in perf_init()
497 boot_cpu_data.cpu_type == pcxw_ || in perf_init()
498 boot_cpu_data.cpu_type == pcxw2 || in perf_init()
499 boot_cpu_data.cpu_type == mako || in perf_init()
500 boot_cpu_data.cpu_type == mako2) { in perf_init()
502 if (boot_cpu_data.cpu_type == pcxw2 || in perf_init()
503 boot_cpu_data.cpu_type == mako || in perf_init()
504 boot_cpu_data.cpu_type == mako2) in perf_init()
Dprocessor.c289 boot_cpu_data.cpu_type = parisc_get_cpu_type(boot_cpu_data.hversion); in collect_boot_cpu_data()
290 boot_cpu_data.cpu_name = cpu_name_version[boot_cpu_data.cpu_type][0]; in collect_boot_cpu_data()
291 boot_cpu_data.family_name = cpu_name_version[boot_cpu_data.cpu_type][1]; in collect_boot_cpu_data()
294 _parisc_requires_coherency = (boot_cpu_data.cpu_type == mako) || in collect_boot_cpu_data()
295 (boot_cpu_data.cpu_type == mako2); in collect_boot_cpu_data()
Dalternative.c42 (((boot_cpu_data.cpu_type > pcxw_) && in apply_alternatives()
72 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()
428 WARN_ON_ONCE(boot_cpu_data.cpu_type != pcxl2 && in arch_dma_free()
429 boot_cpu_data.cpu_type != pcxl); in arch_dma_free()
Dtoc.c72 if (boot_cpu_data.cpu_type >= pcxu) { in toc_intr()
Dsetup.c85 switch (boot_cpu_data.cpu_type) { in dma_ops_init()
Dhardware.c1224 enum cpu_type cpu;
1360 enum cpu_type __init
/linux-6.12.1/arch/arm/mach-omap1/
Did.c129 u8 cpu_type; in omap_check_revision() local
180 cpu_type = omap_revision >> 24; in omap_check_revision()
182 switch (cpu_type) { in omap_check_revision()
196 printk(KERN_INFO "Unknown OMAP cpu type: 0x%02x\n", cpu_type); in omap_check_revision()
/linux-6.12.1/arch/x86/include/uapi/asm/
Dvm86.h101 unsigned long cpu_type; member
123 unsigned long cpu_type; member
/linux-6.12.1/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-6.12.1/drivers/mtd/nand/raw/
Ds3c2410.c165 enum s3c_cpu_type cpu_type; member
285 int tacls_max = (info->cpu_type == TYPE_S3C2412) ? 8 : 4; in s3c2410_nand_setrate()
316 switch (info->cpu_type) { in s3c2410_nand_setrate()
371 switch (info->cpu_type) { in s3c2410_nand_inithw()
812 switch (info->cpu_type) { in s3c2410_nand_init_chip()
896 switch (info->cpu_type) { in s3c2410_nand_attach_chip()
975 info->cpu_type = devtype_data->type; in s3c24xx_nand_probe_dt()
1011 info->cpu_type = platform_get_device_id(pdev)->driver_data; in s3c24xx_nand_probe_pdata()
/linux-6.12.1/arch/x86/include/asm/
Dvm86.h39 unsigned long cpu_type; member
/linux-6.12.1/arch/alpha/kernel/
Dsetup.c1194 determine_cpu_caches (unsigned int cpu_type) in determine_cpu_caches() argument
1198 switch (cpu_type) { in determine_cpu_caches()
1202 if (cpu_type == EV4_CPU) in determine_cpu_caches()
1266 if (cpu_type == PCA56_CPU) { in determine_cpu_caches()
/linux-6.12.1/arch/sh/include/asm/
Dprocessor.h16 enum cpu_type { enum
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/parport/
Dparport_gsc.c349 if (boot_cpu_data.cpu_type > pcxt && !pdc_add_valid(port+4)) { in parport_init_chip()
/linux-6.12.1/arch/parisc/mm/
Dinit.c574 if (boot_cpu_data.cpu_type == pcxl2 || boot_cpu_data.cpu_type == pcxl) { in mem_init()
/linux-6.12.1/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-6.12.1/drivers/cpufreq/
Dintel_pstate.c2207 u8 *cpu_type = data; in hybrid_get_type() local
2209 *cpu_type = get_this_hybrid_cpu_type(); in hybrid_get_type()
2214 u8 cpu_type = 0; in hwp_get_cpu_scaling() local
2216 smp_call_function_single(cpu, hybrid_get_type, &cpu_type, 1); in hwp_get_cpu_scaling()
2218 if (cpu_type == 0x40) in hwp_get_cpu_scaling()
2222 if (cpu_type == 0x20) in hwp_get_cpu_scaling()
/linux-6.12.1/arch/powerpc/kvm/
De500mc.c214 vcpu->arch.cpu_type = KVM_CPU_E500MC; in kvmppc_core_vcpu_setup()
De500.c356 vcpu->arch.cpu_type = KVM_CPU_E500V2; in kvmppc_core_vcpu_setup()

12