Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/se050/adaptors/utils/
A Dutils.c160 void se050_refcount_init_ctx(uint8_t **cnt) in se050_refcount_init_ctx() argument
162 if (!*cnt) { in se050_refcount_init_ctx()
163 *cnt = calloc(1, sizeof(uint8_t)); in se050_refcount_init_ctx()
164 if (*cnt) in se050_refcount_init_ctx()
165 **cnt = 1; in se050_refcount_init_ctx()
169 **cnt = **cnt + 1; in se050_refcount_init_ctx()
173 int se050_refcount_final_ctx(uint8_t *cnt) in se050_refcount_final_ctx() argument
175 if (!cnt) in se050_refcount_final_ctx()
178 if (!*cnt) { in se050_refcount_final_ctx()
179 free(cnt); in se050_refcount_final_ctx()
[all …]
/optee_os/core/kernel/
A Dpm.c122 enum pm_callback_order cnt = PM_CB_ORDER_DRIVER; in pm_change_state() local
127 for (cnt = PM_CB_ORDER_DRIVER; cnt < PM_CB_ORDER_MAX; cnt++) { in pm_change_state()
128 res = call_callbacks(op, pm_hint, cnt); in pm_change_state()
134 for (cnt = PM_CB_ORDER_MAX; cnt > PM_CB_ORDER_DRIVER; cnt--) { in pm_change_state()
135 res = call_callbacks(op, pm_hint, cnt - 1); in pm_change_state()
A Dmsg_param.c65 size_t cnt; in msg_param_extract_pages() local
85 for (cnt = 0; cnt < num_pages; cnt++, va++) { in msg_param_extract_pages()
104 pages[cnt] = *va; in msg_param_extract_pages()
105 if (pages[cnt] & SMALL_PAGE_MASK) in msg_param_extract_pages()
/optee_os/core/include/drivers/
A Dstm32_gpio.h82 void stm32_pinctrl_load_active_cfg(struct stm32_pinctrl *pinctrl, size_t cnt);
83 void stm32_pinctrl_load_standby_cfg(struct stm32_pinctrl *pinctrl, size_t cnt);
91 void stm32_pinctrl_store_standby_cfg(struct stm32_pinctrl *pinctrl, size_t cnt);
/optee_os/ldelf/
A Dta_elf.c1720 info->size = cnt; in realloc_ifs()
1784 size_t cnt = 0; in ta_elf_set_init_fini_info_compat() local
1804 cnt++; in ta_elf_set_init_fini_info_compat()
1807 assert(cnt); in ta_elf_set_init_fini_info_compat()
1813 cnt = 0; in ta_elf_set_init_fini_info_compat()
1816 cnt++; in ta_elf_set_init_fini_info_compat()
1856 info->count = cnt; in realloc_elf_phdr_info()
1910 size_t cnt = 0; in ta_elf_set_elf_phdr_info() local
1927 cnt++; in ta_elf_set_elf_phdr_info()
1933 cnt = 0; in ta_elf_set_elf_phdr_info()
[all …]
/optee_os/core/drivers/
A Dstm32_gpio.c138 void stm32_pinctrl_load_active_cfg(struct stm32_pinctrl *pinctrl, size_t cnt) in stm32_pinctrl_load_active_cfg() argument
142 for (n = 0; n < cnt; n++) in stm32_pinctrl_load_active_cfg()
147 void stm32_pinctrl_load_standby_cfg(struct stm32_pinctrl *pinctrl, size_t cnt) in stm32_pinctrl_load_standby_cfg() argument
151 for (n = 0; n < cnt; n++) in stm32_pinctrl_load_standby_cfg()
156 void stm32_pinctrl_store_standby_cfg(struct stm32_pinctrl *pinctrl, size_t cnt) in stm32_pinctrl_store_standby_cfg() argument
160 for (n = 0; n < cnt; n++) in stm32_pinctrl_store_standby_cfg()
/optee_os/core/drivers/crypto/se050/adaptors/include/
A Dse050_utils.h44 void se050_refcount_init_ctx(uint8_t **cnt);
45 int se050_refcount_final_ctx(uint8_t *cnt);
/optee_os/core/drivers/crypto/se050/core/
A Dctr.c19 uint8_t *cnt; /* shared reference counter for duplicated ciphers */ member
120 if (!se050_refcount_final_ctx(c->cnt)) { in do_final()
142 se050_refcount_init_ctx(&src->cnt); in do_copy_state()
/optee_os/core/include/
A Dbench.h36 uint64_t cnt; /* stores value from CNTPCT register */ member
/optee_os/core/pta/
A Dbenchmark.c209 ts_data.cnt = read_pmccntr() * TEE_BENCH_DIVIDER; in bm_timestamp()
/optee_os/core/arch/arm/mm/
A Dcore_mmu.c479 int cnt = phys_sdp_mem_end - phys_sdp_mem_begin; in core_sdp_mem_create_mobjs() local
482 mobj_base = calloc(cnt + 1, sizeof(struct mobj *)); in core_sdp_mem_create_mobjs()

Completed in 16 milliseconds