Home
last modified time | relevance | path

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

/linux-4.1.27/arch/ia64/sn/kernel/sn2/
Dsn_hwperf.c149 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
442 slabname = sn_hwperf_get_slabname(obj, objs, &ordinal); in sn_topology_show()
443 seq_printf(s, "%s %d %s %s asic %s", slabname, ordinal, obj->location, in sn_topology_show()
[all …]
/linux-4.1.27/drivers/char/tpm/
Dtpm2-cmd.c231 .ordinal = cpu_to_be32(TPM2_CC_PCR_READ)
279 .ordinal = cpu_to_be32(TPM2_CC_PCR_EXTEND)
323 .ordinal = cpu_to_be32(TPM2_CC_GET_RANDOM)
380 .ordinal = cpu_to_be32(TPM2_CC_GET_CAPABILITY)
419 .ordinal = cpu_to_be32(TPM2_CC_STARTUP)
451 .ordinal = cpu_to_be32(TPM2_CC_SHUTDOWN)
488 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm2_calc_ordinal_duration() argument
493 if (ordinal >= TPM2_CC_FIRST && ordinal <= TPM2_CC_LAST) in tpm2_calc_ordinal_duration()
494 index = tpm2_ordinal_duration[ordinal - TPM2_CC_FIRST]; in tpm2_calc_ordinal_duration()
513 .ordinal = cpu_to_be32(TPM2_CC_SELF_TEST)
Dtpm-interface.c309 u32 ordinal) in tpm_calc_ordinal_duration() argument
313 u8 category = (ordinal >> 24) & 0xFF; in tpm_calc_ordinal_duration()
315 if ((category == TPM_PROTECTED_COMMAND && ordinal < TPM_MAX_ORDINAL) || in tpm_calc_ordinal_duration()
316 (category == TPM_CONNECTION_COMMAND && ordinal < TSC_MAX_ORDINAL)) in tpm_calc_ordinal_duration()
317 duration_idx = tpm_ordinal_duration[ordinal]; in tpm_calc_ordinal_duration()
335 u32 count, ordinal; in tpm_transmit() local
342 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_transmit()
364 stop = jiffies + tpm2_calc_ordinal_duration(chip, ordinal); in tpm_transmit()
366 stop = jiffies + tpm_calc_ordinal_duration(chip, ordinal); in tpm_transmit()
430 .ordinal = TPM_ORD_GET_CAP
[all …]
Dxen-tpmfront.c80 u32 ordinal; in vtpm_send() local
103 ordinal = be32_to_cpu(((struct tpm_input_header*)buf)->ordinal); in vtpm_send()
104 duration = tpm_calc_ordinal_duration(chip, ordinal); in vtpm_send()
Dtpm_i2c_nuvoton.c352 u32 ordinal; in i2c_nuvoton_send() local
438 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in i2c_nuvoton_send()
441 ordinal), in i2c_nuvoton_send()
Dtpm_tis.c416 u32 ordinal; in tpm_tis_send_main() local
428 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_tis_send_main()
431 dur = tpm2_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
433 dur = tpm_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
Dtpm-sysfs.c28 .ordinal = TPM_ORD_READPUBEK
Dtpm.h213 __be32 ordinal; member
/linux-4.1.27/security/keys/
Dtrusted.c182 uint32_t ordinal; in TSS_checkhmac1() local
197 ordinal = command; in TSS_checkhmac1()
219 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac1()
220 sizeof ordinal); in TSS_checkhmac1()
265 uint32_t ordinal; in TSS_checkhmac2() local
284 ordinal = command; in TSS_checkhmac2()
311 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac2()
312 sizeof ordinal); in TSS_checkhmac2()
468 uint32_t ordinal; in tpm_seal() local
498 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal()
[all …]
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-firmware-dmi30 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-4.1.27/drivers/char/tpm/st33zp24/
Dst33zp24.c396 u32 status, i, size, ordinal; in st33zp24_send() local
460 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in st33zp24_send()
463 tpm_calc_ordinal_duration(chip, ordinal), in st33zp24_send()
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-class-tpm83 ordinal has been executed successfully in the chip. A '0'
/linux-4.1.27/Documentation/development-process/
D5.Posting292 where "nn" is the ordinal number of the patch, "mm" is the total number of