Searched refs:afflvl (Results 1 – 7 of 7) sorted by relevance
/device/linaro/bootloader/arm-trusted-firmware/plat/juno/ |
D | plat_pm.c | 65 static int32_t juno_do_plat_actions(uint32_t afflvl, uint32_t state) in juno_do_plat_actions() argument 69 assert(afflvl <= MPIDR_AFFLVL1); in juno_do_plat_actions() 81 if (afflvl != max_phys_off_afflvl) in juno_do_plat_actions() 118 uint32_t afflvl, in juno_affinst_on() argument 125 if (afflvl != MPIDR_AFFLVL0) in juno_affinst_on() 146 void juno_affinst_on_finish(uint32_t afflvl, uint32_t state) in juno_affinst_on_finish() argument 151 if (juno_do_plat_actions(afflvl, state) == -EAGAIN) in juno_affinst_on_finish() 161 if (afflvl != MPIDR_AFFLVL0) in juno_affinst_on_finish() 181 static void juno_power_down_common(uint32_t afflvl) in juno_power_down_common() argument 189 if (afflvl > MPIDR_AFFLVL0) { in juno_power_down_common() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/fvp/ |
D | fvp_pm.c | 98 static int32_t fvp_do_plat_actions(unsigned int afflvl, unsigned int state) in fvp_do_plat_actions() argument 102 assert(afflvl <= MPIDR_AFFLVL1); in fvp_do_plat_actions() 113 if (afflvl != max_phys_off_afflvl) in fvp_do_plat_actions() 138 unsigned int afflvl, in fvp_affinst_on() argument 148 if (afflvl != MPIDR_AFFLVL0) in fvp_affinst_on() 179 void fvp_affinst_off(unsigned int afflvl, in fvp_affinst_off() argument 183 if (fvp_do_plat_actions(afflvl, state) == -EAGAIN) in fvp_affinst_off() 193 if (afflvl != MPIDR_AFFLVL0) in fvp_affinst_off() 210 unsigned int afflvl, in fvp_affinst_suspend() argument 216 if (fvp_do_plat_actions(afflvl, state) == -EAGAIN) in fvp_affinst_suspend() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/ |
D | plat_pm.c | 54 static int32_t hikey_do_plat_actions(uint32_t afflvl, uint32_t state) in hikey_do_plat_actions() argument 56 assert(afflvl <= MPIDR_AFFLVL1); in hikey_do_plat_actions() 66 uint32_t afflvl, in hikey_affinst_on() argument 74 VERBOSE("#%s, mpidr:%llx, afflvl:%x, state:%x\n", __func__, mpidr, afflvl, state); in hikey_affinst_on() 80 switch (afflvl) { in hikey_affinst_on() 95 static void hikey_affinst_off(uint32_t afflvl, uint32_t state) in hikey_affinst_off() argument 103 if (hikey_do_plat_actions(afflvl, state) == -EAGAIN) in hikey_affinst_off() 106 switch (afflvl) { in hikey_affinst_off() 125 uint32_t afflvl, in hikey_affinst_suspend() argument 134 if (hikey_do_plat_actions(afflvl, state) == -EAGAIN) in hikey_affinst_suspend() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/services/std_svc/psci/ |
D | psci_setup.c | 317 int afflvl, affmap_idx, max_afflvl; in psci_setup() local 333 for (afflvl = max_afflvl; afflvl >= MPIDR_AFFLVL0; afflvl--) { in psci_setup() 337 afflvl); in psci_setup() 355 for (afflvl = MPIDR_AFFLVL0; afflvl < max_afflvl; afflvl++) { in psci_setup() 356 psci_aff_limits[afflvl].min = in psci_setup() 357 psci_aff_limits[afflvl + 1].max + 1; in psci_setup() 368 for (afflvl = MPIDR_AFFLVL0; afflvl <= max_afflvl; afflvl++) { in psci_setup() 370 node = psci_get_aff_map_node(mpidr, afflvl); in psci_setup()
|
D | psci_common.c | 124 void psci_set_max_phys_off_afflvl(uint32_t afflvl) in psci_set_max_phys_off_afflvl() argument 126 set_cpu_data(psci_svc_cpu_data.max_phys_off_afflvl, afflvl); in psci_set_max_phys_off_afflvl() 163 int afflvl; in get_power_on_target_afflvl() local 188 afflvl = psci_get_suspend_afflvl(); in get_power_on_target_afflvl() 189 if (afflvl == PSCI_INVALID_DATA) in get_power_on_target_afflvl() 190 afflvl = get_max_afflvl(); in get_power_on_target_afflvl() 191 return afflvl; in get_power_on_target_afflvl()
|
D | psci_private.h | 142 void psci_set_max_phys_off_afflvl(uint32_t afflvl);
|
/device/linaro/bootloader/arm-trusted-firmware/include/bl31/services/ |
D | psci.h | 104 #define psci_make_powerstate(state_id, type, afflvl) \ argument 107 (((afflvl) & PSTATE_AFF_LVL_MASK) << PSTATE_AFF_LVL_SHIFT) 189 unsigned int afflvl, 191 void (*affinst_off)(unsigned int afflvl, unsigned int state); 193 unsigned int afflvl, 195 void (*affinst_on_finish)(unsigned int afflvl, unsigned int state); 196 void (*affinst_suspend_finish)(unsigned int afflvl,
|