Home
last modified time | relevance | path

Searched refs:sscratch (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/arch/riscv/include/
A Driscv.h267 unsigned long sscratch; in read_sscratch() local
269 asm volatile("csrr %0, sscratch" : "=r" (sscratch)); in read_sscratch()
271 return sscratch; in read_sscratch()
274 static inline __noprof void write_sscratch(unsigned long sscratch) in write_sscratch() argument
276 asm volatile("csrw sscratch, %0" : : "r" (sscratch)); in write_sscratch()
A Dencoding.h4564 DECLARE_CSR(sscratch, CSR_SSCRATCH)

Completed in 36 milliseconds