Lines Matching refs:write_mask
3727 target_ulong new_value, target_ulong write_mask) in rmw_hip() argument
3730 write_mask & hip_writable_mask); in rmw_hip()
4573 target_ulong write_mask) in riscv_new_csr_seed() argument
4603 target_ulong write_mask) in rmw_seed() argument
4607 rval = riscv_new_csr_seed(new_value, write_mask); in rmw_seed()
4691 target_ulong write_mask) in riscv_csrrw_do64() argument
4698 return csr_ops[csrno].op(env, csrno, ret_value, new_value, write_mask); in riscv_csrrw_do64()
4718 if (write_mask) { in riscv_csrrw_do64()
4719 new_value = (old_value & ~write_mask) | (new_value & write_mask); in riscv_csrrw_do64()
4749 target_ulong new_value, target_ulong write_mask) in riscv_csrrw() argument
4756 return riscv_csrrw_do64(env, csrno, ret_value, new_value, write_mask); in riscv_csrrw()
4762 Int128 write_mask) in riscv_csrrw_do128() argument
4774 if (int128_nz(write_mask)) { in riscv_csrrw_do128()
4775 new_value = int128_or(int128_and(old_value, int128_not(write_mask)), in riscv_csrrw_do128()
4776 int128_and(new_value, write_mask)); in riscv_csrrw_do128()
4833 Int128 new_value, Int128 write_mask) in riscv_csrrw_i128() argument
4843 return riscv_csrrw_do128(env, csrno, ret_value, new_value, write_mask); in riscv_csrrw_i128()
4856 int128_getlo(write_mask)); in riscv_csrrw_i128()
4870 target_ulong write_mask) in riscv_csrrw_debug() argument
4876 if (!write_mask) { in riscv_csrrw_debug()
4879 ret = riscv_csrrw(env, csrno, ret_value, new_value, write_mask); in riscv_csrrw_debug()