Home
last modified time | relevance | path

Searched full:source (Results 1 – 25 of 655) sorted by relevance

12345678910>>...27

/optee_os/core/drivers/
H A Dplic.c30 #define PLIC_PRIORITY(base, source) \ argument
32 SHIFT_U32(source, PLIC_PRIORITY_SHIFT_PER_SOURCE) \
34 #define PLIC_PENDING(base, source) \ argument
36 (4 * ((source) / 32)) \
38 #define PLIC_ENABLE(base, source, context) \ argument
41 (4 * ((source) / 32)) \
80 plic_is_pending(struct plic_data *pd, uint32_t source) in plic_is_pending() argument
82 return io_read32(PLIC_PENDING(pd->plic_base, source)) & in plic_is_pending()
83 BIT(source % 32); in plic_is_pending()
86 static void plic_set_pending(struct plic_data *pd, uint32_t source) in plic_set_pending() argument
[all …]
H A Dzynqmp_huk.c35 * Generate HUK source data
41 * HUK source data is later on AES encrypted with device key to shuffle source
44 * Note: Even though the device key is secret used details for HUK source data
47 * Note: You should not change HUK source data generation parameters after
52 * @huk_source: Output buffer for HUK source data
53 * @huk_source_size: Output buffer size for HUK source data
84 DMSG("Use User eFuse %d for HUK source data", i); in tee_zynqmp_generate_huk_src()
151 /* Generate HUK source data */ in tee_otp_get_hw_unique_key()
155 EMSG("Failed to generate HUK source data"); in tee_otp_get_hw_unique_key()
H A Daplic_msi.c3 * Copyright (c) 2025 Beijing Institute of Open Source Chip (BOSC)
26 static void aplic_set_target(struct aplic_data *aplic, uint32_t source, in aplic_set_target() argument
40 (source - 1) * sizeof(uint32_t); in aplic_set_target()
45 uint32_t source) in aplic_get_source_mode() argument
50 (source - 1) * sizeof(uint32_t)); in aplic_get_source_mode()
/optee_os/core/include/drivers/
H A Daplic_priv.h5 * Copyright (c) 2025 Beijing Institute of Open Source Chip (BOSC)
85 uint32_t source) in aplic_enable_interrupt() argument
87 io_write32(aplic->aplic_base + APLIC_SETIENUM, source); in aplic_enable_interrupt()
91 uint32_t source) in aplic_disable_interrupt() argument
93 io_write32(aplic->aplic_base + APLIC_CLRIENUM, source); in aplic_disable_interrupt()
96 static inline void aplic_set_pending(struct aplic_data *aplic, uint32_t source) in aplic_set_pending() argument
98 io_write32(aplic->aplic_base + APLIC_SETIPNUM, source); in aplic_set_pending()
102 uint32_t source) in aplic_clear_pending() argument
104 io_write32(aplic->aplic_base + APLIC_CLRIPNUM, source); in aplic_clear_pending()
113 TEE_Result aplic_set_source_mode(struct aplic_data *aplic, uint32_t source,
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dentropy.h38 /** Critical entropy source failure. */
70 #define MBEDTLS_ENTROPY_SOURCE_STRONG 1 /**< Entropy source is strong */
71 #define MBEDTLS_ENTROPY_SOURCE_WEAK 0 /**< Entropy source is weak */
92 * \brief Entropy source state
95 mbedtls_entropy_f_source_ptr MBEDTLS_PRIVATE(f_source); /**< The entropy source callback */
99 int MBEDTLS_PRIVATE(strong); /**< Is the source strong? */
111 int MBEDTLS_PRIVATE(source_count); /* Number of entries used in source. */
112 mbedtls_entropy_source_state MBEDTLS_PRIVATE(source)[MBEDTLS_ENTROPY_MAX_SOURCES];
145 * \brief Adds an entropy source to poll
151 * \param threshold Minimum required from source before entropy is released
[all …]
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dentropy.c30 memset(ctx->source, 0, sizeof(ctx->source)); in mbedtls_entropy_init()
82 mbedtls_platform_zeroize(ctx->source, sizeof(ctx->source)); in mbedtls_entropy_free()
104 ctx->source[idx].f_source = f_source; in mbedtls_entropy_add_source()
105 ctx->source[idx].p_source = p_source; in mbedtls_entropy_add_source()
106 ctx->source[idx].threshold = threshold; in mbedtls_entropy_add_source()
107 ctx->source[idx].strong = strong; in mbedtls_entropy_add_source()
214 if (ctx->source[i].strong == MBEDTLS_ENTROPY_SOURCE_STRONG) { in entropy_gather_internal()
219 if ((ret = ctx->source[i].f_source(ctx->source[i].p_source, in entropy_gather_internal()
232 ctx->source[i].size += olen; in entropy_gather_internal()
315 if (ctx->source[i].size < ctx->source[i].threshold) { in mbedtls_entropy_func()
[all …]
H A Dentropy_poll.h24 #define MBEDTLS_ENTROPY_MIN_PLATFORM 32 /**< Minimum for platform source */
26 #define MBEDTLS_ENTROPY_MIN_HARDWARE 32 /**< Minimum for the hardware source */
39 * \brief Entropy poll callback for a hardware source
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_math.h86 @param n Source upto bits_per_digit (actually meant for very small constants)
192 @param a The first source integer
193 @param b The second source integer
200 @param a The first source integer
201 @param b The second source integer
209 @param a The first source integer
210 @param b The second source integer
217 @param a The first source integer
218 @param b The second source integer
226 @param a The first source integer
[all …]
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_utils_mem.h97 * Copy source data into the block buffer. Allocate block buffer if
101 * @src Source to copy
102 * @offset Source offset to start
111 * @src_data Source to copy
140 * Copy source data into the destination buffer removing non-significant
142 * If all source @src buffer is zero, left only one zero in the destination.
145 * @src Source to copy
/optee_os/lib/libmbedtls/mbedtls/
H A DLICENSE34 "Source" form shall mean the preferred form for making modifications,
35 including but not limited to software source code, documentation
36 source, and configuration files.
39 transformation or translation of a Source form, including but
43 "Work" shall mean the work of authorship, whether in Source or
48 "Derivative Works" shall mean any work, whether in Source or Object
64 communication on electronic mailing lists, source code control systems,
79 Work and such Derivative Works in Source or Object form.
99 modifications, and in Source or Object form, provided that You
108 (c) You must retain, in the Source form of any Derivative Works
[all …]
H A Ddco.txt18 have the right to submit it under the open source license
22 of my knowledge, is covered under an appropriate open source
25 by me, under the same open source license (unless I am
37 this project or the open source license(s) involved.
H A DREADME.md52 * Perl to run the tests, and to generate some source files in the development branch.
61 ### Generated source files in the development branch
63 The source code of Mbed TLS includes some files that are automatically generated by scripts and who…
67 * Perl, for some library source files and for Visual Studio build files.
68 * Python 3.8 and some Python packages, for some library source files, sample programs and test data…
91 In order to build from the source code using GNU Make, just enter at the command line:
119 In order to build the source using CMake in a separate directory (recommended), just enter at the c…
174 the Mbed TLS source directory, use:
232 …be generated first as described in [“Generated source files in the development branch”](#generated…
279 …analyses, hardware and firmware architecture specifications, and an open source firmware reference…
[all …]
/optee_os/core/arch/arm/plat-amlogic/scripts/
H A Daml_bin2img.py42 def aml_create_header_file(source, dest, entry, res_mem_start, res_mem_size, argument
45 src_fd = open(source, 'rb')
70 parser.add_argument('--source',
72 help='Source file')
109 source_file = args.source
/optee_os/core/arch/arm/plat-stm32mp1/scripts/
H A Dstm32image.py76 def stm32image_create_header_file(source, dest, load, entry, bintype): argument
78 src_fd = open(source, 'rb')
101 parser.add_argument('--source',
103 help='Source file')
126 source_file = args.source
/optee_os/lib/libutils/compiler-rt/
H A DLICENSE.TXT30 "Source" form shall mean the preferred form for making modifications,
31 including but not limited to software source code, documentation
32 source, and configuration files.
35 transformation or translation of a Source form, including but
39 "Work" shall mean the work of authorship, whether in Source or
44 "Derivative Works" shall mean any work, whether in Source or Object
60 communication on electronic mailing lists, source code control systems,
75 Work and such Derivative Works in Source or Object form.
95 modifications, and in Source or Object form, provided that You
104 (c) You must retain, in the Source form of any Derivative Works
[all …]
H A DREADME.txt4 This directory and its subdirectories contain source code for the compiler
7 Compiler-RT is open source software. You may freely distribute it under the
/optee_os/lib/libutils/isoc/arch/arm/softfloat/
H A DREADME.html20 SoftFloat is distributed in the form of C source code.
36 <TD><A HREF="doc/SoftFloat-source.html"><CODE>SoftFloat-source.html</CODE></A></TD>
45 Other files in the package comprise the source code for SoftFloat.
H A DREADME.txt9 is distributed in the form of C source code. Building the SoftFloat sources
17 SoftFloat-source.html Documentation for building SoftFloat.
20 Other files in the package comprise the source code for SoftFloat.
H A DCOPYING.txt8 each source file individually.
13 Redistribution and use in source and binary forms, with or without
16 1. Redistributions of source code must retain the above copyright notice,
/optee_os/lib/libutils/isoc/arch/arm/softfloat/doc/
H A DSoftFloat-source.html5 <TITLE>Berkeley SoftFloat Source Documentation</TITLE>
10 <H1>Berkeley SoftFloat Release 3a: Source Documentation</H1>
60 The source code for SoftFloat is intended to be relatively machine-independent
152 as to each source file individually.
162 Redistribution and use in source and binary forms, with or without
168 Redistributions of source code must retain the above copyright notice, this
207 Because SoftFloat is targeted to multiple platforms, its source code is
214 source
229 The majority of the SoftFloat sources are provided in the <CODE>source</CODE>
231 The <CODE>include</CODE> subdirectory of <CODE>source</CODE> contains several
[all …]
/optee_os/core/include/dt-bindings/gpio/
H A Dgpio.h21 /* Bit 2 express Open drain or open source */
27 * Open Source/Emitter is the combination of single-ended open source interface.
/optee_os/core/arch/arm/plat-stm32mp1/
H A Dlink.mk14 $(stm32image_cmd) --source $< --dest $@ --bintype 0x20
19 $(stm32image_cmd) --source $< --dest $@ --bintype 0x21
24 $(stm32image_cmd) --source $< --dest $@ --bintype 0x22
/optee_os/ta/pkcs11/src/
H A Dprocessing.h36 * @source_type: Type of source.
37 * @source_data_len: Length of the source data.
38 * @source_data: Source data.
54 * @source_type: Type of source.
55 * @source_data_len: Length of the source data.
56 * @source_data: Source data.
/optee_os/core/include/dt-bindings/clock/
H A Dstm32mp21-clksrc.h89 /* KERNEL source clocks */
118 /* PLLs source clocks */
124 /* XBAR source clocks */
142 * Configure a XBAR channel with its clock source
144 * sel: one of the 15 previous XBAR source clocks defines
/optee_os/core/arch/arm/kernel/
H A Dspin_lock_a64.S6 * Redistribution and use in source and binary forms, with or without
9 * 1. Redistributions of source code must retain the above copyright notice,
32 * Redistribution and use in source and binary forms, with or without
35 * Redistributions of source code must retain the above copyright notice, this

12345678910>>...27