| /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/docs/components/ |
| H A D | ffa-manifest-binding.rst | 14 - value type: <string> 24 - value type: <u32> 34 - value type: <prop-encoded-array> 44 - value type: <u32> 48 - value type: <u32> 52 - value type: <string> 56 - value type: <u32> 67 - value type: <u32> 75 - value type: <u32> 82 - value type: <u64> [all …]
|
| H A D | cot-binding.rst | 28 Value type: <string> 47 Value type: <boolean> 52 Value type: <u32> 65 Value type: <phandle> 81 Value type: <phandle> 93 Value type: <phandle> 114 Value type: <string> 128 Value type: <string> 182 Value type: <string> 197 Value type: <u32> [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/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() 68 if (type == INTR_TYPE_NS) { in validate_routing_model() [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/drivers/spm/mt8189/constraints/ |
| H A D | mt_spm_trace.h | 20 /* SPM trace common type */ 31 /* SPM trace suspend type */ 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 [all …]
|
| 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_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/mt8196/constraints/ |
| H A D | mt_spm_trace.h | 19 /* SPM trace common type */ 30 /* SPM trace suspend type */ 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 [all …]
|
| 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_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() 128 INFO("[%s:%d] - Unknown type: 0x%x\n", in spm_update_rc_bus26m() [all …]
|
| H A D | mt_spm_rc_vcore.c | 86 int spm_update_rc_vcore(int state_id, int type, const void *val) in spm_update_rc_vcore() argument 91 if (type == PLAT_RC_UPDATE_REMAIN_IRQS) { in spm_update_rc_vcore() 93 } else if (type == PLAT_RC_IS_FMAUDIO) { in spm_update_rc_vcore() 98 } else if (type == PLAT_RC_IS_ADSP) { in spm_update_rc_vcore() 103 } else if (type == PLAT_RC_IS_USB_HEADSET) { in spm_update_rc_vcore() 108 } else if (type == PLAT_RC_STATUS) { in spm_update_rc_vcore() 116 if ((st->type == CONSTRAINT_UPDATE_VALID) || in spm_update_rc_vcore() 117 (st->type == CONSTRAINT_RESIDNECY)) in spm_update_rc_vcore() 119 st->type, st->act, in spm_update_rc_vcore() 124 INFO("[%s:%d] - Unknown type: 0x%x\n", in spm_update_rc_vcore() [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/plat/common/ |
| H A D | plat_gicv2.c | 59 * This function returns the type of the highest priority pending interrupt 62 * the pending interrupt. The type of interrupt depends upon the id value 67 * type. 106 * This function returns the type of the interrupt `id`, depending on how 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() 136 * The interrupt controller knows which pin/line it uses to signal a type of 138 * for a type of interrupt and security state, which line should be used in the 142 uint32_t plat_interrupt_type_to_line(uint32_t type, in plat_interrupt_type_to_line() argument [all …]
|
| 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 of the interrupt `id`, depending on how [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/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/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 != PROTECT_MEM_ALL) { in drtm_dma_prot_disengage() 189 ERROR("%s(): unimplemented DMA protection type\n", __func__); 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. */
|
| /rk3399_ARM-atf/include/drivers/brcm/ |
| H A D | chimp_nv_defs.h | 119 /* Directory Entry Type (see enum bnxnvm_directory_type) */ 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 \ [all …]
|
| /rk3399_ARM-atf/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 = AUTH_METHOD_SIG, [all …]
|
| /rk3399_ARM-atf/include/drivers/nxp/clk/s32cc/ |
| H A D | s32cc-clk-modules.h | 46 enum s32cc_clkm_type type; member 60 .type = s32cc_osc_t, \ 78 #define S32CC_CLKMUX_TYPE_INIT(TYPE, MODULE, INDEX, NCLKS, ...) \ argument 81 .type = (TYPE), \ 109 .type = s32cc_pll_t, \ 126 .type = s32cc_pll_out_div_t, \ 135 .type = s32cc_pll_out_div_t, \ 151 .type = s32cc_dfs_t, \ 167 .type = s32cc_dfs_div_t, \ 182 .type = s32cc_fixed_div_t, \ [all …]
|