/external/pigweed/pw_cpu_exception_cortex_m/ |
D | entry.cc | 44 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 …]
|
D | proto_dump.cc | 22 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 …]
|
D | cpu_state.cc | 111 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 …]
|
D | BUILD | 34 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"],
|
D | BUILD.gn | 36 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/ |
D | support.h | 34 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);
|
D | handler.h | 53 void pw_cpu_exception_HandleException(void* cpu_state);
|
/external/arm-trusted-firmware/drivers/arm/css/scp/ |
D | css_pm_scpi.c | 77 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/ |
D | start_exception_handler.cc | 32 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/ |
D | tegra_pm.c | 48 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/ |
D | cpuhotplug_hotplug.sh | 222 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/ |
D | sq_psci.c | 156 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/ |
D | plat_psci_handlers.c | 140 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/ |
D | qemu_pm.c | 122 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/ |
D | sbsa_pm.c | 116 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/ |
D | socfpga_psci.c | 23 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/ |
D | sq_scpi.c | 116 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/ |
D | plat_psci.c | 24 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/ |
D | exception_analyzer.py | 23 def __init__(self, cpu_state): argument 24 self._cpu_state = cpu_state
|
/external/arm-trusted-firmware/plat/brcm/common/ |
D | brcm_scpi.c | 125 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/ |
D | css_pm.c | 238 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/ |
D | rpi3_pm.c | 107 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/ |
D | css_scpi.c | 130 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/ |
D | proto_dump.h | 31 const pw_cpu_exception_State& cpu_state);
|
/external/arm-trusted-firmware/plat/arm/board/fvp/ |
D | fvp_pm.c | 145 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()
|