/linux-5.10/drivers/char/tpm/ |
D | tpm-interface.c | 45 * @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()
|
D | tpm2-cmd.c | 49 * @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()
|
D | tpm1-cmd.c | 28 * 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()
|
D | tpm.h | 176 unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); 184 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); 230 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
|
D | xen-tpmfront.c | 140 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()
|
D | tpm_i2c_nuvoton.c | 357 u32 ordinal; in i2c_nuvoton_send() local 444 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in i2c_nuvoton_send() 445 duration = tpm_calc_ordinal_duration(chip, ordinal); in i2c_nuvoton_send()
|
D | tpm_vtpm_proxy.c | 307 switch (be32_to_cpu(hdr->ordinal)) { in vtpm_proxy_is_driver_command() 312 switch (be32_to_cpu(hdr->ordinal)) { in vtpm_proxy_is_driver_command()
|
D | tpm_tis_core.c | 471 u32 ordinal; in tpm_tis_send_main() local 484 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_tis_send_main() 486 dur = tpm_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
|
/linux-5.10/security/keys/trusted-keys/ |
D | trusted_tpm1.c | 185 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() 471 uint32_t ordinal; in tpm_seal() local 501 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal() [all …]
|
/linux-5.10/include/linux/ |
D | tpm.h | 281 __be32 ordinal; member 313 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument 319 head->ordinal = cpu_to_be32(ordinal); in tpm_buf_reset() 322 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument 329 tpm_buf_reset(buf, tag, ordinal); in tpm_buf_init()
|
D | cpufeature.h | 17 * - cpu_feature(x) ordinal value of feature called 'x' 19 * - MAX_CPU_FEATURES upper bound for feature ordinal values
|
D | virtio.h | 20 * @index: the zero-based ordinal number for this queue.
|
/linux-5.10/tools/testing/selftests/tc-testing/creating-plugins/ |
D | AddingPlugins.txt | 31 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
|
/linux-5.10/crypto/asymmetric_keys/ |
D | asym_tpm.c | 40 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 …]
|
/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-firmware-dmi-entries | 30 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
|
/linux-5.10/tools/testing/selftests/tc-testing/ |
D | TdcPlugin.py | 17 index is the last ordinal number of test that was attempted'''
|
/linux-5.10/tools/perf/util/ |
D | auxtrace.h | 279 * @ordinal: value used for sorting (lowest ordinal is top of the heap) expected 284 u64 ordinal; member 532 u64 ordinal);
|
D | auxtrace.c | 473 u64 ordinal) in auxtrace_heapify() argument 479 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify() 485 heap_array[pos].ordinal = ordinal; in auxtrace_heapify() 489 u64 ordinal) in auxtrace_heap__add() argument 506 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add() 542 if (heap_array[left].ordinal < heap_array[right].ordinal) { in auxtrace_heap__pop() 553 heap_array[last].ordinal); in auxtrace_heap__pop()
|
D | arm-spe.c | 512 if (spe->heap.heap_array[0].ordinal >= timestamp) in arm_spe_process_queues() 522 ts = spe->heap.heap_array[0].ordinal + 1; in arm_spe_process_queues()
|
/linux-5.10/drivers/char/tpm/st33zp24/ |
D | st33zp24.c | 359 u32 status, i, size, ordinal; in st33zp24_send() local 418 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in st33zp24_send() 421 tpm_calc_ordinal_duration(chip, ordinal), in st33zp24_send()
|
/linux-5.10/drivers/s390/crypto/ |
D | zcrypt_ep11misc.h | 88 u32 API_ord_nr; /* API ordinal number */
|
/linux-5.10/Documentation/devicetree/bindings/leds/ |
D | common.yaml | 51 needed, differing only with an ordinal number.
|
/linux-5.10/Documentation/leds/ |
D | leds-class.rst | 69 be required for given platform, differing only with an ordinal number.
|
/linux-5.10/lib/ |
D | bitmap.c | 779 * bitmap_pos_to_ord - find ordinal of set bit at given position in bitmap 785 * ordinal of which set bit it is. If it is not set or if @pos 807 * @ord: ordinal bit position (n-th set bit, n >= 0) 810 * Map the ordinal offset of bit @ord in @buf to its position in @buf.
|
/linux-5.10/Documentation/ABI/stable/ |
D | sysfs-class-tpm | 83 ordinal has been executed successfully in the chip. A '0'
|