Lines Matching +full:0 +full:x238
13 #define IPI_BASE 0x3ff01000ULL
15 #define CORE0_STATUS_OFF 0x000
16 #define CORE0_EN_OFF 0x004
17 #define CORE0_SET_OFF 0x008
18 #define CORE0_CLEAR_OFF 0x00c
19 #define CORE0_BUF_20 0x020
20 #define CORE0_BUF_28 0x028
21 #define CORE0_BUF_30 0x030
22 #define CORE0_BUF_38 0x038
24 #define CORE1_STATUS_OFF 0x100
25 #define CORE1_EN_OFF 0x104
26 #define CORE1_SET_OFF 0x108
27 #define CORE1_CLEAR_OFF 0x10c
28 #define CORE1_BUF_20 0x120
29 #define CORE1_BUF_28 0x128
30 #define CORE1_BUF_30 0x130
31 #define CORE1_BUF_38 0x138
33 #define CORE2_STATUS_OFF 0x200
34 #define CORE2_EN_OFF 0x204
35 #define CORE2_SET_OFF 0x208
36 #define CORE2_CLEAR_OFF 0x20c
37 #define CORE2_BUF_20 0x220
38 #define CORE2_BUF_28 0x228
39 #define CORE2_BUF_30 0x230
40 #define CORE2_BUF_38 0x238
42 #define CORE3_STATUS_OFF 0x300
43 #define CORE3_EN_OFF 0x304
44 #define CORE3_SET_OFF 0x308
45 #define CORE3_CLEAR_OFF 0x30c
46 #define CORE3_BUF_20 0x320
47 #define CORE3_BUF_28 0x328
48 #define CORE3_BUF_30 0x330
49 #define CORE3_BUF_38 0x338
57 uint64_t offset = addr & 0xff; in loongson_vipi_read()
73 *(uint64_t *)val = 0; in loongson_vipi_read()
77 *(uint64_t *)val = 0; in loongson_vipi_read()
81 pbuf = (void *)s->buf + (offset - 0x20); in loongson_vipi_read()
93 return 0; in loongson_vipi_read()
102 uint64_t data, offset = addr & 0xff; in loongson_vipi_write()
136 pbuf = (void *)s->buf + (offset - 0x20); in loongson_vipi_write()
148 return 0; in loongson_vipi_write()
165 return 0; in kvm_ipi_read()
182 return 0; in kvm_ipi_write()
204 for (i = 0; i < 4; i++) { in kvm_init_loongson_ipi()
209 kvm_io_bus_register_dev(kvm, KVM_MMIO_BUS, addr, 0x400, device); in kvm_init_loongson_ipi()