| /kernel/linux/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 | 174 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);
|
| 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()
|
| /kernel/linux/linux-4.19/arch/ia64/sn/kernel/sn2/ |
| D | sn_hwperf.c | 149 int ordinal; in sn_hwperf_generic_ordinal() local 152 for (ordinal=0, p=objs; p != obj; p++) { in sn_hwperf_generic_ordinal() 156 ordinal++; in sn_hwperf_generic_ordinal() 159 return ordinal; in sn_hwperf_generic_ordinal() 168 struct sn_hwperf_object_info *objs, int *ordinal) in sn_hwperf_get_slabname() argument 175 *ordinal = sn_hwperf_obj_to_cnode(obj); in sn_hwperf_get_slabname() 178 *ordinal = sn_hwperf_generic_ordinal(obj, objs); in sn_hwperf_get_slabname() 385 int ordinal; in sn_topology_show() local 404 seq_printf(s, "# objtype ordinal location partition" in sn_topology_show() 442 slabname = sn_hwperf_get_slabname(obj, objs, &ordinal); in sn_topology_show() [all …]
|
| /kernel/linux/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() 474 uint32_t ordinal; in tpm_seal() local 510 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal() [all …]
|
| /kernel/linux/linux-4.19/security/keys/ |
| D | trusted.c | 183 uint32_t ordinal; in TSS_checkhmac1() local 198 ordinal = command; in TSS_checkhmac1() 220 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac1() 221 sizeof ordinal); in TSS_checkhmac1() 266 uint32_t ordinal; in TSS_checkhmac2() local 285 ordinal = command; in TSS_checkhmac2() 312 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac2() 313 sizeof ordinal); in TSS_checkhmac2() 468 uint32_t ordinal; in tpm_seal() local 498 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal() [all …]
|
| /kernel/linux/linux-4.19/drivers/char/tpm/ |
| D | tpm.h | 271 __be32 ordinal; member 431 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument 437 head->ordinal = cpu_to_be32(ordinal); in tpm_buf_reset() 440 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument 448 tpm_buf_reset(buf, tag, ordinal); in tpm_buf_init() 544 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); 599 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
|
| D | tpm-interface.c | 52 * Array with one entry per ordinal defining the maximum amount 53 * of time the chip could take to return the result. The ordinal 309 u32 ordinal) in tpm_calc_ordinal_duration() argument 318 if (ordinal < TPM_MAX_ORDINAL) in tpm_calc_ordinal_duration() 319 duration_idx = tpm_ordinal_duration[ordinal]; in tpm_calc_ordinal_duration() 348 cc = be32_to_cpu(header->ordinal); in tpm_validate_command() 437 u32 count, ordinal; in tpm_try_transmit() local 460 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_try_transmit() 490 rc = tpm2_prepare_space(chip, space, ordinal, buf); in tpm_try_transmit() 515 stop = jiffies + tpm2_calc_ordinal_duration(chip, ordinal); in tpm_try_transmit() [all …]
|
| D | xen-tpmfront.c | 143 u32 ordinal; in vtpm_send() local 166 ordinal = be32_to_cpu(((struct tpm_input_header*)buf)->ordinal); in vtpm_send() 167 duration = tpm_calc_ordinal_duration(chip, ordinal); in vtpm_send()
|
| D | tpm2-cmd.c | 44 * Array with one entry per ordinal defining the maximum amount 755 * @ordinal: command code number. 759 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm2_calc_ordinal_duration() argument 764 if (ordinal >= TPM2_CC_FIRST && ordinal <= TPM2_CC_LAST) in tpm2_calc_ordinal_duration() 765 index = tpm2_ordinal_duration[ordinal - TPM2_CC_FIRST]; in tpm2_calc_ordinal_duration()
|
| D | tpm_i2c_nuvoton.c | 369 u32 ordinal; in i2c_nuvoton_send() local 456 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in i2c_nuvoton_send() 458 duration = tpm2_calc_ordinal_duration(chip, ordinal); in i2c_nuvoton_send() 460 duration = tpm_calc_ordinal_duration(chip, ordinal); in i2c_nuvoton_send()
|
| /kernel/linux/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
|
| /kernel/linux/linux-4.19/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
|
| /kernel/linux/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
|
| /kernel/linux/linux-4.19/Documentation/ABI/testing/ |
| D | sysfs-firmware-dmi-entries | 30 derived from an entry type's ordinal position. That is 72 instance: The instance ordinal of the entry for the 75 position: The ordinal position (zero-based) of the entry
|
| /kernel/linux/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 …]
|
| /kernel/linux/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
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | cpufeature.h | 20 * - cpu_feature(x) ordinal value of feature called 'x' 22 * - MAX_CPU_FEATURES upper bound for feature ordinal values
|
| /kernel/linux/linux-4.19/tools/perf/util/ |
| D | auxtrace.c | 429 u64 ordinal) in auxtrace_heapify() argument 435 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify() 441 heap_array[pos].ordinal = ordinal; in auxtrace_heapify() 445 u64 ordinal) in auxtrace_heap__add() argument 462 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add() 498 if (heap_array[left].ordinal < heap_array[right].ordinal) { in auxtrace_heap__pop() 509 heap_array[last].ordinal); in auxtrace_heap__pop()
|
| D | auxtrace.h | 233 * @ordinal: value used for sorting (lowest ordinal is top of the heap) expected 238 u64 ordinal; member 467 u64 ordinal);
|
| /kernel/linux/linux-4.19/drivers/isdn/hardware/eicon/ |
| D | xdi_msg.h | 13 As acknowledge one DWORD - card ordinal will be read from the card
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
| D | TdcPlugin.py | 17 index is the last ordinal number of test that was attempted'''
|