| /rk3399_ARM-atf/bl31/ |
| H A D | interrupt_mgmt.c | 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() 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() 68 if (type == INTR_TYPE_NS) { in validate_routing_model() 72 if (type == INTR_TYPE_EL3) { in validate_routing_model() 101 static void set_scr_el3_from_rm(uint32_t type, in set_scr_el3_from_rm() argument 108 bit_pos = plat_interrupt_type_to_line(type, security_state); in set_scr_el3_from_rm() 109 intr_type_descs[type].scr_el3[security_state] = (u_register_t)flag << bit_pos; in set_scr_el3_from_rm() 127 int32_t set_routing_model(uint32_t type, uint32_t flags) in set_routing_model() argument [all …]
|
| /rk3399_ARM-atf/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, 60 .type = EXT_TYPE_HASH, 70 .type = EXT_TYPE_HASH, 80 .type = EXT_TYPE_HASH, 88 .type = EXT_TYPE_PKEY, 96 .type = EXT_TYPE_PKEY, 104 .type = EXT_TYPE_PKEY, 114 .type = EXT_TYPE_HASH [all …]
|
| /rk3399_ARM-atf/include/drivers/brcm/ |
| H A D | chimp_nv_defs.h | 120 u16_t type; member 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) == BNX_DIR_TYPE_APE_FW \ 333 || (type) == BNX_DIR_TYPE_APE_PATCH \ 334 || (type) == BNX_DIR_TYPE_TANG_FW \ 335 || (type) == BNX_DIR_TYPE_TANG_PATCH \ 336 || (type) == BNX_DIR_TYPE_KONG_FW \ [all …]
|
| /rk3399_ARM-atf/plat/mediatek/common/lpm_v2/ |
| H A D | mt_lp_api.c | 14 int mt_audio_update(int type) in mt_audio_update() argument 18 switch (type) { in mt_audio_update() 21 val = (type == AUDIO_AFE_ENTER) ? 1 : 0; in mt_audio_update() 27 val = (type == AUDIO_DSP_ENTER) ? 1 : 0; in mt_audio_update() 39 int mt_usb_update(int type) in mt_usb_update() argument 43 switch (type) { in mt_usb_update() 46 val = (type == LPM_USB_ENTER) ? 1 : 0; in mt_usb_update() 51 val = (type == USB_HEADSET_ENTER) ? 1 : 0; in mt_usb_update() 68 int mt_gpueb_hwctrl(int type, void *priv) in mt_gpueb_hwctrl() argument 72 switch (type) { in mt_gpueb_hwctrl() [all …]
|
| /rk3399_ARM-atf/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()
|
| /rk3399_ARM-atf/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 = EXT_TYPE_HASH, [all …]
|
| /rk3399_ARM-atf/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 = EXT_TYPE_HASH [all …]
|
| /rk3399_ARM-atf/docs/components/fconf/ |
| H A D | tb_fw_bindings.rst | 14 - value type: <string> 19 - value type: <string> 23 - value type: <string> 27 - value type: <string> 31 - value type: <string> 35 - value type: <string> 39 - value type: <string> 43 - value type: <string> 47 - value type: <string> 51 - value type: <string> [all …]
|
| /rk3399_ARM-atf/plat/nxp/soc-lx2160a/lx2162aqds/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
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8189/constraints/ |
| H A D | mt_spm_rc_internal.h | 34 int spm_update_rc_cpu_buck_ldo(int state_id, int type, const void *val); 38 int spm_get_status_rc_cpu_buck_ldo(unsigned int type, void *priv); 42 int spm_update_rc_syspll(int state_id, int type, const void *val); 46 int spm_get_status_rc_syspll(unsigned int type, void *priv); 50 int spm_update_rc_bus26m(int state_id, int type, const void *val); 54 int spm_get_status_rc_bus26m(unsigned int type, void *priv); 58 int spm_update_rc_vcore(int state_id, int type, const void *val); 61 int spm_get_status_rc_vcore(unsigned int type, void *priv);
|
| H A D | mt_spm_trace.h | 54 #define MT_SPM_SYSRAM_W(_s, type, val, _sz) \ argument 55 mt_spm_sysram_write(_s, type, val, _sz) 64 #define MT_SPM_SYSRAM_R(_s, type, val) mt_spm_sysram_read(_s, type, val) argument 159 int mt_spm_sysram_write(int section, int type, const void *val, 161 int mt_spm_sysram_read(int section, int type, void *val); 167 #define MT_SPM_TRACE_COMMON_U32_WR(type, val) argument 169 #define MT_SPM_TRACE_COMMON_U32_RD(type, val) argument 173 #define MT_SPM_TRACE_SUSPEND_U32_WR(type, val) argument 175 #define MT_SPM_TRACE_SUSPEND_U32_RD(type, val) argument 179 #define MT_SPM_TRACE_LP_U32_WR(type, val) argument [all …]
|
| H A D | mt_spm_rc_vcore.c | 98 int spm_update_rc_vcore(int state_id, int type, const void *val) in spm_update_rc_vcore() argument 103 if (type == PLAT_RC_UPDATE_CONDITION) { in spm_update_rc_vcore() 123 } else if (type == PLAT_RC_UPDATE_REMAIN_IRQS) { in spm_update_rc_vcore() 125 } else if (type == PLAT_RC_IS_FMAUDIO) { in spm_update_rc_vcore() 130 } else if (type == PLAT_RC_IS_ADSP) { in spm_update_rc_vcore() 135 } else if (type == PLAT_RC_IS_USB_HEADSET) { in spm_update_rc_vcore() 140 } else if (type == PLAT_RC_STATUS) { in spm_update_rc_vcore() 146 if (st->type == CONSTRAINT_UPDATE_COND_CHECK) { in spm_update_rc_vcore() 152 } else if ((st->type == CONSTRAINT_UPDATE_VALID) || in spm_update_rc_vcore() 153 (st->type == CONSTRAINT_RESIDNECY)) in spm_update_rc_vcore() [all …]
|
| H A D | mt_spm_rc_bus26m.c | 101 int spm_update_rc_bus26m(int state_id, int type, const void *val) in spm_update_rc_bus26m() argument 106 if (type == PLAT_RC_UPDATE_CONDITION) { in spm_update_rc_bus26m() 126 } else if (type == PLAT_RC_UPDATE_REMAIN_IRQS) { in spm_update_rc_bus26m() 128 } else if (type == PLAT_RC_IS_FMAUDIO) { in spm_update_rc_bus26m() 133 } else if (type == PLAT_RC_IS_ADSP) { in spm_update_rc_bus26m() 138 } else if (type == PLAT_RC_IS_USB_HEADSET) { in spm_update_rc_bus26m() 143 } else if (type == PLAT_RC_STATUS) { in spm_update_rc_bus26m() 150 if (st->type == CONSTRAINT_UPDATE_COND_CHECK) { in spm_update_rc_bus26m() 156 } else if ((st->type == CONSTRAINT_UPDATE_VALID) || in spm_update_rc_bus26m() 157 (st->type == CONSTRAINT_RESIDNECY)) { in spm_update_rc_bus26m() [all …]
|
| /rk3399_ARM-atf/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);
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8196/constraints/ |
| H A D | mt_spm_rc_internal.h | 34 int spm_update_rc_cpu_buck_ldo(int state_id, int type, 39 int spm_get_status_rc_cpu_buck_ldo(uint32_t type, void *priv); 43 int spm_update_rc_syspll(int state_id, int type, const void *val); 47 int spm_get_status_rc_syspll(uint32_t type, void *priv); 51 int spm_update_rc_bus26m(int state_id, int type, const void *val); 55 int spm_get_status_rc_bus26m(uint32_t type, void *priv); 59 int spm_update_rc_vcore(int state_id, int type, const void *val); 62 int spm_get_status_rc_vcore(uint32_t type, void *priv);
|
| H A D | mt_spm_trace.h | 54 #define MT_SPM_SYSRAM_W(_s, type, val, _sz) \ argument 55 mt_spm_sysram_write(_s, type, val, _sz) 62 #define MT_SPM_SYSRAM_R(_s, type, val) \ argument 63 mt_spm_sysram_read(_s, type, val) 124 int mt_spm_sysram_write(int section, int type, const void *val, 126 int mt_spm_sysram_read(int section, int type, void *val); 132 #define MT_SPM_TRACE_COMMON_U32_WR(type, val) argument 134 #define MT_SPM_TRACE_COMMON_U32_RD(type, val) argument 138 #define MT_SPM_TRACE_SUSPEND_U32_WR(type, val) argument 140 #define MT_SPM_TRACE_SUSPEND_U32_RD(type, val) argument [all …]
|
| H A D | mt_spm_rc_bus26m.c | 90 int spm_update_rc_bus26m(int state_id, int type, const void *val) in spm_update_rc_bus26m() argument 95 if (type == PLAT_RC_UPDATE_REMAIN_IRQS) { in spm_update_rc_bus26m() 97 } else if (type == PLAT_RC_IS_FMAUDIO) { in spm_update_rc_bus26m() 102 } else if (type == PLAT_RC_IS_ADSP) { in spm_update_rc_bus26m() 107 } else if (type == PLAT_RC_IS_USB_HEADSET) { in spm_update_rc_bus26m() 112 } else if (type == PLAT_RC_STATUS) { in spm_update_rc_bus26m() 120 if ((st->type == CONSTRAINT_UPDATE_VALID) || in spm_update_rc_bus26m() 121 (st->type == CONSTRAINT_RESIDNECY)) in spm_update_rc_bus26m() 123 st->type, st->act, in spm_update_rc_bus26m() 129 __func__, __LINE__, st->type); in spm_update_rc_bus26m() [all …]
|
| /rk3399_ARM-atf/plat/common/ |
| H A D | plat_gicv3.c | 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() 156 uint32_t plat_interrupt_type_to_line(uint32_t type, in plat_interrupt_type_to_line() argument 159 assert((type == INTR_TYPE_S_EL1) || in plat_interrupt_type_to_line() 160 (type == INTR_TYPE_EL3) || in plat_interrupt_type_to_line() 161 (type == INTR_TYPE_NS)); in plat_interrupt_type_to_line() [all …]
|
| H A D | plat_gicv2.c | 111 unsigned int type; in plat_ic_get_interrupt_type() local 113 type = gicv2_get_interrupt_group(id); in plat_ic_get_interrupt_type() 116 return (type == GICV2_INTR_GROUP1) ? INTR_TYPE_NS : in plat_ic_get_interrupt_type() 142 uint32_t plat_interrupt_type_to_line(uint32_t type, in plat_interrupt_type_to_line() argument 145 assert((type == INTR_TYPE_S_EL1) || (type == INTR_TYPE_EL3) || in plat_interrupt_type_to_line() 146 (type == INTR_TYPE_NS)); in plat_interrupt_type_to_line() 151 if (type == INTR_TYPE_NS) { in plat_interrupt_type_to_line() 203 bool plat_ic_has_interrupt_type(unsigned int type) in plat_ic_has_interrupt_type() argument 207 switch (type) { in plat_ic_has_interrupt_type() 224 void plat_ic_set_interrupt_type(unsigned int id, unsigned int type) in plat_ic_set_interrupt_type() argument [all …]
|
| /rk3399_ARM-atf/services/std_svc/drtm/ |
| H A D | drtm_dma_prot.c | 36 .type = PROTECT_NONE, 117 if (active_prot.type != PROTECT_NONE) { 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 != PROTECT_MEM_ALL) { in drtm_dma_prot_disengage() 204 active_prot.type = PROTECT_NONE; in drtm_dma_prot_disengage() 213 switch (active_prot.type) { in drtm_unprotect_mem() 225 active_prot.type = PROTECT_NONE; in drtm_unprotect_mem() 240 if (active_prot.type == PROTECT_NONE) { in drtm_dma_prot_serialise_table() 242 } else if (active_prot.type != PROTECT_MEM_ALL) { in drtm_dma_prot_serialise_table()
|
| 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)
|
| /rk3399_ARM-atf/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))
|
| /rk3399_ARM-atf/drivers/nxp/auth/tbbr/ |
| H A D | tbbr_cot.c | 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 = AUTH_METHOD_SIG, 296 .type = AUTH_METHOD_NV_CTR, [all …]
|
| /rk3399_ARM-atf/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 = AUTH_METHOD_SIG, [all …]
|
| /rk3399_ARM-atf/drivers/auth/tbbr/ |
| H A D | tbbr_cot_bl2.c | 94 .type = AUTH_METHOD_HASH, 112 .type = AUTH_METHOD_SIG, 121 .type = AUTH_METHOD_NV_CTR, 154 .type = AUTH_METHOD_SIG, 163 .type = AUTH_METHOD_NV_CTR, 186 .type = AUTH_METHOD_SIG, 195 .type = AUTH_METHOD_NV_CTR, 218 .type = AUTH_METHOD_HASH, 235 .type = AUTH_METHOD_SIG, 244 .type = AUTH_METHOD_NV_CTR, [all …]
|