Home
last modified time | relevance | path

Searched refs:ordinal (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.4/drivers/char/tpm/
Dtpm.h173 __be32 ordinal; member
292 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument
298 head->ordinal = cpu_to_be32(ordinal); in tpm_buf_reset()
301 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument
309 tpm_buf_reset(buf, tag, ordinal); in tpm_buf_init()
390 unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
398 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
456 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
Dtpm-interface.c51 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm_calc_ordinal_duration() argument
54 return tpm2_calc_ordinal_duration(chip, ordinal); in tpm_calc_ordinal_duration()
56 return tpm1_calc_ordinal_duration(chip, ordinal); in tpm_calc_ordinal_duration()
65 u32 count, ordinal; in tpm_try_transmit() local
75 ordinal = be32_to_cpu(header->ordinal); in tpm_try_transmit()
104 stop = jiffies + tpm_calc_ordinal_duration(chip, ordinal); in tpm_try_transmit()
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()
Dtpm1-cmd.c291 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()
Dtpm_i2c_nuvoton.c357 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()
Dtpm2-cmd.c81 static u8 tpm2_ordinal_duration_index(u32 ordinal) in tpm2_ordinal_duration_index() argument
83 switch (ordinal) { in tpm2_ordinal_duration_index()
142 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm2_calc_ordinal_duration() argument
146 index = tpm2_ordinal_duration_index(ordinal); in tpm2_calc_ordinal_duration()
Dtpm_vtpm_proxy.c307 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()
Dtpm_tis_core.c457 u32 ordinal; in tpm_tis_send_main() local
470 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_tis_send_main()
472 dur = tpm_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
Dtpm2-space.c275 cc = be32_to_cpu(header->ordinal); in tpm_find_and_validate_cc()
/Linux-v5.4/security/keys/
Dtrusted.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()
477 uint32_t ordinal; in tpm_seal() local
507 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal()
[all …]
/Linux-v5.4/crypto/asymmetric_keys/
Dasym_tpm.c44 uint32_t ordinal; in tpm_loadkey2() local
47 ordinal = htonl(TPM_ORD_LOADKEY2); in tpm_loadkey2()
65 nonceodd, cont, sizeof(uint32_t), &ordinal, in tpm_loadkey2()
88 ret = TSS_checkhmac1(tb->data, ordinal, nonceodd, keyauth, in tpm_loadkey2()
128 uint32_t ordinal; in tpm_unbind() local
132 ordinal = htonl(TPM_ORD_UNBIND); in tpm_unbind()
151 nonceodd, cont, sizeof(uint32_t), &ordinal, in tpm_unbind()
178 ret = TSS_checkhmac1(tb->data, ordinal, nonceodd, in tpm_unbind()
214 uint32_t ordinal; in tpm_sign() local
218 ordinal = htonl(TPM_ORD_SIGN); in tpm_sign()
[all …]
/Linux-v5.4/tools/testing/selftests/tc-testing/creating-plugins/
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
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-firmware-dmi-entries30 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
/Linux-v5.4/drivers/char/tpm/st33zp24/
Dst33zp24.c359 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-v5.4/tools/perf/util/
Dauxtrace.c425 u64 ordinal) in auxtrace_heapify() argument
431 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify()
437 heap_array[pos].ordinal = ordinal; in auxtrace_heapify()
441 u64 ordinal) in auxtrace_heap__add() argument
458 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add()
494 if (heap_array[left].ordinal < heap_array[right].ordinal) { in auxtrace_heap__pop()
505 heap_array[last].ordinal); in auxtrace_heap__pop()
Dauxtrace.h244 u64 ordinal; member
476 u64 ordinal);
Ds390-cpumsf.c855 if (sf->heap.heap_array[0].ordinal >= timestamp) in s390_cpumsf_process_queues()
864 ts = sf->heap.heap_array[0].ordinal + 1; in s390_cpumsf_process_queues()
Dintel-bts.c564 if (bts->heap.heap_array[0].ordinal > timestamp) in intel_bts_process_queues()
Dintel-pt.c2261 if (pt->heap.heap_array[0].ordinal >= timestamp) in intel_pt_process_queues()
2269 queue_nr, pt->heap.heap_array[0].ordinal, in intel_pt_process_queues()
2275 ts = pt->heap.heap_array[0].ordinal + 1; in intel_pt_process_queues()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1707 static int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal,
2219 static int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal, in bnxt_find_nvram_item() argument
2232 req.dir_ordinal = cpu_to_le16(ordinal); in bnxt_find_nvram_item()
2354 u16 type, ext, ordinal, attr; in bnxt_set_eeprom() local
2382 ordinal = eeprom->offset >> 16; in bnxt_set_eeprom()
2385 return bnxt_flash_nvram(dev, type, ordinal, ext, attr, data, in bnxt_set_eeprom()
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dcommon.txt29 an ordinal number.
/Linux-v5.4/Documentation/ABI/stable/
Dsysfs-class-tpm83 ordinal has been executed successfully in the chip. A '0'
/Linux-v5.4/Documentation/leds/
Dleds-class.rst69 be required for given platform, differing only with an ordinal number.
/Linux-v5.4/tools/testing/selftests/tc-testing/
DREADME207 The pre-case hook receives the ordinal number and test id of the current test.
/Linux-v5.4/Documentation/process/
D5.Posting.rst316 where "nn" is the ordinal number of the patch, "mm" is the total number of

12