Searched refs:fcpu (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/arch/microblaze/kernel/cpu/
H A Dcpuinfo-static.c28 (fcpu(cpu, "xlnx,use-barrel") ? PVR0_USE_BARREL_MASK : 0) | set_cpuinfo_static()
29 (fcpu(cpu, "xlnx,use-msr-instr") ? PVR2_USE_MSR_INSTR : 0) | set_cpuinfo_static()
30 (fcpu(cpu, "xlnx,use-pcmp-instr") ? PVR2_USE_PCMP_INSTR : 0) | set_cpuinfo_static()
31 (fcpu(cpu, "xlnx,use-div") ? PVR0_USE_DIV_MASK : 0); set_cpuinfo_static()
43 ci->use_mult = fcpu(cpu, "xlnx,use-hw-mul"); set_cpuinfo_static()
51 ci->use_fpu = fcpu(cpu, "xlnx,use-fpu"); set_cpuinfo_static()
59 (fcpu(cpu, "xlnx,unaligned-exceptions") ? set_cpuinfo_static()
61 (fcpu(cpu, "xlnx,ill-opcode-exception") ? set_cpuinfo_static()
63 (fcpu(cpu, "xlnx,iopb-bus-exception") ? set_cpuinfo_static()
65 (fcpu(cpu, "xlnx,dopb-bus-exception") ? set_cpuinfo_static()
67 (fcpu(cpu, "xlnx,div-zero-exception") ? set_cpuinfo_static()
69 (fcpu(cpu, "xlnx,fpu-exception") ? PVR2_FPU_EXC_MASK : 0) | set_cpuinfo_static()
70 (fcpu(cpu, "xlnx,fsl-exception") ? PVR2_USE_EXTEND_FSL : 0); set_cpuinfo_static()
72 ci->use_icache = fcpu(cpu, "xlnx,use-icache"); set_cpuinfo_static()
73 ci->icache_tagbits = fcpu(cpu, "xlnx,addr-tag-bits"); set_cpuinfo_static()
74 ci->icache_write = fcpu(cpu, "xlnx,allow-icache-wr"); set_cpuinfo_static()
75 ci->icache_line_length = fcpu(cpu, "xlnx,icache-line-len") << 2; set_cpuinfo_static()
77 if (fcpu(cpu, "xlnx,icache-use-fsl")) set_cpuinfo_static()
82 ci->icache_size = fcpu(cpu, "i-cache-size"); set_cpuinfo_static()
83 ci->icache_base = fcpu(cpu, "i-cache-baseaddr"); set_cpuinfo_static()
84 ci->icache_high = fcpu(cpu, "i-cache-highaddr"); set_cpuinfo_static()
86 ci->use_dcache = fcpu(cpu, "xlnx,use-dcache"); set_cpuinfo_static()
87 ci->dcache_tagbits = fcpu(cpu, "xlnx,dcache-addr-tag"); set_cpuinfo_static()
88 ci->dcache_write = fcpu(cpu, "xlnx,allow-dcache-wr"); set_cpuinfo_static()
89 ci->dcache_line_length = fcpu(cpu, "xlnx,dcache-line-len") << 2; set_cpuinfo_static()
91 if (fcpu(cpu, "xlnx,dcache-use-fsl")) set_cpuinfo_static()
96 ci->dcache_size = fcpu(cpu, "d-cache-size"); set_cpuinfo_static()
97 ci->dcache_base = fcpu(cpu, "d-cache-baseaddr"); set_cpuinfo_static()
98 ci->dcache_high = fcpu(cpu, "d-cache-highaddr"); set_cpuinfo_static()
99 ci->dcache_wb = fcpu(cpu, "xlnx,dcache-use-writeback"); set_cpuinfo_static()
101 ci->use_dopb = fcpu(cpu, "xlnx,d-opb"); set_cpuinfo_static()
102 ci->use_iopb = fcpu(cpu, "xlnx,i-opb"); set_cpuinfo_static()
103 ci->use_dlmb = fcpu(cpu, "xlnx,d-lmb"); set_cpuinfo_static()
104 ci->use_ilmb = fcpu(cpu, "xlnx,i-lmb"); set_cpuinfo_static()
106 ci->num_fsl = fcpu(cpu, "xlnx,fsl-links"); set_cpuinfo_static()
107 ci->irq_edge = fcpu(cpu, "xlnx,interrupt-is-edge"); set_cpuinfo_static()
108 ci->irq_positive = fcpu(cpu, "xlnx,edge-is-positive"); set_cpuinfo_static()
111 ci->hw_debug = fcpu(cpu, "xlnx,debug-enabled"); set_cpuinfo_static()
112 ci->num_pc_brk = fcpu(cpu, "xlnx,number-of-pc-brk"); set_cpuinfo_static()
113 ci->num_rd_brk = fcpu(cpu, "xlnx,number-of-rd-addr-brk"); set_cpuinfo_static()
114 ci->num_wr_brk = fcpu(cpu, "xlnx,number-of-wr-addr-brk"); set_cpuinfo_static()
116 ci->pvr_user1 = fcpu(cpu, "xlnx,pvr-user1"); set_cpuinfo_static()
117 ci->pvr_user2 = fcpu(cpu, "xlnx,pvr-user2"); set_cpuinfo_static()
119 ci->mmu = fcpu(cpu, "xlnx,use-mmu"); set_cpuinfo_static()
120 ci->mmu_privins = fcpu(cpu, "xlnx,mmu-privileged-instr"); set_cpuinfo_static()
121 ci->endian = fcpu(cpu, "xlnx,endianness"); set_cpuinfo_static()
H A Dcpuinfo.c124 cpuinfo.cpu_clock_freq = fcpu(cpu, "timebase-frequency"); setup_cpuinfo_clk()
/linux-4.4.14/arch/nios2/kernel/
H A Dcpuinfo.c35 static inline u32 fcpu(struct device_node *cpu, const char *n) fcpu() function
64 cpuinfo.cpu_clock_freq = fcpu(cpu, "clock-frequency"); setup_cpuinfo()
86 cpuinfo.tlb_num_ways = fcpu(cpu, "altr,tlb-num-ways"); setup_cpuinfo()
90 cpuinfo.icache_line_size = fcpu(cpu, "icache-line-size"); setup_cpuinfo()
91 cpuinfo.icache_size = fcpu(cpu, "icache-size"); setup_cpuinfo()
98 cpuinfo.dcache_line_size = fcpu(cpu, "dcache-line-size"); setup_cpuinfo()
104 cpuinfo.dcache_size = fcpu(cpu, "dcache-size"); setup_cpuinfo()
111 cpuinfo.tlb_pid_num_bits = fcpu(cpu, "altr,pid-num-bits"); setup_cpuinfo()
113 cpuinfo.tlb_num_entries = fcpu(cpu, "altr,tlb-num-entries"); setup_cpuinfo()
115 cpuinfo.tlb_ptr_sz = fcpu(cpu, "altr,tlb-ptr-sz"); setup_cpuinfo()
117 cpuinfo.reset_addr = fcpu(cpu, "altr,reset-addr"); setup_cpuinfo()
118 cpuinfo.exception_addr = fcpu(cpu, "altr,exception-addr"); setup_cpuinfo()
119 cpuinfo.fast_tlb_miss_exc_addr = fcpu(cpu, "altr,fast-tlb-miss-addr"); setup_cpuinfo()
/linux-4.4.14/arch/arm/mach-sa1100/include/mach/
H A DSA-1100.h880 * fcpu, Tcpu Frequency, period of the CPU core clock (CCLK).
945 #define PPCR_Fx16 /* Freq. x 16 (fcpu = 16*fxtl) */ \
947 #define PPCR_Fx20 /* Freq. x 20 (fcpu = 20*fxtl) */ \
949 #define PPCR_Fx24 /* Freq. x 24 (fcpu = 24*fxtl) */ \
951 #define PPCR_Fx28 /* Freq. x 28 (fcpu = 28*fxtl) */ \
953 #define PPCR_Fx32 /* Freq. x 32 (fcpu = 32*fxtl) */ \
955 #define PPCR_Fx36 /* Freq. x 36 (fcpu = 36*fxtl) */ \
957 #define PPCR_Fx40 /* Freq. x 40 (fcpu = 40*fxtl) */ \
959 #define PPCR_Fx44 /* Freq. x 44 (fcpu = 44*fxtl) */ \
961 #define PPCR_Fx48 /* Freq. x 48 (fcpu = 48*fxtl) */ \
963 #define PPCR_Fx52 /* Freq. x 52 (fcpu = 52*fxtl) */ \
965 #define PPCR_Fx56 /* Freq. x 56 (fcpu = 56*fxtl) */ \
967 #define PPCR_Fx60 /* Freq. x 60 (fcpu = 60*fxtl) */ \
969 #define PPCR_Fx64 /* Freq. x 64 (fcpu = 64*fxtl) */ \
971 #define PPCR_Fx68 /* Freq. x 68 (fcpu = 68*fxtl) */ \
973 #define PPCR_Fx72 /* Freq. x 72 (fcpu = 72*fxtl) */ \
975 #define PPCR_Fx76 /* Freq. x 76 (fcpu = 76*fxtl) */ \
978 #define PPCR_F59_0MHz PPCR_Fx16 /* Freq. (fcpu) = 59.0 MHz */
979 #define PPCR_F73_7MHz PPCR_Fx20 /* Freq. (fcpu) = 73.7 MHz */
980 #define PPCR_F88_5MHz PPCR_Fx24 /* Freq. (fcpu) = 88.5 MHz */
981 #define PPCR_F103_2MHz PPCR_Fx28 /* Freq. (fcpu) = 103.2 MHz */
982 #define PPCR_F118_0MHz PPCR_Fx32 /* Freq. (fcpu) = 118.0 MHz */
983 #define PPCR_F132_7MHz PPCR_Fx36 /* Freq. (fcpu) = 132.7 MHz */
984 #define PPCR_F147_5MHz PPCR_Fx40 /* Freq. (fcpu) = 147.5 MHz */
985 #define PPCR_F162_2MHz PPCR_Fx44 /* Freq. (fcpu) = 162.2 MHz */
986 #define PPCR_F176_9MHz PPCR_Fx48 /* Freq. (fcpu) = 176.9 MHz */
987 #define PPCR_F191_7MHz PPCR_Fx52 /* Freq. (fcpu) = 191.7 MHz */
988 #define PPCR_F206_4MHz PPCR_Fx56 /* Freq. (fcpu) = 206.4 MHz */
989 #define PPCR_F221_2MHz PPCR_Fx60 /* Freq. (fcpu) = 221.2 MHz */
990 #define PPCR_F239_6MHz PPCR_Fx64 /* Freq. (fcpu) = 239.6 MHz */
991 #define PPCR_F250_7MHz PPCR_Fx68 /* Freq. (fcpu) = 250.7 MHz */
992 #define PPCR_F265_4MHz PPCR_Fx72 /* Freq. (fcpu) = 265.4 MHz */
993 #define PPCR_F280_2MHz PPCR_Fx76 /* Freq. (fcpu) = 280.2 MHz */
995 #define PPCR_F57_3MHz PPCR_Fx16 /* Freq. (fcpu) = 57.3 MHz */
996 #define PPCR_F71_6MHz PPCR_Fx20 /* Freq. (fcpu) = 71.6 MHz */
997 #define PPCR_F85_9MHz PPCR_Fx24 /* Freq. (fcpu) = 85.9 MHz */
998 #define PPCR_F100_2MHz PPCR_Fx28 /* Freq. (fcpu) = 100.2 MHz */
999 #define PPCR_F114_5MHz PPCR_Fx32 /* Freq. (fcpu) = 114.5 MHz */
1000 #define PPCR_F128_9MHz PPCR_Fx36 /* Freq. (fcpu) = 128.9 MHz */
1001 #define PPCR_F143_2MHz PPCR_Fx40 /* Freq. (fcpu) = 143.2 MHz */
1002 #define PPCR_F157_5MHz PPCR_Fx44 /* Freq. (fcpu) = 157.5 MHz */
1003 #define PPCR_F171_8MHz PPCR_Fx48 /* Freq. (fcpu) = 171.8 MHz */
1004 #define PPCR_F186_1MHz PPCR_Fx52 /* Freq. (fcpu) = 186.1 MHz */
1005 #define PPCR_F200_5MHz PPCR_Fx56 /* Freq. (fcpu) = 200.5 MHz */
1006 #define PPCR_F214_8MHz PPCR_Fx60 /* Freq. (fcpu) = 214.8 MHz */
1007 #define PPCR_F229_1MHz PPCR_Fx64 /* Freq. (fcpu) = 229.1 MHz */
1008 #define PPCR_F243_4MHz PPCR_Fx68 /* Freq. (fcpu) = 243.4 MHz */
1009 #define PPCR_F257_7MHz PPCR_Fx72 /* Freq. (fcpu) = 257.7 MHz */
1010 #define PPCR_F272_0MHz PPCR_Fx76 /* Freq. (fcpu) = 272.0 MHz */
1067 #define TUCR_Clock /* internal (fcpu/2) & 32.768 kHz */ \
1101 * fcpu, Tcpu Frequency, period of the CPU core clock (CCLK).
1181 #define GPIO_RCLK GPIO_GPIO (26) /* internal (R) CLocK (O, fcpu/2) */
1362 * fcpu, Tcpu Frequency, period of the CPU core clock (CCLK).
1363 * fmem, Tmem Frequency, period of the memory clock (fmem = fcpu/2).
1383 /* (fcas = fcpu/2) */
1438 * fcpu, Tcpu Frequency, period of the CPU core clock (CCLK).
1439 * fmem, Tmem Frequency, period of the memory clock (fmem = fcpu/2).
1506 * fcpu, Tcpu Frequency, period of the CPU core clock (CCLK).
1507 * fmem, Tmem Frequency, period of the memory clock (fmem = fcpu/2).
1609 * fcpu, Tcpu Frequency, period of the CPU core clock (CCLK).
1610 * fmem, Tmem Frequency, period of the memory clock (fmem = fcpu/2).
1751 /* fpix = fcpu/(2*(PCD + 2)) */
1755 /* fpix = fcpu/(2*Floor (Div/2)) */
1759 /* fpix = fcpu/(2*Ceil (Div/2)) */
/linux-4.4.14/arch/microblaze/include/asm/
H A Dcpuinfo.h99 static inline unsigned int fcpu(struct device_node *cpu, char *n) fcpu() function

Completed in 304 milliseconds