Home
last modified time | relevance | path

Searched refs:sm_api_version_min (Results 1 – 1 of 1) sorted by relevance

/trusty/kernel/lib/sm/
Dsm.c62 static atomic_uint_fast32_t sm_api_version_min; variable
92 if (api_version < sm_api_version_min) { in smc_sm_api_version()
94 api_version, sm_api_version_min, sm_api_version); in smc_sm_api_version()
99 sm_api_version_min = api_version; in smc_sm_api_version()
120 if (sm_api_version_min >= version_wanted) { in sm_check_and_lock_api_version()
132 sm_api_version_min = MAX(sm_api_version_min, version_wanted); in sm_check_and_lock_api_version()
133 TRACEF("min api version set: %d\n", sm_api_version_min); in sm_check_and_lock_api_version()
135 DEBUG_ASSERT(sm_api_version_min <= sm_api_version_max); in sm_check_and_lock_api_version()
136 DEBUG_ASSERT(sm_api_version >= sm_api_version_min); in sm_check_and_lock_api_version()
141 return sm_api_version_min >= version_wanted; in sm_check_and_lock_api_version()