/linux/security/keys/trusted-keys/ |
A D | trusted_tpm1.c | 178 uint32_t ordinal; in TSS_checkhmac1() local 196 ordinal = command; in TSS_checkhmac1() 219 sizeof ordinal); in TSS_checkhmac1() 265 uint32_t ordinal; in TSS_checkhmac2() local 284 ordinal = command; in TSS_checkhmac2() 312 sizeof ordinal); in TSS_checkhmac2() 467 uint32_t ordinal; in tpm_seal() local 503 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal() 589 uint32_t ordinal; in tpm_unseal() local 604 ordinal = htonl(TPM_ORD_UNSEAL); in tpm_unseal() [all …]
|
/linux/drivers/char/tpm/ |
A D | tpm-interface.c | 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()
|
A 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);
|
A 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()
|
A D | tpm2-cmd.c | 67 static u8 tpm2_ordinal_duration_index(u32 ordinal) in tpm2_ordinal_duration_index() argument 69 switch (ordinal) { in tpm2_ordinal_duration_index() 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()
|
A D | tpm1-cmd.c | 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()
|
A 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()
|
A 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()
|
A D | tpm_tis_core.c | 439 u32 ordinal; in tpm_tis_send_main() local 452 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_tis_send_main() 454 dur = tpm_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
|
A D | tpm2-space.c | 278 cc = be32_to_cpu(header->ordinal); in tpm_find_and_validate_cc()
|
/linux/crypto/asymmetric_keys/ |
A 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() 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() 224 nonceodd, cont, sizeof(uint32_t), &ordinal, in tpm_sign() [all …]
|
/linux/include/linux/ |
A D | tpm.h | 289 __be32 ordinal; member 323 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument 329 head->ordinal = cpu_to_be32(ordinal); in tpm_buf_reset() 332 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument 339 tpm_buf_reset(buf, tag, ordinal); in tpm_buf_init()
|
/linux/tools/testing/selftests/tc-testing/creating-plugins/ |
A 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/Documentation/ABI/testing/ |
A 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
|
A D | sysfs-firmware-sgi_uv | 57 unique ordinal value (ex. /sys/firmware/sgi_uv/hubs/hub_5) 96 A port object's name is appended by a unique ordinal value
|
/linux/drivers/char/tpm/st33zp24/ |
A 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/drivers/platform/x86/ |
A D | uv_sysfs.c | 53 static int ordinal_to_nasid(int ordinal) in ordinal_to_nasid() argument 55 if (ordinal < num_cnodes && ordinal >= 0) in ordinal_to_nasid() 56 return UV_PNODE_TO_NASID(uv_blade_to_pnode(ordinal)); in ordinal_to_nasid()
|
/linux/tools/perf/util/ |
A D | auxtrace.c | 462 u64 ordinal) in auxtrace_heapify() argument 468 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify() 474 heap_array[pos].ordinal = ordinal; in auxtrace_heapify() 478 u64 ordinal) in auxtrace_heap__add() argument 495 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add() 531 if (heap_array[left].ordinal < heap_array[right].ordinal) { in auxtrace_heap__pop() 542 heap_array[last].ordinal); in auxtrace_heap__pop()
|
A D | auxtrace.h | 297 u64 ordinal; member 536 u64 ordinal);
|
A D | s390-cpumsf.c | 855 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()
|
A D | arm-spe.c | 667 if (spe->heap.heap_array[0].ordinal >= timestamp) in arm_spe_process_queues() 677 ts = spe->heap.heap_array[0].ordinal + 1; in arm_spe_process_queues()
|
/linux/Documentation/powerpc/ |
A D | associativity.rst | 35 (domainID index) that represents the 1 based ordinal in the associativity lists.
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ethtool.c | 2139 static int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal, 2769 static int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal, in bnxt_find_nvram_item() argument 2785 req->dir_ordinal = cpu_to_le16(ordinal); in bnxt_find_nvram_item() 2928 u16 type, ext, ordinal, attr; in bnxt_set_eeprom() local 2956 ordinal = eeprom->offset >> 16; in bnxt_set_eeprom() 2959 return bnxt_flash_nvram(dev, type, ordinal, ext, attr, 0, data, in bnxt_set_eeprom()
|
/linux/Documentation/devicetree/bindings/leds/ |
A D | common.yaml | 51 needed, differing only with an ordinal number.
|
/linux/Documentation/ABI/stable/ |
A D | sysfs-class-tpm | 83 ordinal has been executed successfully in the chip. A '0'
|