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.c284 bool isread) in access_el3_aa32ns() argument
301 bool isread) in access_trap_aa32s_el1() argument
321 bool isread) in access_tpm() argument
337 bool isread) in access_tvm_trvm() argument
340 uint64_t trap = isread ? HCR_TRVM : HCR_TVM; in access_tvm_trvm()
350 bool isread) in access_tsw() argument
360 bool isread) in access_tacr() argument
370 bool isread) in access_ttlb() argument
380 bool isread) in access_ttlbis() argument
392 bool isread) in access_ttlbos() argument
[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.c760 uint32_t syndrome, uint32_t isread) in HELPER()
777 res = ri->accessfn(env, ri, isread); in HELPER()
831 } else if (isread && (ri->fgt & FGT_R)) { in HELPER()
834 } else if (!isread && (ri->fgt & FGT_W)) { in HELPER()
867 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()
3047 isread ? "read" : "write", cpnum, opc1, crn, 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()
[all …]
H A Dtranslate-a64.c2236 static void gen_sysreg_undef(DisasContext *s, bool isread, in gen_sysreg_undef() argument
2250 if (isread && dc_isar_feature(aa64_ids, s) && in gen_sysreg_undef()
2252 syndrome = syn_aa64_sysregtrap(op0, op1, op2, crn, crm, rt, isread); in gen_sysreg_undef()
2266 static void handle_sys(DisasContext *s, bool isread, in handle_sys() argument
2280 uint32_t syndrome = syn_aa64_sysregtrap(op0, op1, op2, crn, crm, rt, isread); in handle_sys()
2305 isread ? "read" : "write", op0, op1, crn, crm, op2); in handle_sys()
2306 gen_sysreg_undef(s, isread, op0, op1, op2, crn, crm, rt); in handle_sys()
2326 if (!cp_access_ok(s->current_el, ri, isread)) { in handle_sys()
2360 gen_sysreg_undef(s, isread, op0, op1, op2, crn, crm, rt); in handle_sys()
2374 tcg_constant_i32(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
2307 const ARMCPRegInfo *ri, bool isread) in gicv3_dir_access() argument
2317 return gicv3_irqfiq_access(env, ri, isread); in gicv3_dir_access()
2321 const ARMCPRegInfo *ri, bool isread) in gicv3_sgi_access() argument
2329 return gicv3_irqfiq_access(env, ri, isread); in gicv3_sgi_access()
2333 const ARMCPRegInfo *ri, bool isread) in gicv3_fiq_access() argument
2369 const ARMCPRegInfo *ri, bool isread) in gicv3_irq_access() argument
/openbmc/qemu/target/arm/hvf/
H A Dhvf.c2015 bool isread = (syndrome >> 0) & 1; in hvf_vcpu_exec() local
2021 if (isread) { in hvf_vcpu_exec()