Home
last modified time | relevance | path

Searched full:ordinal (Results 1 – 25 of 264) sorted by relevance

1234567891011

/OK3568_Linux_fs/u-boot/drivers/tpm/
H A Dtpm-uclass.c46 u32 ordinal) in tpm_tis_i2c_calc_ordinal_duration() argument
51 if (ordinal < TPM_MAX_ORDINAL) { in tpm_tis_i2c_calc_ordinal_duration()
52 duration_idx = tpm_ordinal_duration[ordinal]; in tpm_tis_i2c_calc_ordinal_duration()
53 } else if ((ordinal & TPM_PROTECTED_ORDINAL_MASK) < in tpm_tis_i2c_calc_ordinal_duration()
56 ordinal & TPM_PROTECTED_ORDINAL_MASK]; in tpm_tis_i2c_calc_ordinal_duration()
74 uint count, ordinal; in tpm_xfer() local
85 ordinal = get_unaligned_be32(sendbuf + TPM_CMD_ORDINAL_BYTE); in tpm_xfer()
102 stop = tpm_tis_i2c_calc_ordinal_duration(priv, ordinal); in tpm_xfer()
H A Dtpm_internal.h19 * Array with one entry per ordinal defining the maximum amount
20 * of time the chip could take to return the result. The ordinal
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A Dtpm-interface.c45 * @ordinal: TPM command ordinal.
48 * to return the result for a particular ordinal in jiffies.
50 * Return: A maximal duration time for an ordinal in jiffies.
52 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm_calc_ordinal_duration() argument
55 return tpm2_calc_ordinal_duration(chip, ordinal); in tpm_calc_ordinal_duration()
57 return tpm1_calc_ordinal_duration(chip, ordinal); in tpm_calc_ordinal_duration()
66 u32 count, ordinal; in tpm_try_transmit() local
76 ordinal = be32_to_cpu(header->ordinal); in tpm_try_transmit()
105 stop = jiffies + tpm_calc_ordinal_duration(chip, ordinal); in tpm_try_transmit()
H A Dtpm2-cmd.c49 * @ordinal: TPM command ordinal.
53 * time the chip could take to return the result for a particular ordinal.
67 static u8 tpm2_ordinal_duration_index(u32 ordinal) in tpm2_ordinal_duration_index() argument
69 switch (ordinal) { in tpm2_ordinal_duration_index()
121 * @ordinal: TPM command ordinal.
124 * to return the result for a particular ordinal in jiffies.
126 * Return: A maximal duration time for an ordinal in jiffies.
128 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm2_calc_ordinal_duration() argument
132 index = tpm2_ordinal_duration_index(ordinal); in tpm2_calc_ordinal_duration()
H A Dtpm1-cmd.c28 * Array with one entry per ordinal defining the maximum amount
29 * of time the chip could take to return the result. The ordinal
284 * @ordinal: TPM command ordinal.
287 * to return the result for a particular ordinal in jiffies.
289 * Return: A maximal duration time for an ordinal in jiffies.
291 unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm1_calc_ordinal_duration() argument
300 if (ordinal < TPM_MAX_ORDINAL) in tpm1_calc_ordinal_duration()
301 duration_idx = tpm1_ordinal_duration[ordinal]; in tpm1_calc_ordinal_duration()
H A Dxen-tpmfront.c140 u32 ordinal; in vtpm_send() local
163 ordinal = be32_to_cpu(((struct tpm_header *)buf)->ordinal); in vtpm_send()
164 duration = tpm_calc_ordinal_duration(chip, ordinal); in vtpm_send()
H A Dtpm.h174 unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
182 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
226 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
/OK3568_Linux_fs/kernel/security/keys/trusted-keys/
H A Dtrusted_tpm1.c185 uint32_t ordinal; in TSS_checkhmac1() local
203 ordinal = command; in TSS_checkhmac1()
225 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac1()
226 sizeof ordinal); in TSS_checkhmac1()
272 uint32_t ordinal; in TSS_checkhmac2() local
291 ordinal = command; in TSS_checkhmac2()
318 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac2()
319 sizeof ordinal); in TSS_checkhmac2()
474 uint32_t ordinal; in tpm_seal() local
510 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dpngconf.h294 /* The ordinal value is only relevant when preprocessing png.h for symbol
300 # define PNG_EXPORTA(ordinal, type, name, args, attributes) \ argument
310 #define PNG_EXPORT(ordinal, type, name, args) \ argument
311 PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)
315 # define PNG_REMOVED(ordinal, type, name, args, attributes) argument
450 # define PNG_FP_EXPORT(ordinal, type, name, args)\ argument
451 PNG_EXPORT(ordinal, type, name, args);
453 # define PNG_FP_EXPORT(ordinal, type, name, args) argument
458 # define PNG_FIXED_EXPORT(ordinal, type, name, args)\ argument
459 PNG_EXPORT(ordinal, type, name, args);
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/
H A Dpngconf.h294 /* The ordinal value is only relevant when preprocessing png.h for symbol
300 # define PNG_EXPORTA(ordinal, type, name, args, attributes) \ argument
310 #define PNG_EXPORT(ordinal, type, name, args) \ argument
311 PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)
315 # define PNG_REMOVED(ordinal, type, name, args, attributes) argument
450 # define PNG_FP_EXPORT(ordinal, type, name, args)\ argument
451 PNG_EXPORT(ordinal, type, name, args);
453 # define PNG_FP_EXPORT(ordinal, type, name, args) argument
458 # define PNG_FIXED_EXPORT(ordinal, type, name, args)\ argument
459 PNG_EXPORT(ordinal, type, name, args);
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/
H A Dpngconf.h294 /* The ordinal value is only relevant when preprocessing png.h for symbol
300 # define PNG_EXPORTA(ordinal, type, name, args, attributes) \ argument
310 #define PNG_EXPORT(ordinal, type, name, args) \ argument
311 PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)
315 # define PNG_REMOVED(ordinal, type, name, args, attributes) argument
450 # define PNG_FP_EXPORT(ordinal, type, name, args)\ argument
451 PNG_EXPORT(ordinal, type, name, args);
453 # define PNG_FP_EXPORT(ordinal, type, name, args) argument
458 # define PNG_FIXED_EXPORT(ordinal, type, name, args)\ argument
459 PNG_EXPORT(ordinal, type, name, args);
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dpngconf.h294 /* The ordinal value is only relevant when preprocessing png.h for symbol
300 # define PNG_EXPORTA(ordinal, type, name, args, attributes) \ argument
310 #define PNG_EXPORT(ordinal, type, name, args) \ argument
311 PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)
315 # define PNG_REMOVED(ordinal, type, name, args, attributes) argument
450 # define PNG_FP_EXPORT(ordinal, type, name, args)\ argument
451 PNG_EXPORT(ordinal, type, name, args);
453 # define PNG_FP_EXPORT(ordinal, type, name, args) argument
458 # define PNG_FIXED_EXPORT(ordinal, type, name, args)\ argument
459 PNG_EXPORT(ordinal, type, name, args);
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dtpm.h282 __be32 ordinal; member
314 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument
320 head->ordinal = cpu_to_be32(ordinal); in tpm_buf_reset()
323 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument
330 tpm_buf_reset(buf, tag, ordinal); in tpm_buf_init()
H A Dcpufeature.h17 * - cpu_feature(x) ordinal value of feature called 'x'
19 * - MAX_CPU_FEATURES upper bound for feature ordinal values
/OK3568_Linux_fs/kernel/crypto/asymmetric_keys/
H A Dasym_tpm.c40 uint32_t ordinal; in tpm_loadkey2() local
43 ordinal = htonl(TPM_ORD_LOADKEY2); in tpm_loadkey2()
61 nonceodd, cont, sizeof(uint32_t), &ordinal, in tpm_loadkey2()
81 ret = TSS_checkhmac1(tb->data, ordinal, nonceodd, keyauth, in tpm_loadkey2()
118 uint32_t ordinal; in tpm_unbind() local
122 ordinal = htonl(TPM_ORD_UNBIND); in tpm_unbind()
141 nonceodd, cont, sizeof(uint32_t), &ordinal, in tpm_unbind()
165 ret = TSS_checkhmac1(tb->data, ordinal, nonceodd, in tpm_unbind()
201 uint32_t ordinal; in tpm_sign() local
205 ordinal = htonl(TPM_ORD_SIGN); in tpm_sign()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/tc-testing/creating-plugins/
H A DAddingPlugins.txt31 def post_suite(self, ordinal) # see "SKIPPING" below
57 The post_suite method will receive the ordinal number of the last
64 The pre_case method will receive the ordinal number of the test
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-firmware-dmi-entries30 derived from an entry type's ordinal position. That is
73 instance The instance ordinal of the entry for the
76 position The ordinal position (zero-based) of the entry
/OK3568_Linux_fs/buildroot/package/espeak/
H A D0002-tr_languages-cast-string_ordinal-init-values.patch26 -const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8
27 +const char string_ordinal[] = {(char)0xc2,(char)0xba,0}; // masculine ordinal character, UTF-8
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/espeak/files/
H A D0002-tr_languages-cast-string_ordinal-init-values.patch27 -const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8
28 +const char string_ordinal[] = {(char)0xc2,(char)0xba,0}; // masculine ordinal character, UTF-8
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/i18n/charmaps/
H A DISO_8859-1,GL.gz1# For use with several test collation definitions, I have produced an 2# 8859.1 charmap, ...
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/i18n/charmaps/
H A DISO_8859-1,GL.gz1# For use with several test collation definitions, I have produced an 2# 8859.1 charmap, ...
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/
H A DBuilt_002dIn-Func_002fProc.html131 <dd><p>Returns the character whose ordinal value is <var>i</var>.
183 <dd><p>Returns the ordinal value of its argument. For example, the ordinal
204 <dd><p>Returns the member of the type <var>t</var> whose ordinal value is <var>i</var>.
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/
H A DBuilt_002dIn-Func_002fProc.html131 <dd><p>Returns the character whose ordinal value is <var>i</var>.
183 <dd><p>Returns the ordinal value of its argument. For example, the ordinal
204 <dd><p>Returns the member of the type <var>t</var> whose ordinal value is <var>i</var>.
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dauxtrace.h279 * @ordinal: value used for sorting (lowest ordinal is top of the heap) expected
284 u64 ordinal; member
532 u64 ordinal);
H A Dauxtrace.c469 u64 ordinal) in auxtrace_heapify() argument
475 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify()
481 heap_array[pos].ordinal = ordinal; in auxtrace_heapify()
485 u64 ordinal) in auxtrace_heap__add() argument
502 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add()
538 if (heap_array[left].ordinal < heap_array[right].ordinal) { in auxtrace_heap__pop()
549 heap_array[last].ordinal); in auxtrace_heap__pop()

1234567891011