| /optee_os/ |
| H A D | .clang-format | 19 AlignOperands: true 31 BinPackArguments: true 32 BinPackParameters: true 37 AfterFunction: true 38 AfterNamespace: true 46 SplitEmptyFunction: true 47 SplitEmptyRecord: true 48 SplitEmptyNamespace: true 109 JavaScriptWrapImports: true 117 ObjCSpaceAfterProperty: true [all …]
|
| /optee_os/core/arch/arm/plat-stm32mp1/ |
| H A D | scmi_server.c | 88 * @state: State of the SCMI voltage domain (true: enable, false: disable) 176 CLOCK_CELL(CK_SCMI_HSE, CK_HSE, "ck_hse", true), 177 CLOCK_CELL(CK_SCMI_HSI, CK_HSI, "ck_hsi", true), 178 CLOCK_CELL(CK_SCMI_CSI, CK_CSI, "ck_csi", true), 179 CLOCK_CELL(CK_SCMI_LSE, CK_LSE, "ck_lse", true), 180 CLOCK_CELL(CK_SCMI_LSI, CK_LSI, "ck_lsi", true), 181 CLOCK_CELL(CK_SCMI_HSE_DIV2, CK_HSE_DIV2, "clk-hse-div2", true), 182 CLOCK_CELL(CK_SCMI_PLL2_Q, PLL2_Q, "pll2_q", true), 183 CLOCK_CELL(CK_SCMI_PLL2_R, PLL2_R, "pll2_r", true), 184 CLOCK_CELL(CK_SCMI_PLL3_P, PLL3_P, "pll3_p", true), [all …]
|
| H A D | main.c | 344 error = true; in configure_srams() 348 error = true; in configure_srams() 352 error = true; in configure_srams() 357 error = true; in configure_srams() 363 error = true; in configure_srams() 367 error = true; in configure_srams() 371 error = true; in configure_srams() 376 error = true; in configure_srams() 559 return true; in stm32mp_allow_probe_shared_device() 564 once = true; in stm32mp_allow_probe_shared_device() [all …]
|
| /optee_os/core/arch/arm/plat-amlogic/scripts/ |
| H A D | aml_bin2img.py | 71 required=True, 75 required=True, 79 required=True, 84 required=True, 89 required=True, 94 required=True, 99 required=True,
|
| /optee_os/ta/pkcs11/src/ |
| H A D | pkcs11_helpers.h | 29 * Return true if and only if attribute ID with companion attribute value 43 /* Return true if the attribute has indirect attributes */ 46 /* Return true if the object class is related to a type-in-class */ 49 /* Return true if the object class relates to a key */ 52 /* Return true if the key type @key_type_id relates to a symmetric key */ 55 /* Return true if the key type @key_type_id relates to an asymmetric key */ 77 /* Return true if attribute is a boolean, false otherwise */
|
| /optee_os/lib/libutils/ext/include/ |
| H A D | trace.h | 55 #define EMSG(...) trace_printf_helper(TRACE_ERROR, true, __VA_ARGS__) 62 #define IMSG(...) trace_printf_helper(TRACE_INFO, true, __VA_ARGS__) 69 #define DMSG(...) trace_printf_helper(TRACE_DEBUG, true, __VA_ARGS__) 76 #define FMSG(...) trace_printf_helper(TRACE_FLOW, true, __VA_ARGS__) 117 #define EMSG_RAW(...) trace_printf_helper_raw(TRACE_ERROR, true, __VA_ARGS__) 124 #define IMSG_RAW(...) trace_printf_helper_raw(TRACE_INFO, true, __VA_ARGS__) 131 #define DMSG_RAW(...) trace_printf_helper_raw(TRACE_DEBUG, true, __VA_ARGS__) 138 #define FMSG_RAW(...) trace_printf_helper_raw(TRACE_FLOW, true, __VA_ARGS__) 150 trace_printf(__func__, __LINE__, TRACE_ERROR, true, __VA_ARGS__)
|
| /optee_os/core/kernel/ |
| H A D | tee_misc.c | 80 return true; in is_valid_conf_and_notnull_size() 83 /* Returns true when buffer 'b' is fully contained in area 'a' */ 92 return true; in core_is_buffer_inside() 96 /* Returns true when buffer 'b' is fully outside area 'a' */ 105 return true; in core_is_buffer_outside() 109 /* Returns true when buffer 'b' intersects area 'a' */ 119 return true; in core_is_buffer_intersect()
|
| H A D | refcount.c | 15 while (true) { in refcount_inc() 23 return true; in refcount_inc() 36 while (true) { in refcount_dec() 43 * return true to indicate that. in refcount_dec()
|
| H A D | wait_queue.c | 86 do_notif(true, wqe->handle, timeout_ms, "sleep", sync_obj, fname, in wq_wait_final_helper() 118 * If next type is wait_read wakeup all wqe with wait_read true. in wq_wake_next() 123 while (true) { in wq_wake_next() 133 wake_type_assigned = true; in wq_wake_next() 139 wqe->done = true; in wq_wake_next() 141 do_wakeup = true; in wq_wake_next() 203 rc = true; in wq_have_condvar()
|
| H A D | tee_ta_manager.c | 129 bool rc = true; in tee_ta_try_set_busy() 132 return true; in tee_ta_try_set_busy() 159 /* Either it's already true or we should set it to true */ in tee_ta_try_set_busy() 160 ctx->busy = true; in tee_ta_try_set_busy() 247 while (true) { in tee_ta_get_session() 287 s->unlink = true; in tee_ta_unlink_session() 382 return true; in check_params() 396 return true; in check_params() 411 return true; in check_params() 468 sess = tee_ta_get_session(csess->id, true, open_sessions); in tee_ta_close_session() [all …]
|
| /optee_os/core/drivers/rstctrl/ |
| H A D | stm32_rstctrl.h | 14 * @set_clr: True is @offset is an atomic SET/CLR register, false otherwise 15 * @inverted: True is reset line is asserted at level 0, false otherwise 16 * @no_deassert: True is reset line cannot be deasserted, false otherwise 17 * @no_timeout: True if reset state cannot be read back for timeout detection
|
| /optee_os/core/include/drivers/ |
| H A D | stm32_rif.h | 67 * Returns true if given CID is authorized, false otherwise. 85 * Returns true if the requested CID can request the semaphore ownership, 98 * @tdcid_state: [out] Set to true if TDCID, false otherwise. 170 return true; in stm32_rif_scid_ok() 177 return true; in stm32_rif_semaphore_enabled_and_ok() 183 *tdcid_state = true; in stm32_rifsc_check_tdcid() 206 return true; in stm32_rif_semaphore_is_available()
|
| H A D | stm32_bsec.h | 114 * @locked: (out) true if shadow-read is locked, false if not locked. 129 * @locked: (out) true if shadow-write is locked, false if not locked. 144 * @locked: (out) true if shadow-program is locked, false if not locked. 152 * @locked: (out) true if permanent lock is locked, false if not locked. 158 * Return true if OTP can be read, false otherwise 164 * Return true if non-secure world is allowed to read the target OTP
|
| /optee_os/core/arch/arm/plat-stm32mp1/scripts/ |
| H A D | stm32image.py | 102 required=True, 106 required=True, 110 required=True, type=int_parse, 114 required=True, type=int_parse, 118 required=True, type=int_parse,
|
| /optee_os/core/include/kernel/ |
| H A D | refcount.h | 15 * Otherwise, it increments the value and returns true. 17 * refcount_dec() decrements the value and returns true when the call 54 /* Increases refcount by 1, return true if val > 0 else false */ 56 /* Decreases refcount by 1, return true if val == 0 else false */
|
| H A D | tee_misc.h | 32 * core_is_buffer_inside() - return true if buffer is inside memory area 33 * core_is_buffer_outside() - return true if buffer is outside area 34 * core_is_buffer_intersect() - return true if buffer overlaps area 37 * core_is_buffer_outside(x,x,x,x)==true.
|
| /optee_os/.github/workflows/ |
| H A D | stales.yml | 25 remove-stale-when-updated: true 26 remove-issue-stale-when-updated: true 27 remove-pr-stale-when-updated: true
|
| /optee_os/lib/libunw/ |
| H A D | unwind_arm64.c | 49 return true; in copy_in_reg() 78 return true; in unwind_stack_arm64() 87 trace_printf_helper_raw(TRACE_ERROR, true, "Call stack:"); in print_stack_arm64() 92 trace_printf_helper_raw(TRACE_ERROR, true, " 0x%0*"PRIxVA, in print_stack_arm64()
|
| H A D | unwind_arm32.c | 102 return true; in copy_in() 173 return true; in unwind_exec_read_byte() 187 return true; in pop_vsp() 313 return true; in unwind_exec_insn() 328 return true; in unwind_tab() 342 return true; in unwind_tab() 347 return true; in unwind_tab() 405 finished = true; in unwind_stack_arm32() 413 trace_printf_helper_raw(TRACE_ERROR, true, "Call stack:"); in print_stack_arm32() 415 trace_printf_helper_raw(TRACE_ERROR, true, " 0x%08" PRIx32, in print_stack_arm32()
|
| /optee_os/scripts/ |
| H A D | ci-host-cleanup.sh | 34 $to_remove || true 36 sudo apt-get autoremove -y || true 37 sudo apt-get clean || true
|
| H A D | bin_to_c.py | 20 parser.add_argument('--bin', required=True, 23 parser.add_argument('--vname', required=True, 27 parser.add_argument('--out', required=True,
|
| H A D | mem_usage.py | 94 universal_newlines=True) 104 universal_newlines=True) 107 in_shdr = True 136 print_sect('RAM Usage', int(first_addr, 16), ram_usage, True, True)
|
| /optee_os/core/drivers/crypto/caam/cipher/ |
| H A D | caam_cipher_mac.c | 235 retstatus = caam_cipher_block(ctx, true, NEED_KEY1, true, &src, in do_update_mac() 258 retstatus = caam_cipher_block(ctx, true, NEED_KEY1, true, &src, in do_update_mac() 325 CIPHER_FINAL(ctx->alg->type, true)); in run_cmac_desc() 328 CIPHER_UPDATE(ctx->alg->type, true)); in run_cmac_desc() 333 CIPHER_INITFINAL(ctx->alg->type, true)); in run_cmac_desc() 337 caam_desc_add_word(desc, CIPHER_INIT(ctx->alg->type, true)); in run_cmac_desc() 542 ret = run_cmac_desc(ctx, &src, &dst, true); in do_update_cmac() 544 ret = run_cmac_desc(ctx, NULL, &dst, true); in do_update_cmac() 607 dinit.encrypt = true; in do_cmac_init() 638 dupdate.encrypt = true; in do_cmac_update() [all …]
|
| /optee_os/core/tests/ |
| H A D | notif_test_wd.c | 52 wd->pending = true; in test_wd_callback() 55 return true; in test_wd_callback() 70 wd->enabled = true; in wd_ndrv_atomic_cb() 144 return true; in periodic_callback()
|
| /optee_os/core/drivers/ |
| H A D | stm32_gpio.c | 173 * @sec_support: True if bank supports pin security protection, else false 174 * @ready: True if configuration is applied, else false 175 * @is_tdcid: True if OP-TEE runs as Trusted Domain CID 208 * @gpioz: True if bank is a GPIOZ bank 455 return true; in pin_is_accessible() 464 accessible = true; in pin_is_accessible() 468 accessible = true; in pin_is_accessible() 471 accessible = true; in pin_is_accessible() 543 return true; in pin_is_accessible() 699 bool pin_non_secure = true; in get_pinctrl_from_fdt() [all …]
|