Home
last modified time | relevance | path

Searched refs:cpu_state (Results 1 – 25 of 55) sorted by relevance

123

/external/pigweed/pw_cpu_exception_cortex_m/
Dentry.cc44 bool PspWasActive(const pw_cpu_exception_State& cpu_state) { in PspWasActive() argument
45 return cpu_state.extended.exc_return & kExcReturnStackMask; in PspWasActive()
50 bool FpuStateWasPushed(const pw_cpu_exception_State& cpu_state) { in FpuStateWasPushed() argument
51 return !(cpu_state.extended.exc_return & kExcReturnBasicFrameMask); in FpuStateWasPushed()
58 void CloneBaseRegistersFromPsp(pw_cpu_exception_State* cpu_state) { in CloneBaseRegistersFromPsp() argument
60 if (!(cpu_state->extended.cfsr & kCfsrStkerrMask) && in CloneBaseRegistersFromPsp()
61 !(cpu_state->extended.cfsr & kCfsrMstkerrMask)) { in CloneBaseRegistersFromPsp()
66 std::memcpy(&cpu_state->base, in CloneBaseRegistersFromPsp()
67 reinterpret_cast<void*>(cpu_state->extended.psp), in CloneBaseRegistersFromPsp()
73 cpu_state->base.lr = kInvalidRegisterValue; in CloneBaseRegistersFromPsp()
[all …]
Dproto_dump.cc22 const pw_cpu_exception_State& cpu_state) { in DumpCpuStateProto() argument
26 state_encoder.WritePc(cpu_state.base.pc); in DumpCpuStateProto()
27 state_encoder.WriteLr(cpu_state.base.lr); in DumpCpuStateProto()
28 state_encoder.WritePsr(cpu_state.base.psr); in DumpCpuStateProto()
29 state_encoder.WriteMsp(cpu_state.extended.msp); in DumpCpuStateProto()
30 state_encoder.WritePsp(cpu_state.extended.psp); in DumpCpuStateProto()
31 state_encoder.WriteExcReturn(cpu_state.extended.exc_return); in DumpCpuStateProto()
32 state_encoder.WriteCfsr(cpu_state.extended.cfsr); in DumpCpuStateProto()
33 state_encoder.WriteMmfar(cpu_state.extended.mmfar); in DumpCpuStateProto()
34 state_encoder.WriteBfar(cpu_state.extended.bfar); in DumpCpuStateProto()
[all …]
Dcpu_state.cc111 void AnalyzeException(const pw_cpu_exception_State& cpu_state) { in AnalyzeException() argument
116 if (cpu_state.extended.hfsr & kHfsrForcedMask) { in AnalyzeException()
120 if (cpu_state.extended.cfsr & kCfsrStkofMask) { in AnalyzeException()
121 if (cpu_state.extended.exc_return & kExcReturnStackMask) { in AnalyzeException()
127 if (cpu_state.extended.cfsr & kCfsrMemFaultMask) { in AnalyzeException()
128 if (cpu_state.extended.cfsr & kCfsrMmarvalidMask) { in AnalyzeException()
131 cpu_state.extended.mmfar); in AnalyzeException()
136 if (cpu_state.extended.cfsr & kCfsrBusFaultMask) { in AnalyzeException()
137 if (cpu_state.extended.cfsr & kCfsrBfarvalidMask) { in AnalyzeException()
139 cpu_state.extended.bfar); in AnalyzeException()
[all …]
DBUILD34 hdrs = [ "public/pw_cpu_exception_cortex_m/cpu_state.h" ],
36 "cpu_state.cc",
56 srcs = ["pw_cpu_exception_cortex_m_protos/cpu_state.proto"],
DBUILD.gn36 public = [ "public/pw_cpu_exception_cortex_m/cpu_state.h" ]
38 "cpu_state.cc",
56 sources = [ "pw_cpu_exception_cortex_m_protos/cpu_state.proto" ]
/external/pigweed/pw_cpu_exception/public/pw_cpu_exception/
Dsupport.h34 const pw_cpu_exception_State& cpu_state);
39 void ToString(const pw_cpu_exception_State& cpu_state,
43 void LogCpuState(const pw_cpu_exception_State& cpu_state);
Dhandler.h53 void pw_cpu_exception_HandleException(void* cpu_state);
/external/arm-trusted-firmware/drivers/arm/css/scp/
Dcss_pm_scpi.c77 unsigned int cpu_state, cluster_state; in css_scp_get_power_state() local
87 rc = scpi_get_css_power_state(mpidr, &cpu_state, &cluster_state); in css_scp_get_power_state()
107 return CSS_CPU_PWR_STATE(cpu_state, element) == in css_scp_get_power_state()
/external/pigweed/pw_cpu_exception/
Dstart_exception_handler.cc32 extern "C" void pw_cpu_exception_HandleException(void* cpu_state) { in pw_cpu_exception_HandleException() argument
33 exception_handler(reinterpret_cast<pw_cpu_exception_State*>(cpu_state)); in pw_cpu_exception_HandleException()
/external/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_pm.c48 static void tegra_cpu_standby(plat_local_state_t cpu_state) in tegra_cpu_standby() argument
52 (void)cpu_state; in tegra_cpu_standby()
55 if (tegra_soc_cpu_standby(cpu_state) != PSCI_E_SUCCESS) in tegra_cpu_standby()
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
Dcpuhotplug_hotplug.sh222 for cpu_state in $1; do
223 cpu=`echo $cpu_state | cut -d: -f 1`
224 state=`echo $cpu_state | cut -d: -f 2`
/external/arm-trusted-firmware/plat/socionext/synquacer/
Dsq_psci.c156 void sq_cpu_standby(plat_local_state_t cpu_state) in sq_cpu_standby() argument
160 assert(cpu_state == SQ_LOCAL_STATE_RET); in sq_cpu_standby()
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t132/
Dplat_psci_handlers.c140 int32_t tegra_soc_cpu_standby(plat_local_state_t cpu_state) in tegra_soc_cpu_standby() argument
142 (void)cpu_state; in tegra_soc_cpu_standby()
/external/arm-trusted-firmware/plat/qemu/common/
Dqemu_pm.c122 static void qemu_cpu_standby(plat_local_state_t cpu_state) in qemu_cpu_standby() argument
125 assert(cpu_state == PLAT_LOCAL_STATE_RET); in qemu_cpu_standby()
/external/arm-trusted-firmware/plat/qemu/qemu_sbsa/
Dsbsa_pm.c116 static void qemu_cpu_standby(plat_local_state_t cpu_state) in qemu_cpu_standby() argument
119 assert(cpu_state == PLAT_LOCAL_STATE_RET); in qemu_cpu_standby()
/external/arm-trusted-firmware/plat/intel/soc/common/
Dsocfpga_psci.c23 void socfpga_cpu_standby(plat_local_state_t cpu_state) in socfpga_cpu_standby() argument
29 VERBOSE("%s: cpu_state: 0x%x\n", __func__, cpu_state); in socfpga_cpu_standby()
/external/arm-trusted-firmware/plat/socionext/synquacer/drivers/scpi/
Dsq_scpi.c116 void scpi_set_sq_power_state(unsigned int mpidr, scpi_power_state_t cpu_state, in scpi_set_sq_power_state() argument
125 state |= cpu_state << 8; in scpi_set_sq_power_state()
/external/arm-trusted-firmware/plat/xilinx/zynqmp/
Dplat_psci.c24 void zynqmp_cpu_standby(plat_local_state_t cpu_state) in zynqmp_cpu_standby() argument
26 VERBOSE("%s: cpu_state: 0x%x\n", __func__, cpu_state); in zynqmp_cpu_standby()
/external/pigweed/pw_cpu_exception_cortex_m/py/pw_cpu_exception_cortex_m/
Dexception_analyzer.py23 def __init__(self, cpu_state): argument
24 self._cpu_state = cpu_state
/external/arm-trusted-firmware/plat/brcm/common/
Dbrcm_scpi.c125 scpi_power_state_t cpu_state, scpi_power_state_t cluster_state, in scpi_set_brcm_power_state() argument
144 state |= cpu_state << 8; in scpi_set_brcm_power_state()
/external/arm-trusted-firmware/plat/arm/css/common/
Dcss_pm.c238 void css_cpu_standby(plat_local_state_t cpu_state) in css_cpu_standby() argument
242 assert(cpu_state == ARM_LOCAL_STATE_RET); in css_cpu_standby()
/external/arm-trusted-firmware/plat/rpi/common/
Drpi3_pm.c107 static void rpi3_cpu_standby(plat_local_state_t cpu_state) in rpi3_cpu_standby() argument
109 assert(cpu_state == PLAT_LOCAL_STATE_RET); in rpi3_cpu_standby()
/external/arm-trusted-firmware/drivers/arm/css/scpi/
Dcss_scpi.c130 scpi_power_state_t cpu_state, scpi_power_state_t cluster_state, in scpi_set_css_power_state() argument
149 state |= cpu_state << 8; in scpi_set_css_power_state()
/external/pigweed/pw_cpu_exception_cortex_m/public/pw_cpu_exception_cortex_m/
Dproto_dump.h31 const pw_cpu_exception_State& cpu_state);
/external/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_pm.c145 static void fvp_cpu_standby(plat_local_state_t cpu_state) in fvp_cpu_standby() argument
148 assert(cpu_state == ARM_LOCAL_STATE_RET); in fvp_cpu_standby()

123