Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 127) sorted by relevance

123456

/optee_os/core/drivers/bnxt/
A Dbnxt.c117 value = value & ~BIT(BNXT_FLASH_ACCESS_DONE_BIT); in bnxt_handshake_clear()
118 bnxt_write(BNXT_REG_ECO_RESERVED, value); in bnxt_handshake_clear()
123 uint32_t value = 0; in bnxt_handshake_done() local
125 value = bnxt_read(BNXT_REG_ECO_RESERVED); in bnxt_handshake_done()
126 value &= BIT(BNXT_FLASH_ACCESS_DONE_BIT); in bnxt_handshake_done()
128 return value != 0; in bnxt_handshake_done()
174 uint32_t value = 0; in bnxt_chimp_halt() local
183 uint32_t value = 0; in bnxt_kong_halt() local
192 uint32_t value = 0; in bnxt_fastboot() local
194 value = bnxt_read(BNXT_STICKY_BYTE_POR); in bnxt_fastboot()
[all …]
/optee_os/core/pta/tests/
A Dinvoke.c114 p[0].value.a = p[0].value.a + p[0].value.b; in test_entry_params()
122 p[1].value.a = p[1].value.a + p[1].value.b; in test_entry_params()
130 p[2].value.a = p[2].value.a + p[2].value.b; in test_entry_params()
147 p[0].value.a = p[1].value.a + p[2].value.a + p[3].value.a; in test_entry_params()
148 p[0].value.b = p[1].value.b + p[2].value.b + p[3].value.b; in test_entry_params()
156 p[1].value.a = p[0].value.a + p[2].value.a + p[3].value.a; in test_entry_params()
157 p[1].value.b = p[0].value.b + p[2].value.b + p[3].value.b; in test_entry_params()
165 p[2].value.a = p[0].value.a + p[1].value.a + p[3].value.a; in test_entry_params()
166 p[2].value.b = p[0].value.b + p[1].value.b + p[3].value.b; in test_entry_params()
174 p[3].value.a = p[0].value.a + p[1].value.a + p[2].value.a; in test_entry_params()
[all …]
A Dmutex.c27 params[1].value.a = atomic_inc32(&before_lock_writers); in mutex_test_writer()
33 params[1].value.b = atomic_inc32(&during_lock_writers); in mutex_test_writer()
35 for (n = 0; n < params[0].value.b; n++) { in mutex_test_writer()
52 params[1].value.a = atomic_inc32(&before_lock_readers); in mutex_test_reader()
58 params[1].value.b = atomic_inc32(&during_lock_readers); in mutex_test_reader()
60 for (n = 0; n < params[0].value.b; n++) { in mutex_test_reader()
84 switch (params[0].value.a) { in core_mutex_tests()
/optee_os/lib/libutee/
A Dtee_api_property.c93 l = strlen(ep->value) + 1; in propget_get_ext_prop()
103 if (!_base64_dec(ep->value, strlen(ep->value), buf, &l) && in propget_get_ext_prop()
123 memcpy(buf, ep->value, l); in propget_get_ext_prop()
300 __utee_check_out_annotation(value, sizeof(*value)); in TEE_GetPropertyAsBool()
304 value, &bool_len); in TEE_GetPropertyAsBool()
328 __utee_check_out_annotation(value, sizeof(*value)); in TEE_GetPropertyAsU32()
332 value, &uint32_len); in TEE_GetPropertyAsU32()
357 value, value_len); in TEE_GetPropertyAsBinaryBlock()
379 __utee_check_out_annotation(value, sizeof(*value)); in TEE_GetPropertyAsUUID()
383 value, &uuid_len); in TEE_GetPropertyAsUUID()
[all …]
A Dtee_system_pta.c41 params[0].value.a = len; in tee_map_zi()
42 if (params[0].value.a != len) in tee_map_zi()
48 params[0].value.b = PTA_SYSTEM_MAP_FLAG_SHAREABLE; in tee_map_zi()
58 return (void *)(vaddr_t)reg_pair_to_64(params[1].value.a, in tee_map_zi()
59 params[1].value.b); in tee_map_zi()
71 params[0].value.a = len; in tee_unmap()
72 reg_pair_from_64((vaddr_t)buf, &params[1].value.a, &params[1].value.b); in tee_unmap()
97 params[1].value.a = cmd; in tee_invoke_supp_plugin()
98 params[1].value.b = sub_cmd; in tee_invoke_supp_plugin()
108 *outlen = params[3].value.a; in tee_invoke_supp_plugin()
A Dtee_socket_pta.c51 params[0].value.a = ip_vers; in __tee_socket_pta_open()
57 params[0].value.b = port; in __tee_socket_pta_open()
75 *handle = params[3].value.a; in __tee_socket_pta_open()
89 params[0].value.a = handle; in __tee_socket_pta_close()
106 params[0].value.a = handle; in __tee_socket_pta_send()
107 params[0].value.b = timeout; in __tee_socket_pta_send()
113 *len = params[2].value.a; in __tee_socket_pta_send()
130 params[0].value.a = handle; in __tee_socket_pta_recv()
131 params[0].value.b = timeout; in __tee_socket_pta_recv()
153 params[0].value.a = handle; in __tee_socket_pta_ioctl()
[all …]
/optee_os/ta/avb/
A Dentry.c121 params[1].value.a = idx >> 32; in read_rb_idx()
122 params[1].value.b = idx; in read_rb_idx()
147 widx = ((uint64_t)params[1].value.a << 32) | params[1].value.b; in write_rb_idx()
208 params[0].value.a = lock_state; in read_lock_state()
265 char *value = NULL; in write_persist_value() local
274 if (!value) in write_persist_value()
286 flags, NULL, value, in write_persist_value()
293 TEE_Free(value); in write_persist_value()
314 char *value = NULL; in read_persist_value() local
324 if (!value) in read_persist_value()
[all …]
/optee_os/core/pta/
A Dstats.c48 pool_id = p[0].value.a; in get_alloc_stats()
71 if (p[0].value.b) in get_alloc_stats()
81 !!p[0].value.b); in get_alloc_stats()
89 if (p[0].value.b) in get_alloc_stats()
117 p[0].value.a = stats.npages; in get_pager_stats()
118 p[0].value.b = stats.npages_all; in get_pager_stats()
119 p[1].value.a = stats.ro_hits; in get_pager_stats()
120 p[1].value.b = stats.rw_hits; in get_pager_stats()
121 p[2].value.a = stats.hidden_hits; in get_pager_stats()
122 p[2].value.b = stats.zi_released; in get_pager_stats()
A Dsystem.c143 num_bytes = params[0].value.a; in system_map_zi()
144 va = reg_pair_to_64(params[1].value.a, params[1].value.b); in system_map_zi()
145 pad_begin = params[2].value.a; in system_map_zi()
146 pad_end = params[2].value.b; in system_map_zi()
159 reg_pair_from_64(va, &params[1].value.a, &params[1].value.b); in system_map_zi()
180 if (params[0].value.b) in system_unmap()
183 va = reg_pair_to_64(params[1].value.a, params[1].value.b); in system_unmap()
224 flags = params[1].value.a; in system_dlopen()
264 reg_pair_from_64(va, &params[2].value.a, &params[2].value.b); in system_dlsym()
303 params[1].value.a, /* cmd */ in system_supp_plugin_invoke()
[all …]
A Dbenchmark.c62 p[1].value.a * sizeof(struct tee_ts_cpu_buf); in alloc_benchmark_buffer()
89 bench_ts_global->cores = p[1].value.a; in alloc_benchmark_buffer()
102 p[0].value.a = virt_to_phys((void *)bench_ts_global); in alloc_benchmark_buffer()
103 p[0].value.b = bench_ts_size; in alloc_benchmark_buffer()
124 p[0].value.a = virt_to_phys((void *)bench_ts_global); in get_benchmark_memref()
125 p[0].value.b = bench_ts_size; in get_benchmark_memref()
127 p[0].value.a = 0; in get_benchmark_memref()
128 p[0].value.b = 0; in get_benchmark_memref()
A Dscmi.c29 param[0].value.a = caps; in cmd_capabilities()
30 param[0].value.b = 0; in cmd_capabilities()
42 unsigned int channel_id = params[0].value.a; in cmd_process_smt_channel()
69 unsigned int channel_id = params[0].value.a; in cmd_process_smt_message()
107 unsigned int channel_id = params[0].value.a; in cmd_get_channel_handle()
108 unsigned int caps = params[0].value.b; in cmd_get_channel_handle()
124 params[0].value.a = scmi_smt_channel_handle(channel_id); in cmd_get_channel_handle()
/optee_os/core/include/drivers/
A Dstm32_bsec.h19 TEE_Result stm32_bsec_shadow_read_otp(uint32_t *value, uint32_t otp_id);
34 TEE_Result stm32_bsec_read_otp(uint32_t *value, uint32_t otp_id);
42 TEE_Result stm32_bsec_write_otp(uint32_t value, uint32_t otp_id);
51 TEE_Result stm32_bsec_program_otp(uint32_t value, uint32_t otp_id);
53 static inline TEE_Result stm32_bsec_program_otp(uint32_t value __unused, in stm32_bsec_program_otp()
73 TEE_Result stm32_bsec_write_debug_conf(uint32_t value);
75 static inline TEE_Result stm32_bsec_write_debug_conf(uint32_t value __unused) in stm32_bsec_write_debug_conf()
/optee_os/core/tee/
A Dsocket.c47 params[0].value.b, /* server port number */ in socket_open()
48 params[2].value.a, /* protocol */ in socket_open()
49 params[0].value.a /* ip version */); in socket_open()
55 params[3].value.a = tpm[3].u.value.a; in socket_open()
76 params[0].value.a); in socket_close()
108 params[0].value.a /* handle */); in socket_send()
110 tpm[2] = THREAD_PARAM_VALUE(INOUT, params[0].value.b, /* timeout */ in socket_send()
114 params[2].value.a = tpm[2].u.value.b; /* transmitted bytes */ in socket_send()
146 params[0].value.a /* handle */); in socket_recv()
187 params[0].value.a /* handle */); in socket_ioctl()
[all …]
/optee_os/core/kernel/
A Dnotif.c94 void notif_send_async(uint32_t value) in notif_send_async() argument
102 assert(value <= NOTIF_ASYNC_VALUE_MAX); in notif_send_async()
105 DMSG("0x%"PRIx32, value); in notif_send_async()
106 bit_set(notif_values, value); in notif_send_async()
209 static TEE_Result notif_rpc(uint32_t func, uint32_t value) in notif_rpc() argument
211 struct thread_param params = THREAD_PARAM_VALUE(IN, func, value, 0); in notif_rpc()
216 TEE_Result notif_wait(uint32_t value) in notif_wait() argument
218 return notif_rpc(OPTEE_RPC_NOTIFICATION_WAIT, value); in notif_wait()
221 TEE_Result notif_send_sync(uint32_t value) in notif_send_sync() argument
223 return notif_rpc(OPTEE_RPC_NOTIFICATION_SEND, value); in notif_send_sync()
/optee_os/core/include/kernel/
A Dnotif.h101 TEE_Result notif_alloc_async_value(uint32_t *value);
102 void notif_free_async_value(uint32_t value);
107 TEE_Result notif_wait(uint32_t value);
113 void notif_send_async(uint32_t value);
115 static inline void notif_send_async(uint32_t value __unused) in notif_send_async()
125 TEE_Result notif_send_sync(uint32_t value);
/optee_os/core/arch/arm/plat-stm32mp1/drivers/
A Dstm32mp1_syscfg.c72 uint32_t value = 0; in stm32mp_syscfg_disable_io_compensation() local
74 value = io_read32(syscfg_base + SYSCFG_CMPCR) >> in stm32mp_syscfg_disable_io_compensation()
80 value = io_read32(syscfg_base + SYSCFG_CMPCR) | in stm32mp_syscfg_disable_io_compensation()
81 (value << SYSCFG_CMPCR_RANSRC_SHIFT); in stm32mp_syscfg_disable_io_compensation()
83 io_write32(syscfg_base + SYSCFG_CMPCR, value | SYSCFG_CMPCR_SW_CTRL); in stm32mp_syscfg_disable_io_compensation()
/optee_os/core/pta/bcm/
A Dgpio.c59 gpio_num = params[0].value.a; in pta_gpio_config()
60 dir = params[0].value.b; in pta_gpio_config()
102 gpio_num = params[0].value.a; in pta_gpio_set()
103 val = !!params[0].value.b; in pta_gpio_set()
147 gpio_num = params[0].value.a; in pta_gpio_get()
157 params[1].value.a = gc->ops->get_value(NULL, gpio_num); in pta_gpio_get()
159 DMSG("gpio(%d) value = 0x%08x", gpio_num, params[1].value.a); in pta_gpio_get()
A Dbnxt.c51 p[0].value.a = bnxt_health_status(); in get_bnxt_status()
65 p[0].value.a = bnxt_wait_handshake(p[0].value.a); in get_bnxt_handshake_status()
87 offset = params[1].value.a; in copy_bnxt_crash_dump()
88 req_len = params[1].value.b; in copy_bnxt_crash_dump()
/optee_os/core/drivers/
A Dstpmic1.c744 uint8_t value = 0; in stpmic1_bo_voltage_unpg() local
748 if (stpmic1_register_read(cfg->ctrl_reg, &value)) in stpmic1_bo_voltage_unpg()
751 if ((value & cfg->mask) >= cfg->min_value) in stpmic1_bo_voltage_unpg()
809 uint8_t value = 0; in stpmic1_regulator_voltage_get() local
819 value = (value & mask) >> LDO_BUCK_VOLTAGE_SHIFT; in stpmic1_regulator_voltage_get()
821 if (value > regul->voltage_table_size) in stpmic1_regulator_voltage_get()
824 return regul->voltage_table[value]; in stpmic1_regulator_voltage_get()
944 cfg->value = voltage_index << 2; in stpmic1_lp_voltage_cfg()
962 register_id, value, in stpmic1_register_read()
969 uint8_t val = value; in stpmic1_register_write()
[all …]
/optee_os/core/arch/arm/plat-stm32mp1/
A Dstm32_util.h142 void io_mask32_stm32shregs(vaddr_t va, uint32_t value, uint32_t mask);
144 static inline void io_setbits32_stm32shregs(vaddr_t va, uint32_t value) in io_setbits32_stm32shregs() argument
146 io_mask32_stm32shregs(va, value, value); in io_setbits32_stm32shregs()
149 static inline void io_clrbits32_stm32shregs(vaddr_t va, uint32_t value) in io_clrbits32_stm32shregs() argument
151 io_mask32_stm32shregs(va, 0, value); in io_clrbits32_stm32shregs()
/optee_os/core/lib/libfdt/include/
A Dlibfdt.h141 bp[0] = value >> 24; in fdt32_st()
142 bp[1] = (value >> 16) & 0xff; in fdt32_st()
143 bp[2] = (value >> 8) & 0xff; in fdt32_st()
144 bp[3] = value & 0xff; in fdt32_st()
165 bp[0] = value >> 56; in fdt64_st()
166 bp[1] = (value >> 48) & 0xff; in fdt64_st()
167 bp[2] = (value >> 40) & 0xff; in fdt64_st()
168 bp[3] = (value >> 32) & 0xff; in fdt64_st()
169 bp[4] = (value >> 24) & 0xff; in fdt64_st()
171 bp[6] = (value >> 8) & 0xff; in fdt64_st()
[all …]
/optee_os/lib/libutee/arch/arm/gprof/
A Dgprof_pta.c41 params[0].value.a = *id; in __pta_gprof_send()
46 *id = params[0].value.a; in __pta_gprof_send()
63 params[1].value.a = offset; in __pta_gprof_pc_sampling_start()
64 params[1].value.b = scale; in __pta_gprof_pc_sampling_start()
85 *rate = params[0].value.a; in __pta_gprof_pc_sampling_stop()
/optee_os/core/arch/arm/plat-sam/
A Dtz_matrix.h77 #define MATRIX_SASPLIT(n, value) ((value) << (4 * n)) argument
96 #define MATRIX_SRTOP(n, value) ((value) << (4 * n)) argument
/optee_os/core/drivers/crypto/caam/hal/common/
A Dhal_jr.c76 uint32_t value = 0; in caam_hal_jr_config() local
108 value = JRX_JRCFGR_LS_ICTT(10); in caam_hal_jr_config()
109 value |= JRX_JRCFGR_LS_ICDCT(nbjobs / 2); in caam_hal_jr_config()
110 value |= JRX_JRCFGR_LS_ICEN; in caam_hal_jr_config()
111 value |= JRX_JRCFGR_LS_IMSK; in caam_hal_jr_config()
112 io_caam_write32(baseaddr + JRX_JRCFGR_LS, value); in caam_hal_jr_config()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/printable_string/
A Dder_length_printable_string.c20 int code, value; member
103 return printable_table[x].value; in der_printable_char_encode()
113 if (printable_table[x].value == v) { in der_printable_value_decode()

Completed in 30 milliseconds

123456