| /arm-trusted-firmware/bl31/ |
| H A D | interrupt_mgmt.c | 17 * registered interrupt handlers for each interrupt type. 25 * 'flags' : Bit[0], Routing model for this interrupt type when execution is 30 * Bit[1], Routing model for this interrupt type when execution is 46 * This function validates the interrupt type. 48 static int32_t validate_interrupt_type(uint32_t type) in validate_interrupt_type() argument 50 if (plat_ic_has_interrupt_type(type)) { in validate_interrupt_type() 58 * This function validates the routing model for this type of interrupt 60 static int32_t validate_routing_model(uint32_t type, uint32_t flags) in validate_routing_model() argument 64 if (type == INTR_TYPE_S_EL1) in validate_routing_model() 67 if (type in validate_routing_model() 98 set_scr_el3_from_rm(uint32_t type,uint32_t interrupt_type_flags,uint32_t security_state) set_scr_el3_from_rm() argument 123 set_routing_model(uint32_t type,uint32_t flags) set_routing_model() argument 149 disable_intr_rm_local(uint32_t type,uint32_t security_state) disable_intr_rm_local() argument 167 enable_intr_rm_local(uint32_t type,uint32_t security_state) enable_intr_rm_local() argument 187 register_interrupt_type_handler(uint32_t type,interrupt_type_handler_t handler,uint32_t flags) register_interrupt_type_handler() argument 220 get_interrupt_type_handler(uint32_t type) get_interrupt_type_handler() argument [all...] |
| /arm-trusted-firmware/tools/cert_create/src/tbbr/ |
| H A D | tbb_ext.c | 30 .type = EXT_TYPE_NVCOUNTER, 40 .type = EXT_TYPE_NVCOUNTER, 50 .type = EXT_TYPE_HASH 59 .type = EXT_TYPE_HASH, 69 .type = EXT_TYPE_HASH, 79 .type = EXT_TYPE_HASH, 87 .type = EXT_TYPE_PKEY, 95 .type = EXT_TYPE_PKEY, 103 .type = EXT_TYPE_PKEY, 113 .type [all...] |
| /arm-trusted-firmware/plat/mediatek/common/lpm/ |
| H A D | mt_lp_api.c | 9 int mt_audio_update(int type) in mt_audio_update() argument 13 switch (type) { in mt_audio_update() 16 val = (type == AUDIO_AFE_ENTER) ? 1 : 0; in mt_audio_update() 21 val = (type == AUDIO_DSP_ENTER) ? 1 : 0; in mt_audio_update() 32 int mtk_usb_update(int type) in mtk_usb_update() argument 36 switch (type) { in mtk_usb_update() 39 val = (type == LPM_USB_ENTER) ? 1 : 0; in mtk_usb_update()
|
| /arm-trusted-firmware/include/drivers/brcm/ |
| H A D | chimp_nv_defs.h | 120 u16_t type; member 121 /* Instance of this Directory Entry type (0-based) */ 125 * secondary instances of a type:ordinal combinations 187 * When adding a new directory type, it would be appreciated 192 * providing a verbose description of the directory type. 328 #define BNX_DIR_TYPE_IS_APE_BIN_FMT(type)\ argument 329 ((type) == BNX_DIR_TYPE_CHIMP_PATCH \ 330 || (type) == BNX_DIR_TYPE_BOOTCODE \ 331 || (type) == BNX_DIR_TYPE_BOOTCODE_2 \ 332 || (type) 345 BNX_DIR_TYPE_IS_OTHER_EXEC(type) global() argument 358 BNX_DIR_TYPE_IS_EXECUTABLE(type) global() argument [all...] |
| /arm-trusted-firmware/tools/cert_create/src/cca/ |
| H A D | cot.c | 149 .type = EXT_TYPE_NVCOUNTER, 160 .type = EXT_TYPE_NVCOUNTER, 171 .type = EXT_TYPE_HASH 181 .type = EXT_TYPE_HASH, 192 .type = EXT_TYPE_HASH, 203 .type = EXT_TYPE_HASH, 212 .type = EXT_TYPE_PKEY, 221 .type = EXT_TYPE_PKEY, 232 .type = EXT_TYPE_HASH 242 .type [all...] |
| /arm-trusted-firmware/plat/mediatek/drivers/spm/mt8188/constraints/ |
| H A D | mt_spm_rc_internal.h | 29 int spm_update_rc_cpu_buck_ldo(int state_id, int type, const void *val); 33 int spm_get_status_rc_cpu_buck_ldo(unsigned int type, void *priv); 37 int spm_update_rc_dram(int state_id, int type, const void *val); 41 int spm_get_status_rc_dram(unsigned int type, void *priv); 45 int spm_update_rc_syspll(int state_id, int type, const void *val); 49 int spm_get_status_rc_syspll(unsigned int type, void *priv); 53 int spm_update_rc_bus26m(int state_id, int type, const void *val); 57 int spm_get_status_rc_bus26m(unsigned int type, void *priv);
|
| /arm-trusted-firmware/tools/nxp/cert_create_helper/src/ |
| H A D | pdef_tbb_ext.c | 31 .type = EXT_TYPE_PKEY, 41 .type = EXT_TYPE_HASH 50 .type = EXT_TYPE_HASH 59 .type = EXT_TYPE_HASH 68 .type = EXT_TYPE_HASH 77 .type = EXT_TYPE_HASH 86 .type = EXT_TYPE_HASH 95 .type = EXT_TYPE_HASH 104 .type = EXT_TYPE_HASH
|
| /arm-trusted-firmware/tools/cert_create/src/dualroot/ |
| H A D | cot.c | 222 .type = EXT_TYPE_NVCOUNTER, 233 .type = EXT_TYPE_HASH 243 .type = EXT_TYPE_HASH, 254 .type = EXT_TYPE_HASH, 265 .type = EXT_TYPE_HASH, 274 .type = EXT_TYPE_PKEY, 283 .type = EXT_TYPE_PKEY, 294 .type = EXT_TYPE_HASH 302 .type = EXT_TYPE_PKEY, 313 .type [all...] |
| /arm-trusted-firmware/services/std_svc/drtm/ |
| H A D | drtm_dma_prot.c | 28 * | request.type == NONE | | request.type != NONE | 36 .type = PROTECT_NONE, 39 /* Version-independent type. */ 106 ERROR("DRTM: invalid launch due to unsupported DMA protection type\n"); in drtm_dma_prot_check_args() 117 if (active_prot.type != PROTECT_NONE) { in drtm_dma_prot_engage() 127 ERROR("%s(): unimplemented DMA protection type\n", __func__); in drtm_dma_prot_engage() 170 active_prot.type = a_dma_prot_type; in drtm_dma_prot_engage() 185 if (active_prot.type == PROTECT_NONE) { in drtm_dma_prot_disengage() 188 } else if (active_prot.type ! in drtm_dma_prot_disengage() [all...] |
| H A D | drtm_dma_prot.h | 27 enum dma_prot_type type; member 30 #define DRTM_MEM_REGION_PAGES_AND_TYPE(pages, type) \ argument 32 | (((uint64_t)(type) & 0x7) << 52)) 34 #define PAGES_AND_TYPE(pages, type) \ argument 35 .region_size_type = DRTM_MEM_REGION_PAGES_AND_TYPE(pages, type) 37 /* Opaque / encapsulated type. */
|
| /arm-trusted-firmware/plat/common/ |
| H A D | plat_gicv3.c | 65 * This function returns the type of the highest priority pending interrupt 68 * the id of the pending interrupt. The type of interrupt depends upon the 73 * type. 79 uint32_t type; in plat_ic_get_pending_interrupt_type() local 86 type = INTR_TYPE_S_EL1; in plat_ic_get_pending_interrupt_type() 89 type = INTR_TYPE_NS; in plat_ic_get_pending_interrupt_type() 92 type = INTR_TYPE_INVAL; in plat_ic_get_pending_interrupt_type() 95 type = INTR_TYPE_EL3; in plat_ic_get_pending_interrupt_type() 99 return type; in plat_ic_get_pending_interrupt_type() 114 * This function returns the type o 156 plat_interrupt_type_to_line(uint32_t type,uint32_t security_state) plat_interrupt_type_to_line() argument 238 plat_ic_has_interrupt_type(unsigned int type) plat_ic_has_interrupt_type() argument 248 plat_ic_set_interrupt_type(unsigned int id,unsigned int type) plat_ic_set_interrupt_type() argument [all...] |
| H A D | plat_gicv2.c | 58 * This function returns the type of the highest priority pending interrupt 61 * the pending interrupt. The type of interrupt depends upon the id value 66 * type. 100 * This function returns the type of the interrupt `id`, depending on how 105 unsigned int type; in plat_ic_get_interrupt_type() local 107 type = gicv2_get_interrupt_group(id); in plat_ic_get_interrupt_type() 110 return (type == GICV2_INTR_GROUP1) ? INTR_TYPE_NS : in plat_ic_get_interrupt_type() 130 * The interrupt controller knows which pin/line it uses to signal a type of 132 * for a type of interrupt and security state, which line should be used in the 136 uint32_t plat_interrupt_type_to_line(uint32_t type, in plat_interrupt_type_to_line() argument 196 plat_ic_has_interrupt_type(unsigned int type) plat_ic_has_interrupt_type() argument 217 plat_ic_set_interrupt_type(unsigned int id,unsigned int type) plat_ic_set_interrupt_type() argument [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8173/include/ |
| H A D | mt8173_def.h | 118 #define mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 119 (((lvl0_state) << PSTATE_ID_SHIFT) | ((type) << PSTATE_TYPE_SHIFT)) 121 #define mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type) \ argument 124 ((type) << PSTATE_TYPE_SHIFT)) 129 #define mtk_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type) \ argument 131 mtk_make_pwrstate_lvl0(lvl0_state, pwr_lvl, type)) 135 lvl2_state, lvl1_state, lvl0_state, pwr_lvl, type) \ argument 137 mtk_make_pwrstate_lvl1(lvl1_state, lvl0_state, pwr_lvl, type))
|
| /arm-trusted-firmware/drivers/nxp/auth/tbbr/ |
| H A D | tbbr_cot.c | 64 * Parameter type descriptors 141 .type = AUTH_METHOD_SIG, 150 .type = AUTH_METHOD_NV_CTR, 184 .type = AUTH_METHOD_SIG, 193 .type = AUTH_METHOD_NV_CTR, 216 .type = AUTH_METHOD_SIG, 225 .type = AUTH_METHOD_NV_CTR, 255 .type = AUTH_METHOD_HASH, 270 .type = AUTH_METHOD_HASH, 287 .type [all...] |
| /arm-trusted-firmware/plat/arm/board/juno/ |
| H A D | juno_tbbr_cot_bl2.c | 106 .type = AUTH_METHOD_SIG, 115 .type = AUTH_METHOD_NV_CTR, 148 .type = AUTH_METHOD_SIG, 157 .type = AUTH_METHOD_NV_CTR, 180 .type = AUTH_METHOD_SIG, 189 .type = AUTH_METHOD_NV_CTR, 212 .type = AUTH_METHOD_HASH, 229 .type = AUTH_METHOD_SIG, 238 .type = AUTH_METHOD_NV_CTR, 261 .type [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8192/drivers/spm/notifier/ |
| H A D | mt_spm_notifier.h | 15 int mt_spm_sspm_notify(int type, unsigned int lp_mode); 17 static inline int mt_spm_sspm_notify_u32(int type, unsigned int lp_mode) in mt_spm_sspm_notify_u32() argument 19 return mt_spm_sspm_notify(type, lp_mode); in mt_spm_sspm_notify_u32()
|
| /arm-trusted-firmware/plat/mediatek/mt8195/drivers/spm/notifier/ |
| H A D | mt_spm_notifier.h | 15 int mt_spm_sspm_notify(int type, unsigned int lp_mode); 17 static inline int mt_spm_sspm_notify_u32(int type, unsigned int lp_mode) in mt_spm_sspm_notify_u32() argument 19 return mt_spm_sspm_notify(type, lp_mode); in mt_spm_sspm_notify_u32()
|
| /arm-trusted-firmware/drivers/auth/dualroot/ |
| H A D | cot.c | 46 * Parameter type descriptors. 137 .type = AUTH_METHOD_SIG, 146 .type = AUTH_METHOD_NV_CTR, 192 .type = AUTH_METHOD_HASH, 209 .type = AUTH_METHOD_HASH, 226 .type = AUTH_METHOD_HASH, 241 .type = AUTH_METHOD_HASH, 260 .type = AUTH_METHOD_SIG, 269 .type = AUTH_METHOD_NV_CTR, 294 .type [all...] |
| /arm-trusted-firmware/drivers/auth/tbbr/ |
| H A D | tbbr_cot_bl2.c | 96 .type = AUTH_METHOD_SIG, 105 .type = AUTH_METHOD_NV_CTR, 138 .type = AUTH_METHOD_SIG, 147 .type = AUTH_METHOD_NV_CTR, 170 .type = AUTH_METHOD_SIG, 179 .type = AUTH_METHOD_NV_CTR, 202 .type = AUTH_METHOD_HASH, 219 .type = AUTH_METHOD_SIG, 228 .type = AUTH_METHOD_NV_CTR, 251 .type [all...] |
| /arm-trusted-firmware/plat/mediatek/drivers/spm/version/notifier/inc/ |
| H A D | mt_spm_notifier.h | 17 static inline int mt_spm_sspm_notify_u32(int type, unsigned int val) in mt_spm_sspm_notify_u32() argument 19 (void)type; in mt_spm_sspm_notify_u32() 24 int mt_spm_sspm_notify_u32(int type, unsigned int val);
|
| /arm-trusted-firmware/drivers/nxp/auth/csf_hdr_parser/ |
| H A D | cot.c | 39 .type = AUTH_METHOD_SIG, 55 .type = AUTH_METHOD_SIG, 71 .type = AUTH_METHOD_SIG, 87 .type = AUTH_METHOD_SIG, 104 .type = AUTH_METHOD_SIG, 120 .type = AUTH_METHOD_SIG, 138 .type = AUTH_METHOD_SIG, 154 .type = AUTH_METHOD_SIG, 170 .type = AUTH_METHOD_SIG, 186 .type [all...] |
| /arm-trusted-firmware/plat/mediatek/mt8186/drivers/spm/notifier/ |
| H A D | mt_spm_notifier.h | 16 int mt_spm_sspm_notify(int type, unsigned int lp_mode); 18 static inline int mt_spm_sspm_notify_u32(int type, unsigned int lp_mode) in mt_spm_sspm_notify_u32() argument 20 return mt_spm_sspm_notify(type, lp_mode); in mt_spm_sspm_notify_u32()
|
| /arm-trusted-firmware/drivers/renesas/rzg/board/ |
| H A D | board.c | 50 void rzg_get_board_type(uint32_t *type, uint32_t *rev) in rzg_get_board_type() argument 68 *type = ((uint32_t) board_id & BOARD_CODE_MASK) >> BOARD_CODE_SHIFT; in rzg_get_board_type() 70 if (*type >= ARRAY_SIZE(board_tbl)) { in rzg_get_board_type() 81 *rev = board_tbl[*type][(uint8_t)(board_id & BOARD_REV_MASK)]; in rzg_get_board_type() 85 *rev = board_tbl[*type][(uint8_t)(board_id & BOARD_REV_MASK)]; in rzg_get_board_type() 89 *rev = board_tbl[*type][(uint8_t)(board_id & BOARD_REV_MASK)]; in rzg_get_board_type()
|
| /arm-trusted-firmware/docs/components/ |
| H A D | ffa-manifest-binding.rst | 11 - value type: <string> 21 - value type: <u32> 31 - value type: <prop-encoded-array> 36 - value type: <u32> 40 - value type: <u32> 44 - value type: <string> 48 - value type: <u32> 59 - value type: <u32> 67 - value type: <u32> 74 - value type [all...] |
| /arm-trusted-firmware/drivers/auth/cca/ |
| H A D | cot.c | 43 * Parameter type descriptors. 121 .type = AUTH_METHOD_SIG, 130 .type = AUTH_METHOD_NV_CTR, 197 .type = AUTH_METHOD_HASH, 212 .type = AUTH_METHOD_HASH, 227 .type = AUTH_METHOD_HASH, 245 .type = AUTH_METHOD_HASH, 261 .type = AUTH_METHOD_HASH, 277 .type = AUTH_METHOD_HASH, 293 .type [all...] |