Lines Matching refs:csr
51 target_ulong helper_csrr(CPURISCVState *env, int csr) in helper_csrr() argument
58 if (csr == CSR_SEED) { in helper_csrr()
63 RISCVException ret = riscv_csrr(env, csr, &val); in helper_csrr()
71 void helper_csrw(CPURISCVState *env, int csr, target_ulong src) in helper_csrw() argument
74 RISCVException ret = riscv_csrrw(env, csr, NULL, src, mask, GETPC()); in helper_csrw()
81 target_ulong helper_csrrw(CPURISCVState *env, int csr, in helper_csrrw() argument
85 RISCVException ret = riscv_csrrw(env, csr, &val, src, write_mask, GETPC()); in helper_csrrw()
93 target_ulong helper_csrr_i128(CPURISCVState *env, int csr) in helper_csrr_i128() argument
96 RISCVException ret = riscv_csrr_i128(env, csr, &rv); in helper_csrr_i128()
106 void helper_csrw_i128(CPURISCVState *env, int csr, in helper_csrw_i128() argument
109 RISCVException ret = riscv_csrrw_i128(env, csr, NULL, in helper_csrw_i128()
118 target_ulong helper_csrrw_i128(CPURISCVState *env, int csr, in helper_csrrw_i128() argument
123 RISCVException ret = riscv_csrrw_i128(env, csr, &rv, in helper_csrrw_i128()