Searched refs:CSR_SCRATCH (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/riscv/kernel/ |
H A D | entry.S | 27 csrrw tp, CSR_SCRATCH, tp 31 csrr tp, CSR_SCRATCH 65 csrr s5, CSR_SCRATCH 77 csrw CSR_SCRATCH, x0 135 csrw CSR_SCRATCH, tp 180 csrrw x31, CSR_SCRATCH, x31 186 csrrw x31, CSR_SCRATCH, x31 201 csrr s5, CSR_SCRATCH
|
H A D | suspend.c | 13 context->scratch = csr_read(CSR_SCRATCH); in suspend_save_csrs() 34 csr_write(CSR_SCRATCH, context->scratch); in suspend_restore_csrs()
|
H A D | head.S | 186 csrw CSR_SCRATCH, zero 392 csrw CSR_SCRATCH, 0
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | csr.h | 402 # define CSR_SCRATCH CSR_MSCRATCH macro 427 # define CSR_SCRATCH CSR_SSCRATCH macro
|