/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/utils/ |
A D | utils.c | 160 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-3.20.0/core/kernel/ |
A D | pm.c | 122 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 D | msg_param.c | 65 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()
|
A D | tee_ta_manager.c | 890 unsigned int cnt = 0; in init_dump_ctx() local 901 if (cnt == MAX_DUMP_SESS_NUM) in init_dump_ctx() 904 dump_ctx[n].sess_id[cnt] = sess->id; in init_dump_ctx() 905 cnt++; in init_dump_ctx() 909 dump_ctx[n].sess_num = cnt; in init_dump_ctx()
|
/optee_os-3.20.0/core/drivers/ |
A D | lpc_uart.c | 24 uint32_t cnt = 0; in lpc_byte_read() local 35 if (cnt > UART_SEND_LOOP_MAX) in lpc_byte_read() 37 cnt++; in lpc_byte_read() 50 uint32_t cnt = 0; in lpc_byte_write() local 61 if (cnt > UART_SEND_LOOP_MAX) in lpc_byte_write() 63 cnt++; in lpc_byte_write()
|
A D | stm32_gpio.c | 138 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()
|
A D | stm32_iwdg.c | 117 uint64_t cnt = (reload / IWDG_PRESCALER_256) - 1; in iwdg_timeout_cnt() local 120 if (cnt > IWDG_CNT_MASK || cnt < 3) in iwdg_timeout_cnt() 123 return cnt; in iwdg_timeout_cnt()
|
A D | versal_trng.c | 507 size_t cnt = 0; in trng_write32_range() local 518 for (cnt = 0; cnt < TRNG_BYTES_PER_REG; ++cnt) in trng_write32_range() 519 val = (val << 8) | buf[i * TRNG_BYTES_PER_REG + cnt]; in trng_write32_range()
|
/optee_os-3.20.0/core/include/drivers/ |
A D | stm32_gpio.h | 82 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-3.20.0/core/drivers/crypto/se050/adaptors/include/ |
A D | se050_utils.h | 44 void se050_refcount_init_ctx(uint8_t **cnt); 45 int se050_refcount_final_ctx(uint8_t *cnt);
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | ctr.c | 19 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-3.20.0/ldelf/ |
A D | ta_elf.c | 1767 info->size = cnt; in realloc_ifs() 1831 size_t cnt = 0; in ta_elf_set_init_fini_info_compat() local 1851 cnt++; in ta_elf_set_init_fini_info_compat() 1854 assert(cnt); in ta_elf_set_init_fini_info_compat() 1860 cnt = 0; in ta_elf_set_init_fini_info_compat() 1863 cnt++; in ta_elf_set_init_fini_info_compat() 1903 info->count = cnt; in realloc_elf_phdr_info() 1957 size_t cnt = 0; in ta_elf_set_elf_phdr_info() local 1974 cnt++; in ta_elf_set_elf_phdr_info() 1980 cnt = 0; in ta_elf_set_elf_phdr_info() [all …]
|
/optee_os-3.20.0/core/include/ |
A D | bench.h | 36 uint64_t cnt; /* stores value from CNTPCT register */ member
|
/optee_os-3.20.0/core/drivers/scmi-msg/ |
A D | clock.c | 308 size_t cnt = 1; in scmi_clock_describe_rates() local 313 &rate, &cnt); in scmi_clock_describe_rates() 317 write_rate_desc_array_in_buffer(out_rates, &rate, cnt); in scmi_clock_describe_rates()
|
A D | voltage_domain.c | 217 size_t cnt = 1; in scmi_voltd_describe_levels() local 223 &cnt); in scmi_voltd_describe_levels()
|
/optee_os-3.20.0/core/pta/ |
A D | benchmark.c | 209 ts_data.cnt = read_pmccntr() * TEE_BENCH_DIVIDER; in bm_timestamp()
|
/optee_os-3.20.0/core/mm/ |
A D | core_mmu.c | 540 int cnt = phys_sdp_mem_end - phys_sdp_mem_begin; in core_sdp_mem_create_mobjs() local 543 cnt++; in core_sdp_mem_create_mobjs() 546 mobj_base = calloc(cnt + 1, sizeof(struct mobj *)); in core_sdp_mem_create_mobjs()
|