Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/auth/cryptocell/712/
Dcryptocell_plat_helpers.c75 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
81 CC_SW_VERSION_COUNTER1, nv_ctr); in plat_get_nv_ctr()
84 CC_SW_VERSION_COUNTER2, nv_ctr); in plat_get_nv_ctr()
99 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
105 CC_SW_VERSION_COUNTER1, nv_ctr); in plat_set_nv_ctr()
108 CC_SW_VERSION_COUNTER2, nv_ctr); in plat_set_nv_ctr()
/external/arm-trusted-firmware/drivers/auth/cryptocell/713/
Dcryptocell_plat_helpers.c71 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
77 CC_SW_VERSION_TRUSTED, nv_ctr); in plat_get_nv_ctr()
80 CC_SW_VERSION_NON_TRUSTED, nv_ctr); in plat_get_nv_ctr()
95 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
101 CC_SW_VERSION_TRUSTED, nv_ctr); in plat_set_nv_ctr()
104 CC_SW_VERSION_NON_TRUSTED, nv_ctr); in plat_set_nv_ctr()
/external/arm-trusted-firmware/plat/brcm/board/common/
Dboard_arm_trusted_boot.c578 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
583 assert(nv_ctr != NULL); in plat_get_nv_ctr()
585 *nv_ctr = 0; in plat_get_nv_ctr()
590 *nv_ctr = sotp_get_trusted_nvctr(); in plat_get_nv_ctr()
592 *nv_ctr = sotp_get_nontrusted_nvctr(); in plat_get_nv_ctr()
604 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
610 INFO("set CTR %i\n", nv_ctr); in plat_set_nv_ctr()
613 return sotp_set_trusted_nvctr(nv_ctr); in plat_set_nv_ctr()
615 return sotp_set_nontrusted_nvctr(nv_ctr); in plat_set_nv_ctr()
/external/arm-trusted-firmware/plat/imx/imx7/common/
Dimx7_trusted_boot.c21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
23 *nv_ctr = 0; in plat_get_nv_ctr()
28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
/external/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_tbbr.c21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
27 *nv_ctr = 0; in plat_get_nv_ctr()
32 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
/external/arm-trusted-firmware/plat/qemu/common/
Dqemu_trusted_boot.c21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
23 *nv_ctr = 0; in plat_get_nv_ctr()
28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
/external/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_tbbr.c21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
23 *nv_ctr = 0; in plat_get_nv_ctr()
28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
/external/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_tbbr.c21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
23 *nv_ctr = 0; in plat_get_nv_ctr()
28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
/external/arm-trusted-firmware/plat/rpi/common/
Drpi3_trusted_boot.c21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
23 *nv_ctr = 0; in plat_get_nv_ctr()
28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
/external/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_trusted_boot.c46 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
64 mmio_write_32(nv_ctr_addr, nv_ctr); in plat_set_nv_ctr()
70 return (mmio_read_32(nv_ctr_addr) == nv_ctr) ? 0 : 1; in plat_set_nv_ctr()
/external/arm-trusted-firmware/drivers/auth/tbbr/
Dtbbr_cot_bl2.c104 .param.nv_ctr = {
146 .param.nv_ctr = {
178 .param.nv_ctr = {
227 .param.nv_ctr = {
259 .param.nv_ctr = {
330 .param.nv_ctr = {
362 .param.nv_ctr = {
475 .param.nv_ctr = {
507 .param.nv_ctr = {
577 .param.nv_ctr = {
Dtbbr_cot_common.c74 .param.nv_ctr = {
/external/arm-trusted-firmware/plat/arm/board/common/
Dboard_arm_trusted_boot.c192 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
198 assert(nv_ctr != NULL); in plat_get_nv_ctr()
211 *nv_ctr = (unsigned int)(*nv_ctr_addr); in plat_get_nv_ctr()
224 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
/external/arm-trusted-firmware/plat/common/tbbr/
Dplat_tbbr.c30 unsigned int nv_ctr) in plat_set_nv_ctr2() argument
45 return plat_set_nv_ctr(cookie, nv_ctr); in plat_set_nv_ctr2()
/external/arm-trusted-firmware/drivers/auth/dualroot/
Dcot.c144 .param.nv_ctr = {
267 .param.nv_ctr = {
301 .param.nv_ctr = {
334 .param.nv_ctr = {
383 .param.nv_ctr = {
416 .param.nv_ctr = {
488 .param.nv_ctr = {
521 .param.nv_ctr = {
637 .param.nv_ctr = {
712 .param.nv_ctr = {
[all …]
/external/arm-trusted-firmware/include/plat/common/
Dplatform.h286 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr);
287 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr);
289 unsigned int nv_ctr);
/external/arm-trusted-firmware/drivers/auth/
Dauth_mod.c290 unsigned int nv_ctr) in plat_set_nv_ctr2() argument
292 return plat_set_nv_ctr(cookie, nv_ctr); in plat_set_nv_ctr2()
381 rc = auth_nvctr(&auth_method->param.nv_ctr, in auth_mod_verify_img()
/external/arm-trusted-firmware/include/drivers/auth/
Dauth_common.h98 auth_method_param_nv_ctr_t nv_ctr; member
/external/arm-trusted-firmware/lib/fconf/
Dfconf_cot_getter.c172 auth_method->param.nv_ctr.cert_nv_ctr = auth_param_type_desc; in set_auth_method()
173 auth_method->param.nv_ctr.plat_nv_ctr = auth_param_type_desc; in set_auth_method()
/external/arm-trusted-firmware/docs/design/
Dauth-framework.rst739 .param.nv_ctr = {
778 .param.nv_ctr = {
810 .param.nv_ctr = {