/arm-trusted-firmware-2.8.0/plat/mediatek/mt8186/drivers/spm/ |
A D | mt_spm_pmic_wrap.c | 28 enum pmic_wrap_phase_id phase; member 115 if (phase < NR_PMIC_WRAP_PHASE) { in mt_spm_pmic_wrap_set_phase() 120 if (pw->phase != phase) { in mt_spm_pmic_wrap_set_phase() 121 pw->phase = phase; in mt_spm_pmic_wrap_set_phase() 127 data = pw->set[phase]._[idx].cmd_wdata; in mt_spm_pmic_wrap_set_phase() 139 if (phase >= NR_PMIC_WRAP_PHASE) { in mt_spm_pmic_wrap_set_cmd() 143 if (pw == NULL || idx >= pw->set[phase].nr_idx) { in mt_spm_pmic_wrap_set_cmd() 147 pw->set[phase]._[idx].cmd_wdata = cmd_wdata; in mt_spm_pmic_wrap_set_cmd() 150 if (pw->phase == phase) { in mt_spm_pmic_wrap_set_cmd() 160 if ((phase < NR_PMIC_WRAP_PHASE) && in mt_spm_pmic_wrap_get_cmd() [all …]
|
A D | mt_spm_pmic_wrap.h | 33 extern void mt_spm_pmic_wrap_set_phase(enum pmic_wrap_phase_id phase); 34 extern void mt_spm_pmic_wrap_set_cmd(enum pmic_wrap_phase_id phase, 36 extern uint64_t mt_spm_pmic_wrap_get_cmd(enum pmic_wrap_phase_id phase,
|
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8195/drivers/spm/ |
A D | mt_spm_pmic_wrap.c | 41 enum pmic_wrap_phase_id phase; member 104 if (phase >= NR_PMIC_WRAP_PHASE) { in mt_spm_pmic_wrap_set_phase() 108 if (pw.phase == phase) { in mt_spm_pmic_wrap_set_phase() 116 pw.phase = phase; in mt_spm_pmic_wrap_set_phase() 121 data = pw.set[phase]._[idx].cmd_wdata; in mt_spm_pmic_wrap_set_phase() 131 if (phase >= NR_PMIC_WRAP_PHASE) { in mt_spm_pmic_wrap_set_cmd() 135 if (idx >= pw.set[phase].nr_idx) { in mt_spm_pmic_wrap_set_cmd() 142 if (pw.phase == phase) { in mt_spm_pmic_wrap_set_cmd() 150 if (phase >= NR_PMIC_WRAP_PHASE) { in mt_spm_pmic_wrap_get_cmd() 154 if (idx >= pw.set[phase].nr_idx) { in mt_spm_pmic_wrap_get_cmd() [all …]
|
A D | mt_spm_pmic_wrap.h | 40 extern void mt_spm_pmic_wrap_set_phase(enum pmic_wrap_phase_id phase); 41 extern void mt_spm_pmic_wrap_set_cmd(enum pmic_wrap_phase_id phase, 43 extern uint64_t mt_spm_pmic_wrap_get_cmd(enum pmic_wrap_phase_id phase,
|
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8192/drivers/spm/ |
A D | mt_spm_pmic_wrap.c | 41 enum pmic_wrap_phase_id phase; member 104 if (phase >= NR_PMIC_WRAP_PHASE) { in mt_spm_pmic_wrap_set_phase() 108 if (pw.phase == phase) { in mt_spm_pmic_wrap_set_phase() 116 pw.phase = phase; in mt_spm_pmic_wrap_set_phase() 121 data = pw.set[phase]._[idx].cmd_wdata; in mt_spm_pmic_wrap_set_phase() 131 if (phase >= NR_PMIC_WRAP_PHASE) { in mt_spm_pmic_wrap_set_cmd() 135 if (idx >= pw.set[phase].nr_idx) { in mt_spm_pmic_wrap_set_cmd() 142 if (pw.phase == phase) { in mt_spm_pmic_wrap_set_cmd() 150 if (phase >= NR_PMIC_WRAP_PHASE) { in mt_spm_pmic_wrap_get_cmd() 154 if (idx >= pw.set[phase].nr_idx) { in mt_spm_pmic_wrap_get_cmd() [all …]
|
A D | mt_spm_pmic_wrap.h | 40 extern void mt_spm_pmic_wrap_set_phase(enum pmic_wrap_phase_id phase); 41 extern void mt_spm_pmic_wrap_set_cmd(enum pmic_wrap_phase_id phase, 43 extern uint64_t mt_spm_pmic_wrap_get_cmd(enum pmic_wrap_phase_id phase,
|
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8183/drivers/spm/ |
A D | spm_pmic_wrap.c | 44 enum pmic_wrap_phase_id phase; member 56 .phase = NR_PMIC_WRAP_PHASE, 119 if (phase >= NR_PMIC_WRAP_PHASE) in mt_spm_pmic_wrap_set_phase() 122 if (pw.phase == phase) in mt_spm_pmic_wrap_set_phase() 128 pw.phase = phase; in mt_spm_pmic_wrap_set_phase() 144 if (phase >= NR_PMIC_WRAP_PHASE) in mt_spm_pmic_wrap_set_cmd() 147 if (idx >= pw.set[phase].nr_idx) in mt_spm_pmic_wrap_set_cmd() 154 if (pw.phase == phase) { in mt_spm_pmic_wrap_set_cmd() 162 if (phase >= NR_PMIC_WRAP_PHASE) in mt_spm_pmic_wrap_get_cmd() 165 if (idx >= pw.set[phase].nr_idx) in mt_spm_pmic_wrap_get_cmd() [all …]
|
A D | spm_pmic_wrap.h | 45 void mt_spm_pmic_wrap_set_phase(enum pmic_wrap_phase_id phase); 46 void mt_spm_pmic_wrap_set_cmd(enum pmic_wrap_phase_id phase, 48 uint64_t mt_spm_pmic_wrap_get_cmd(enum pmic_wrap_phase_id phase, uint32_t idx);
|
/arm-trusted-firmware-2.8.0/plat/st/common/ |
A D | stm32cubeprogrammer_usb.c | 20 uint8_t phase; member 36 if (dfu->phase != PHASE_RESET) { \ 40 dfu->phase = PHASE_RESET; \ 65 dfu->buffer[0] = dfu->phase; in dfu_callback_upload() 75 if (dfu->phase == PHASE_FLASHLAYOUT && in dfu_callback_upload() 80 if (dfu->phase == PHASE_RESET) { in dfu_callback_upload() 132 dfu->phase, alt, dfu->address); in dfu_callback_manifestation() 137 dfu->phase, alt, dfu->address); in dfu_callback_manifestation() 139 switch (dfu->phase) { in dfu_callback_manifestation() 148 dfu->phase = PHASE_FLASHLAYOUT; in dfu_callback_manifestation() [all …]
|
A D | stm32cubeprogrammer_uart.c | 60 uint8_t phase; member 69 if (handle.phase != PHASE_RESET) { \ 71 handle.phase = PHASE_RESET; \ 230 if (handle.phase == PHASE_RESET) { in uart_send_phase() 239 ret = uart_write_8(handle.phase); in uart_send_phase() 387 start_address, handle.phase); in uart_start_cmd() 393 buffer, handle.phase); in uart_start_cmd() 407 handle.phase = id; in uart_read() 450 if ((ret == 0) && (handle.phase == PHASE_RESET)) { in uart_read() 462 if ((ret == 0) && (handle.phase == id)) { in uart_read() [all …]
|
/arm-trusted-firmware-2.8.0/docs/design_documents/ |
A D | cmake_framework.rst | 18 document is the first phase only. 108 In the provisioning phase, first we have to obtain the necessary resources, i.e. 112 In the development phase first we run CMake, which will generate the buildsystem 118 Usually during development only the steps in this second phase have to be 119 repeated, while the provisioning phase needs to be done only once (or rarely).
|
/arm-trusted-firmware-2.8.0/docs/components/ |
A D | rmm-el3-comms-spec.rst | 117 utilizing this buffer during the boot phase, prior to return back to EL3 via 210 services during the boot phase as well. The EL3 runtime service handling must
|
/arm-trusted-firmware-2.8.0/docs/design/ |
A D | interrupt-framework-design.rst | 521 service at runtime during its initialisation phase. 537 service during the registration phase. The SPD service would also need to 541 registration phase if it is not known to the SPD service at build time. 565 registration phase. 915 time or during the registration phase. Before handling the interrupt, the SP
|
/arm-trusted-firmware-2.8.0/docs/getting_started/ |
A D | build-options.rst | 491 validating them either at boot phase or at runtime based on the value 517 as part of phase-1 we are supporting the values 0,1. Value 2 is currently not 518 supported and is planned to be handled explicilty in phase-2 implementation. 523 properly at an early phase. 1116 post-BL2 phase of TF-A. This can be done by rebuilding BL1 with the
|