Lines Matching defs:cookie
32 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
35 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags);
39 * Return the non-volatile counter address stored in the platform. The cookie
44 static int plat_get_nv_ctr_addr(void *cookie, uintptr_t *nv_ctr_addr)
46 const char *oid = (const char *)cookie;
73 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr)
78 assert(cookie != NULL);
80 rc = plat_get_nv_ctr_addr(cookie, &nv_ctr_addr);
95 * Return the non-volatile counter value stored in the platform. The cookie
100 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr)
105 assert(cookie != NULL);
108 rc = plat_get_nv_ctr_addr(cookie, &nv_ctr_addr);