Searched refs:csr_write64 (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/firmware/efi/libstub/ |
H A D | loongarch.c | 75 csr_write64(CSR_DMW0_INIT, LOONGARCH_CSR_DMWIN0); in efi_boot_kernel() 76 csr_write64(CSR_DMW1_INIT, LOONGARCH_CSR_DMWIN1); in efi_boot_kernel() 77 csr_write64(CSR_DMW2_INIT, LOONGARCH_CSR_DMWIN2); in efi_boot_kernel() 78 csr_write64(CSR_DMW3_INIT, LOONGARCH_CSR_DMWIN3); in efi_boot_kernel()
|
/linux/arch/loongarch/include/asm/ |
H A D | loongarch.h | 180 #define csr_write64(val, reg) __csrwr_d(val, reg) 1262 #define write_csr_entryhi(val) csr_write64(val, LOONGARCH_CSR_TLBEHI) 1264 #define write_csr_entrylo0(val) csr_write64(val, LOONGARCH_CSR_TLBELO0) 1266 #define write_csr_entrylo1(val) csr_write64(val, LOONGARCH_CSR_TLBELO1) 1277 #define write_csr_prcfg1(val) csr_write64(val, LOONGARCH_CSR_PRCFG1) 1279 #define write_csr_prcfg2(val) csr_write64(val, LOONGARCH_CSR_PRCFG2) 1281 #define write_csr_prcfg3(val) csr_write64(val, LOONGARCH_CSR_PRCFG3) 1288 #define write_csr_impctl1(val) csr_write64(val, LOONGARCH_CSR_IMPCTL1) 1289 #define write_csr_impctl2(val) csr_write64(val, LOONGARCH_CSR_IMPCTL2) 1299 #define write_csr_perfctrl0(val) csr_write64(va 174 #define csr_write64( global() macro [all...] |
H A D | kvm_csr.h | 154 #define write_csr_gtlbc(val) csr_write64(val, LOONGARCH_CSR_GTLBC) 157 #define write_csr_gcfg(val) csr_write64(val, LOONGARCH_CSR_GCFG) 159 #define write_csr_gstat(val) csr_write64(val, LOONGARCH_CSR_GSTAT) 161 #define write_csr_gintc(val) csr_write64(val, LOONGARCH_CSR_GINTC) 163 #define write_csr_gcntc(val) csr_write64(val, LOONGARCH_CSR_GCNTC)
|
H A D | hw_breakpoint.h | 68 csr_write64(VAL, LOONGARCH_CSR_##IB##N##REG); \ 70 csr_write64(VAL, LOONGARCH_CSR_##DB##N##REG); \
|
H A D | percpu.h | 30 csr_write64(off, PERCPU_BASE_KS); in set_my_cpu_offset()
|
/linux/arch/loongarch/power/ |
H A D | hibernate.c | 33 csr_write64(saved_pcpu_base, PERCPU_BASE_KS); in restore_processor_state()
|
/linux/arch/loongarch/mm/ |
H A D | kasan_init.c | 290 csr_write64(__pa_symbol(kasan_pg_dir), LOONGARCH_CSR_PGDH); in kasan_init() 327 csr_write64(__pa_symbol(swapper_pg_dir), LOONGARCH_CSR_PGDH); in kasan_init()
|
/linux/arch/loongarch/kernel/ |
H A D | traps.c | 1128 csr_write64(eentry, LOONGARCH_CSR_EENTRY); in per_cpu_trap_init() 1129 csr_write64(eentry, LOONGARCH_CSR_MERRENTRY); in per_cpu_trap_init() 1130 csr_write64(tlbrentry, LOONGARCH_CSR_TLBRENTRY); in per_cpu_trap_init()
|
H A D | hw_breakpoint.c | 235 csr_write64(CSR_CRMD_WE | enable, LOONGARCH_CSR_CRMD); in hw_breakpoint_control()
|
H A D | ptrace.c | 1068 csr_write64(attr.bp_addr, LOONGARCH_CSR_IB0ADDR); in set_single_step()
|