Home
last modified time | relevance | path

Searched refs:fcpu (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/arch/microblaze/kernel/cpu/
Dcpuinfo-static.c28 (fcpu(cpu, "xlnx,use-barrel") ? PVR0_USE_BARREL_MASK : 0) | in set_cpuinfo_static()
29 (fcpu(cpu, "xlnx,use-msr-instr") ? PVR2_USE_MSR_INSTR : 0) | in set_cpuinfo_static()
30 (fcpu(cpu, "xlnx,use-pcmp-instr") ? PVR2_USE_PCMP_INSTR : 0) | in set_cpuinfo_static()
31 (fcpu(cpu, "xlnx,use-div") ? PVR0_USE_DIV_MASK : 0); in set_cpuinfo_static()
43 ci->use_mult = fcpu(cpu, "xlnx,use-hw-mul"); in set_cpuinfo_static()
51 ci->use_fpu = fcpu(cpu, "xlnx,use-fpu"); in set_cpuinfo_static()
59 (fcpu(cpu, "xlnx,unaligned-exceptions") ? in set_cpuinfo_static()
61 (fcpu(cpu, "xlnx,ill-opcode-exception") ? in set_cpuinfo_static()
63 (fcpu(cpu, "xlnx,iopb-bus-exception") ? in set_cpuinfo_static()
65 (fcpu(cpu, "xlnx,dopb-bus-exception") ? in set_cpuinfo_static()
[all …]
Dcpuinfo.c133 cpuinfo.cpu_clock_freq = fcpu(cpu, "timebase-frequency"); in setup_cpuinfo_clk()
/linux-6.6.21/arch/nios2/kernel/
Dcpuinfo.c22 static inline u32 fcpu(struct device_node *cpu, const char *n) in fcpu() function
46 cpuinfo.cpu_clock_freq = fcpu(cpu, "clock-frequency"); in setup_cpuinfo()
76 cpuinfo.tlb_num_ways = fcpu(cpu, "altr,tlb-num-ways"); in setup_cpuinfo()
80 cpuinfo.icache_line_size = fcpu(cpu, "icache-line-size"); in setup_cpuinfo()
81 cpuinfo.icache_size = fcpu(cpu, "icache-size"); in setup_cpuinfo()
88 cpuinfo.dcache_line_size = fcpu(cpu, "dcache-line-size"); in setup_cpuinfo()
94 cpuinfo.dcache_size = fcpu(cpu, "dcache-size"); in setup_cpuinfo()
101 cpuinfo.tlb_pid_num_bits = fcpu(cpu, "altr,pid-num-bits"); in setup_cpuinfo()
103 cpuinfo.tlb_num_entries = fcpu(cpu, "altr,tlb-num-entries"); in setup_cpuinfo()
105 cpuinfo.tlb_ptr_sz = fcpu(cpu, "altr,tlb-ptr-sz"); in setup_cpuinfo()
[all …]
/linux-6.6.21/arch/powerpc/mm/
Dnuma.c707 int fcpu = cpu_first_thread_sibling(lcpu); in numa_setup_cpu() local
723 nid = numa_cpu_lookup_table[fcpu]; in numa_setup_cpu()
758 if (fcpu != lcpu) { in numa_setup_cpu()
759 WARN_ON(cpu_online(fcpu)); in numa_setup_cpu()
760 map_cpu_to_node(fcpu, nid); in numa_setup_cpu()
/linux-6.6.21/arch/microblaze/include/asm/
Dcpuinfo.h96 static inline unsigned int fcpu(struct device_node *cpu, char *n) in fcpu() function
/linux-6.6.21/drivers/clk/tegra/
DMakefile25 obj-$(CONFIG_TEGRA_CLK_DFLL) += clk-tegra124-dfll-fcpu.o
/linux-6.6.21/tools/lib/bpf/
Dlibbpf_internal.h368 int parse_cpu_mask_file(const char *fcpu, bool **mask, int *mask_sz);
Dlibbpf.c12895 int parse_cpu_mask_file(const char *fcpu, bool **mask, int *mask_sz) in parse_cpu_mask_file() argument
12900 fd = open(fcpu, O_RDONLY | O_CLOEXEC); in parse_cpu_mask_file()
12903 pr_warn("Failed to open cpu mask file %s: %d\n", fcpu, err); in parse_cpu_mask_file()
12910 pr_warn("Failed to read cpu mask from %s: %d\n", fcpu, err); in parse_cpu_mask_file()
12914 pr_warn("CPU mask is too big in file %s\n", fcpu); in parse_cpu_mask_file()
12924 static const char *fcpu = "/sys/devices/system/cpu/possible"; in libbpf_num_possible_cpus() local
12933 err = parse_cpu_mask_file(fcpu, &mask, &n); in libbpf_num_possible_cpus()