| /rk3399_ARM-atf/services/spd/trusty/ |
| H A D | smcall.h | 20 #define SMC_NR(entity, fn, fastcall, smc64) \ argument 24 ((fn) & 0xFFFFU)) 26 #define SMC_FASTCALL_NR(entity, fn) SMC_NR((entity), (fn), 1U, 0U) argument 27 #define SMC_FASTCALL64_NR(entity, fn) SMC_NR((entity), (fn), 1U, 1U) argument 28 #define SMC_YIELDCALL_NR(entity, fn) SMC_NR((entity), (fn), 0U, 0U) argument 29 #define SMC_YIELDCALL64_NR(entity, fn) SMC_NR((entity), (fn), 0U, 1U) argument
|
| /rk3399_ARM-atf/tools/cert_create/src/tbbr/ |
| H A D | tbb_cert.c | 23 .fn = NULL, 40 .fn = NULL, 55 .fn = NULL, 69 .fn = NULL, 83 .fn = NULL, 97 .fn = NULL, 112 .fn = NULL, 126 .fn = NULL, 143 .fn = NULL, 157 .fn = NULL, [all …]
|
| /rk3399_ARM-atf/plat/mediatek/common/lpm/ |
| H A D | mt_lpm_dispatch.c | 35 res = mt_dispatcher.fn[user](MT_LPM_SMC_USER_ID(x1), in invoke_mt_lpm_dispatch() 62 res = mt_secure_dispatcher.fn[user](MT_LPM_SMC_USER_ID(x1), in invoke_mt_secure_lpm_dispatch() 78 void mt_lpm_dispatcher_registry(unsigned int id, mt_lpm_dispatch_fn fn) in mt_lpm_dispatcher_registry() argument 84 mt_dispatcher.fn[id] = fn; in mt_lpm_dispatcher_registry() 87 void mt_secure_lpm_dispatcher_registry(unsigned int id, mt_lpm_dispatch_fn fn) in mt_secure_lpm_dispatcher_registry() argument 93 mt_secure_dispatcher.fn[id] = fn; in mt_secure_lpm_dispatcher_registry()
|
| /rk3399_ARM-atf/plat/mediatek/common/lpm_v2/ |
| H A D | mt_lpm_dispatch.c | 39 res = mt_dispatcher.fn[user](MT_LPM_SMC_USER_ID(x1), in invoke_mt_lpm_dispatch() 61 res = mt_secure_dispatcher.fn[user](MT_LPM_SMC_USER_ID(x1), x2, in invoke_mt_secure_lpm_dispatch() 73 void mt_lpm_dispatcher_registry(unsigned int id, mt_lpm_dispatch_fn fn) in mt_lpm_dispatcher_registry() argument 79 mt_dispatcher.fn[id] = fn; in mt_lpm_dispatcher_registry() 82 void mt_secure_lpm_dispatcher_registry(unsigned int id, mt_lpm_dispatch_fn fn) in mt_secure_lpm_dispatcher_registry() argument 88 mt_secure_dispatcher.fn[id] = fn; in mt_secure_lpm_dispatcher_registry()
|
| /rk3399_ARM-atf/tools/cert_create/src/ |
| H A D | key.c | 256 if (key->fn == NULL) { in key_load() 261 if (strncmp(key->fn, "pkcs11:", 7) == 0) { in key_load() 263 key->key = key_load_pkcs11(key->fn); in key_load() 266 FILE *fp = fopen(key->fn, "r"); in key_load() 268 WARN("Cannot open file %s\n", key->fn); in key_load() 277 ERROR("Cannot load key from %s\n", key->fn); in key_load() 288 if (key->fn) { in key_store() 289 if (!strncmp(key->fn, "pkcs11:", 7)) { in key_store() 293 fp = fopen(key->fn, "w"); in key_store() 300 ERROR("Cannot create file %s\n", key->fn); in key_store() [all …]
|
| H A D | main.c | 35 #define CHECK_NULL(v, fn) \ argument 37 v = fn; \ 207 if (cert->fn == NULL) { in check_cmd_params() 228 if (!new_keys && key->fn == NULL) { in check_cmd_params() 395 key->fn = strdup(optarg); in main() 400 cert->fn = strdup(optarg); in main() 450 ERROR("Error loading '%s'\n", keys[i].fn); in main() 465 ERROR("Error opening '%s'\n", keys[i].fn); in main() 478 if (cert->fn == NULL) { in main() 576 if (certs[i].x && certs[i].fn) { in main() [all …]
|
| /rk3399_ARM-atf/plat/mediatek/include/lpm_v2/ |
| H A D | mt_lpm_dispatch.h | 24 mt_lpm_dispatch_fn fn[MT_LPM_SMC_USER_MAX]; member 27 void mt_lpm_dispatcher_registry(unsigned int id, mt_lpm_dispatch_fn fn); 29 void mt_secure_lpm_dispatcher_registry(unsigned int id, mt_lpm_dispatch_fn fn);
|
| /rk3399_ARM-atf/plat/mediatek/include/lpm/ |
| H A D | mt_lpm_dispatch.h | 24 mt_lpm_dispatch_fn fn[MT_LPM_SMC_USER_MAX]; member 27 void mt_lpm_dispatcher_registry(unsigned int id, mt_lpm_dispatch_fn fn); 29 void mt_secure_lpm_dispatcher_registry(unsigned int id, mt_lpm_dispatch_fn fn);
|
| /rk3399_ARM-atf/plat/mediatek/drivers/cpu_pm/topology/default/ |
| H A D | pwr.c | 49 afflv_prepare fn) in pwr_domain_coordination() argument 90 if (fn) in pwr_domain_coordination() 91 ret = fn(1, state, &tp); in pwr_domain_coordination() 102 if (fn) in pwr_domain_coordination() 103 fn(1, state, &tp); in pwr_domain_coordination()
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8188/ |
| H A D | mt_spm_idle.c | 331 int mt_spm_idle_generic_enter(int state_id, unsigned int ext_opand, spm_idle_conduct fn) in mt_spm_idle_generic_enter() argument 336 if (fn != NULL) { in mt_spm_idle_generic_enter() 337 fn(state_id, &idle_spm_lp, &src_req); in mt_spm_idle_generic_enter() 355 spm_idle_conduct_restore fn) in mt_spm_idle_generic_resume() argument 365 if (spm_unlikely(fn)) { in mt_spm_idle_generic_resume() 366 fn(state_id, &idle_spm_lp, *status); in mt_spm_idle_generic_resume()
|
| H A D | mt_spm_idle.h | 19 int mt_spm_idle_generic_enter(int state_id, unsigned int ext_opand, spm_idle_conduct fn); 22 spm_idle_conduct_restore fn);
|
| /rk3399_ARM-atf/plat/nxp/soc-lx2160a/lx2162aqds/cert_create_helper/src/ |
| H A D | pdef_tbb_cert.c | 16 .fn = NULL, 30 .fn = NULL, 47 .fn = NULL,
|
| /rk3399_ARM-atf/plat/mediatek/drivers/cpu_pm/topology/group_4_3_1/ |
| H A D | pwr.c | 63 afflv_prepare fn) in pwr_domain_coordination() argument 87 fn(1, state, &tp); in pwr_domain_coordination() 105 if (fn) in pwr_domain_coordination() 106 ret = fn(state->pwr.afflv, state, &tp); in pwr_domain_coordination()
|
| /rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/ |
| H A D | mt_spm_idle.h | 16 int mt_spm_idle_generic_enter(int state_id, unsigned int ext_opand, spm_idle_conduct fn); 20 spm_idle_conduct_restore fn);
|
| H A D | mt_spm_idle.c | 219 spm_idle_conduct fn) in mt_spm_idle_generic_enter() argument 223 if (fn != NULL) { in mt_spm_idle_generic_enter() 224 fn(&idle_spm_lp, &src_req); in mt_spm_idle_generic_enter() 231 spm_idle_conduct_restore fn) in mt_spm_idle_generic_resume() argument
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8189/ |
| H A D | mt_spm_idle.h | 20 spm_idle_conduct fn); 23 spm_idle_conduct_restore fn);
|
| H A D | mt_spm_idle.c | 368 spm_idle_conduct fn) in mt_spm_idle_generic_enter() argument 378 if (fn) in mt_spm_idle_generic_enter() 379 fn(state_id, &idle_spm_lp, &src_req); in mt_spm_idle_generic_enter() 398 spm_idle_conduct_restore fn) in mt_spm_idle_generic_resume() argument 410 if (spm_unlikely(fn)) in mt_spm_idle_generic_resume() 411 fn(state_id, &idle_spm_lp, *status); in mt_spm_idle_generic_resume()
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8196/ |
| H A D | mt_spm_idle.h | 20 spm_idle_conduct fn); 23 spm_idle_conduct_restore fn);
|
| H A D | mt_spm_idle.c | 542 spm_idle_conduct fn) in mt_spm_idle_generic_enter() argument 554 if (fn) in mt_spm_idle_generic_enter() 555 fn(state_id, &idle_spm_lp, &src_req); in mt_spm_idle_generic_enter() 575 spm_idle_conduct_restore fn) in mt_spm_idle_generic_resume() argument 589 if (spm_unlikely(fn)) in mt_spm_idle_generic_resume() 590 fn(state_id, &idle_spm_lp, *status); in mt_spm_idle_generic_resume()
|
| /rk3399_ARM-atf/include/drivers/arm/ |
| H A D | ethosn_cert.h | 19 .fn = NULL, \ 34 .fn = NULL, \
|
| /rk3399_ARM-atf/plat/mediatek/include/lib/mtk_init/ |
| H A D | mtk_init.h | 33 .fn = _fn \ 47 int (*fn)(void); member
|
| /rk3399_ARM-atf/plat/mediatek/mt8195/drivers/spm/ |
| H A D | mt_spm_idle.c | 327 spm_idle_conduct fn) in mt_spm_idle_generic_enter() argument 331 if (fn != NULL) { in mt_spm_idle_generic_enter() 332 fn(&idle_spm_lp, &src_req); in mt_spm_idle_generic_enter()
|
| H A D | mt_spm_idle.h | 13 spm_idle_conduct fn);
|
| /rk3399_ARM-atf/plat/mediatek/mt8192/drivers/spm/ |
| H A D | mt_spm_idle.c | 230 spm_idle_conduct fn) in mt_spm_idle_generic_enter() argument 234 if (fn != NULL) { in mt_spm_idle_generic_enter() 235 fn(&idle_spm_lp, &src_req); in mt_spm_idle_generic_enter()
|
| H A D | mt_spm_idle.h | 13 spm_idle_conduct fn);
|