Lines Matching +full:0 +full:x1020

25 		"parse_r __res,%0\n\t"  in read_cpucfg()
29 ".word (0xc8080118 | (reg << 21) | (__res << 11))\n\t" in read_cpucfg()
38 #define LOONGSON_CFG0 0x0
39 #define LOONGSON_CFG0_PRID GENMASK(31, 0)
41 #define LOONGSON_CFG1 0x1
42 #define LOONGSON_CFG1_FP BIT(0)
74 #define LOONGSON_CFG2 0x2
75 #define LOONGSON_CFG2_LEXT1 BIT(0)
104 #define LOONGSON_CFG3 0x3
105 #define LOONGSON_CFG3_LCAMP BIT(0)
115 #define LOONGSON_CFG3_LCAMNUM_REV1 (0x3f << LOONGSON_CFG3_LCAMNUM_OFFSET)
117 #define LOONGSON_CFG3_LCAMKW_REV1 (0x27 << LOONGSON_CFG3_LCAMKW_OFFSET)
119 #define LOONGSON_CFG3_LCAMVW_REV1 (0x3f << LOONGSON_CFG3_LCAMVW_OFFSET)
121 #define LOONGSON_CFG4 0x4
122 #define LOONGSON_CFG4_CCFREQ GENMASK(31, 0)
124 #define LOONGSON_CFG5 0x5
125 #define LOONGSON_CFG5_CFM GENMASK(15, 0)
128 #define LOONGSON_CFG6 0x6
130 #define LOONGSON_CFG7 0x7
131 #define LOONGSON_CFG7_GCCAEQRP BIT(0)
149 "parse_r __res,%0\n\t" in csr_readl()
153 ".word (0xc8000118 | (reg << 21) | (__res << 11))\n\t" in csr_readl()
168 "parse_r __res,%0\n\t" in csr_readq()
172 ".word (0xc8020118 | (reg << 21) | (__res << 11))\n\t" in csr_readq()
185 "parse_r reg,%0\n\t" in csr_writel()
189 ".word (0xc8010118 | (reg << 21) | (val << 11))\n\t" in csr_writel()
201 "parse_r reg,%0\n\t" in csr_writeq()
205 ".word (0xc8030118 | (reg << 21) | (val << 11))\n\t" in csr_writeq()
213 #define CSR_PUBLIC_MMIO_BASE 0x1fe00000
217 #define LOONGSON_CSR_FEATURES 0x8
218 #define LOONGSON_CSRF_TEMP BIT(0)
225 #define LOONGSON_CSR_VENDOR 0x10 /* Vendor name string, should be "Loongson" */
226 #define LOONGSON_CSR_CPUNAME 0x20 /* Processor name string */
227 #define LOONGSON_CSR_NODECNT 0x408
228 #define LOONGSON_CSR_CPUTEMP 0x428
231 #define LOONGSON_CSR_IPI_STATUS 0x1000
232 #define LOONGSON_CSR_IPI_EN 0x1004
233 #define LOONGSON_CSR_IPI_SET 0x1008
234 #define LOONGSON_CSR_IPI_CLEAR 0x100c
235 #define LOONGSON_CSR_IPI_SEND 0x1040
236 #define CSR_IPI_SEND_IP_SHIFT 0
240 #define LOONGSON_CSR_MAIL_BUF0 0x1020
241 #define LOONGSON_CSR_MAIL_SEND 0x1048
248 #define CSR_MAIL_SEND_H32_MASK 0xFFFFFFFF00000000ULL
252 int rID = 0; in drdtime()
253 u64 val = 0; in drdtime()
257 "parse_r rID,%0\n\t" in drdtime()
261 ".word (0xc8090118 | (rID << 21) | (val << 11))\n\t" in drdtime()