Home
last modified time | relevance | path

Searched refs:isread (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/target/arm/
H A Dsyndrome.h164 int isread) in syn_aa64_sysregtrap() argument
168 | (crm << 1) | isread; in syn_aa64_sysregtrap()
172 int crn, int crm, int rt, int isread, in syn_cp14_rt_trap() argument
178 | (crn << 10) | (rt << 5) | (crm << 1) | isread; in syn_cp14_rt_trap()
182 int crn, int crm, int rt, int isread, in syn_cp15_rt_trap() argument
188 | (crn << 10) | (rt << 5) | (crm << 1) | isread; in syn_cp15_rt_trap()
192 int rt, int rt2, int isread, in syn_cp14_rrt_trap() argument
198 | (rt2 << 10) | (rt << 5) | (crm << 1) | isread; in syn_cp14_rrt_trap()
202 int rt, int rt2, int isread, in syn_cp15_rrt_trap() argument
208 | (rt2 << 10) | (rt << 5) | (crm << 1) | isread; in syn_cp15_rrt_trap()
H A Dhelper.c337 bool isread) in access_tvm_trvm() argument
1122 && isread) { in pmreg_access_xevcntr()
1126 return pmreg_access(env, ri, isread); in pmreg_access_xevcntr()
1137 && !isread) { in pmreg_access_swinc()
1141 return pmreg_access(env, ri, isread); in pmreg_access_swinc()
1155 return pmreg_access(env, ri, isread); in pmreg_access_selr()
1166 && isread) { in pmreg_access_ccntr()
1170 return pmreg_access(env, ri, isread); in pmreg_access_ccntr()
6629 if (isread) { in nsacr_access()
6758 return e2h_access(env, ri, isread); in access_el1nvpct()
[all …]
H A Ddebug_helper.c789 bool isread) in access_tdosa() argument
810 bool isread) in access_tdra() argument
831 bool isread) in access_tda() argument
848 bool isread) in access_dbgvcr32() argument
865 bool isread) in access_tdcc() argument
H A Dcpregs.h826 bool isread);
1063 const ARMCPRegInfo *ri, int isread) in cp_access_ok() argument
1065 return (ri->access >> ((current_el * 2) + isread)) & 1; in cp_access_ok()
/openbmc/u-boot/drivers/spi/
H A Dkirkwood_spi.c35 int tm, isread = 0; in _spi_xfer() local
66 for (tm = 0, isread = 0; tm < KWSPI_TIMEOUT; ++tm) { in _spi_xfer()
68 isread = 1; in _spi_xfer()
81 if (isread) in _spi_xfer()
/openbmc/linux/drivers/input/rmi4/
H A Drmi_smbus.c80 u16 rmiaddr, int bytecount, bool isread, u8 *commandcode) in rmi_smb_get_command_code() argument
94 if (isread) { in rmi_smb_get_command_code()
112 new_map.flags = !isread ? RMI_SMB2_MAP_FLAGS_WE : 0; in rmi_smb_get_command_code()
/openbmc/qemu/target/arm/tcg/
H A Dop_helper.c755 uint32_t syndrome, uint32_t isread) in HELPER()
771 res = ri->accessfn(env, ri, isread); in HELPER()
825 } else if (isread && (ri->fgt & FGT_R)) { in HELPER()
828 } else if (!isread && (ri->fgt & FGT_W)) { in HELPER()
851 if (cpu_isar_feature(aa64_ids, cpu) && isread && in HELPER()
H A Dtranslate.c2934 bool isread, int rt, int rt2) in do_coproc_insn() argument
2955 isread, false); in do_coproc_insn()
2958 rt, isread, false); in do_coproc_insn()
2964 isread, false); in do_coproc_insn()
2967 rt, isread, false); in do_coproc_insn()
3041 isread ? "read" : "write", cpnum, opc1, crm, in do_coproc_insn()
3055 if (!cp_access_ok(s->current_el, ri, isread)) { in do_coproc_insn()
3075 tcg_constant_i32(isread)); in do_coproc_insn()
3092 if (isread) { in do_coproc_insn()
3108 if (isread) { in do_coproc_insn()
[all …]
H A Dtranslate-a64.c2219 static void gen_sysreg_undef(DisasContext *s, bool isread, in gen_sysreg_undef() argument
2233 if (isread && dc_isar_feature(aa64_ids, s) && in gen_sysreg_undef()
2249 static void handle_sys(DisasContext *s, bool isread, in handle_sys() argument
2289 gen_sysreg_undef(s, isread, op0, op1, op2, crn, crm, rt); in handle_sys()
2309 if (!cp_access_ok(s->current_el, ri, isread)) { in handle_sys()
2394 assert(cp_access_ok(s->current_el, ri, isread)); in handle_sys()
2428 syn = syn_data_abort_vncr(0, !isread, 0); in handle_sys()
2430 if (isread) { in handle_sys()
2446 if (isread) { in handle_sys()
2529 if (isread) { in handle_sys()
[all …]
/openbmc/qemu/hw/intc/
H A Darm_gicv3_cpuif.c2270 const ARMCPRegInfo *ri, bool isread) in gicv3_irqfiq_access() argument
2310 const ARMCPRegInfo *ri, bool isread) in gicv3_dir_access() argument
2320 return gicv3_irqfiq_access(env, ri, isread); in gicv3_dir_access()
2324 const ARMCPRegInfo *ri, bool isread) in gicv3_sgi_access() argument
2332 return gicv3_irqfiq_access(env, ri, isread); in gicv3_sgi_access()
2336 const ARMCPRegInfo *ri, bool isread) in gicv3_fiq_access() argument
2375 const ARMCPRegInfo *ri, bool isread) in gicv3_irq_access() argument
/openbmc/qemu/target/arm/hvf/
H A Dhvf.c1936 bool isread = (syndrome >> 0) & 1; in hvf_vcpu_exec() local
1942 if (isread) { in hvf_vcpu_exec()