Home
last modified time | relevance | path

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

12345

/optee_os-3.20.0/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-3.20.0/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-3.20.0/core/include/drivers/
A Dstm32_shared_io.h17 void io_mask32_stm32shregs(vaddr_t va, uint32_t value, uint32_t mask);
19 static inline void io_setbits32_stm32shregs(vaddr_t va, uint32_t value) in io_setbits32_stm32shregs() argument
21 io_mask32_stm32shregs(va, value, value); in io_setbits32_stm32shregs()
24 static inline void io_clrbits32_stm32shregs(vaddr_t va, uint32_t value) in io_clrbits32_stm32shregs() argument
26 io_mask32_stm32shregs(va, 0, value); in io_clrbits32_stm32shregs()
A Dstm32_bsec.h39 TEE_Result stm32_bsec_shadow_read_otp(uint32_t *value, uint32_t otp_id);
54 TEE_Result stm32_bsec_read_otp(uint32_t *value, uint32_t otp_id);
62 TEE_Result stm32_bsec_write_otp(uint32_t value, uint32_t otp_id);
71 TEE_Result stm32_bsec_program_otp(uint32_t value, uint32_t otp_id);
73 static inline TEE_Result stm32_bsec_program_otp(uint32_t value __unused, in stm32_bsec_program_otp()
92 TEE_Result stm32_bsec_write_debug_conf(uint32_t value);
/optee_os-3.20.0/lib/libutee/
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_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_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-3.20.0/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-3.20.0/core/pta/
A Dstats.c64 pool_id = p[0].value.a; in get_alloc_stats()
87 if (p[0].value.b) in get_alloc_stats()
97 !!p[0].value.b); in get_alloc_stats()
105 if (p[0].value.b) in get_alloc_stats()
133 p[0].value.a = stats.npages; in get_pager_stats()
134 p[0].value.b = stats.npages_all; in get_pager_stats()
135 p[1].value.a = stats.ro_hits; in get_pager_stats()
136 p[1].value.b = stats.rw_hits; in get_pager_stats()
137 p[2].value.a = stats.hidden_hits; in get_pager_stats()
138 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()
/optee_os-3.20.0/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-3.20.0/core/kernel/
A Dnotif.c93 void notif_send_async(uint32_t value) in notif_send_async() argument
99 assert(value <= NOTIF_ASYNC_VALUE_MAX); in notif_send_async()
102 DMSG("0x%"PRIx32, value); in notif_send_async()
103 bit_set(notif_values, value); in notif_send_async()
206 static TEE_Result notif_rpc(uint32_t func, uint32_t value) in notif_rpc() argument
208 struct thread_param params = THREAD_PARAM_VALUE(IN, func, value, 0); in notif_rpc()
213 TEE_Result notif_wait(uint32_t value) in notif_wait() argument
215 return notif_rpc(OPTEE_RPC_NOTIFICATION_WAIT, value); in notif_wait()
218 TEE_Result notif_send_sync(uint32_t value) in notif_send_sync() argument
220 return notif_rpc(OPTEE_RPC_NOTIFICATION_SEND, value); in notif_send_sync()
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/drivers/
A Dstm32mp1_syscfg.c74 uint32_t value = 0; in stm32mp_syscfg_disable_io_compensation() local
76 value = io_read32(syscfg_base + SYSCFG_CMPCR) >> in stm32mp_syscfg_disable_io_compensation()
82 value = io_read32(syscfg_base + SYSCFG_CMPCR) | in stm32mp_syscfg_disable_io_compensation()
83 (value << SYSCFG_CMPCR_RANSRC_SHIFT); in stm32mp_syscfg_disable_io_compensation()
85 io_write32(syscfg_base + SYSCFG_CMPCR, value | SYSCFG_CMPCR_SW_CTRL); in stm32mp_syscfg_disable_io_compensation()
/optee_os-3.20.0/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-3.20.0/lib/libmbedtls/mbedtls/library/
A Dconstant_time.c70 unsigned mbedtls_ct_uint_mask( unsigned value ) in mbedtls_ct_uint_mask() argument
78 return( - ( ( value | - value ) >> ( sizeof( value ) * 8 - 1 ) ) ); in mbedtls_ct_uint_mask()
86 size_t mbedtls_ct_size_mask( size_t value ) in mbedtls_ct_size_mask() argument
94 return( - ( ( value | - value ) >> ( sizeof( value ) * 8 - 1 ) ) ); in mbedtls_ct_size_mask()
104 mbedtls_mpi_uint mbedtls_ct_mpi_uint_mask( mbedtls_mpi_uint value ) in mbedtls_ct_mpi_uint_mask() argument
112 return( - ( ( value | - value ) >> ( sizeof( value ) * 8 - 1 ) ) ); in mbedtls_ct_mpi_uint_mask()
330 unsigned char mbedtls_ct_base64_enc_char( unsigned char value ) in mbedtls_ct_base64_enc_char() argument
336 digit |= mbedtls_ct_uchar_mask_of_range( 0, 25, value ) & ( 'A' + value ); in mbedtls_ct_base64_enc_char()
337 digit |= mbedtls_ct_uchar_mask_of_range( 26, 51, value ) & ( 'a' + value - 26 ); in mbedtls_ct_base64_enc_char()
338 digit |= mbedtls_ct_uchar_mask_of_range( 52, 61, value ) & ( '0' + value - 52 ); in mbedtls_ct_base64_enc_char()
[all …]
A Dconstant_time_internal.h47 unsigned mbedtls_ct_uint_mask( unsigned value );
62 size_t mbedtls_ct_size_mask( size_t value );
79 mbedtls_mpi_uint mbedtls_ct_mpi_uint_mask( mbedtls_mpi_uint value );
181 unsigned char mbedtls_ct_base64_enc_char( unsigned char value );
/optee_os-3.20.0/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-3.20.0/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-3.20.0/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-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/printable_string/
A Dder_length_printable_string.c13 int code, value; member
96 return printable_table[x].value; in der_printable_char_encode()
106 if (printable_table[x].value == v) { in der_printable_value_decode()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/teletex_string/
A Dder_length_teletex_string.c13 int code, value; member
140 return teletex_table[x].value; in der_teletex_char_encode()
150 if (teletex_table[x].value == v) { in der_teletex_value_decode()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/ia5/
A Dder_length_ia5_string.c13 int code, value; member
124 return ia5_table[x].value; in der_ia5_char_encode()
134 if (ia5_table[x].value == v) { in der_ia5_value_decode()

Completed in 28 milliseconds

12345