Searched refs:TFM_NS_CONTEXT_MAX (Results 1 – 3 of 3) sorted by relevance
17 static struct tfm_ns_ctx_t ns_ctx_data[TFM_NS_CONTEXT_MAX] = {0};20 static uint8_t active_ns_ctx_index = TFM_NS_CONTEXT_MAX;26 for (i = 0; i < TFM_NS_CONTEXT_MAX; i++) { in init_ns_ctx()31 active_ns_ctx_index = TFM_NS_CONTEXT_MAX; in init_ns_ctx()39 uint32_t empty_ctx_idx = TFM_NS_CONTEXT_MAX; /* default is invalid */ in acquire_ns_ctx()46 for (i = 0; i < TFM_NS_CONTEXT_MAX; i++) { in acquire_ns_ctx()67 if (empty_ctx_idx == TFM_NS_CONTEXT_MAX) { in acquire_ns_ctx()78 if (empty_ctx_idx < TFM_NS_CONTEXT_MAX) { in acquire_ns_ctx()93 if (idx >= TFM_NS_CONTEXT_MAX) { in release_ns_ctx()116 active_ns_ctx_index = TFM_NS_CONTEXT_MAX; in release_ns_ctx()[all …]
40 return TFM_NS_CONTEXT_MAX; in tfm_nsce_init()42 return ((ctx_requested <= TFM_NS_CONTEXT_MAX) ? in tfm_nsce_init()43 ctx_requested : TFM_NS_CONTEXT_MAX); in tfm_nsce_init()
14 #define TFM_NS_CONTEXT_MAX 1 macro