Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/char/tpm/
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 …]
Dtpm2-cmd.c236 .ordinal = cpu_to_be32(TPM2_CC_PCR_READ)
284 .ordinal = cpu_to_be32(TPM2_CC_PCR_EXTEND)
328 .ordinal = cpu_to_be32(TPM2_CC_GET_RANDOM)
385 .ordinal = cpu_to_be32(TPM2_CC_GET_CAPABILITY)
672 .ordinal = cpu_to_be32(TPM2_CC_STARTUP)
704 .ordinal = cpu_to_be32(TPM2_CC_SHUTDOWN)
741 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm2_calc_ordinal_duration() argument
746 if (ordinal >= TPM2_CC_FIRST && ordinal <= TPM2_CC_LAST) in tpm2_calc_ordinal_duration()
747 index = tpm2_ordinal_duration[ordinal - TPM2_CC_FIRST]; in tpm2_calc_ordinal_duration()
766 .ordinal = cpu_to_be32(TPM2_CC_SELF_TEST)
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.h223 __be32 ordinal; member
417 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument
432 head->ordinal = cpu_to_be32(ordinal); in tpm_buf_init()
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
/linux-4.4.14/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.4.14/tools/perf/util/
Dauxtrace.c398 u64 ordinal) in auxtrace_heapify() argument
404 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify()
410 heap_array[pos].ordinal = ordinal; in auxtrace_heapify()
414 u64 ordinal) in auxtrace_heap__add() argument
431 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add()
467 if (heap_array[left].ordinal < heap_array[right].ordinal) { in auxtrace_heap__pop()
478 heap_array[last].ordinal); in auxtrace_heap__pop()
Dauxtrace.h220 u64 ordinal; member
405 u64 ordinal);
Dintel-pt.c1413 if (pt->heap.heap_array[0].ordinal >= timestamp) in intel_pt_process_queues()
1421 queue_nr, pt->heap.heap_array[0].ordinal, in intel_pt_process_queues()
1427 ts = pt->heap.heap_array[0].ordinal + 1; in intel_pt_process_queues()
Dintel-bts.c568 if (bts->heap.heap_array[0].ordinal > timestamp) in intel_bts_process_queues()
/linux-4.4.14/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-4.4.14/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.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1086 u16 type, ext, ordinal, attr; in bnxt_set_eeprom() local
1114 ordinal = eeprom->offset >> 16; in bnxt_set_eeprom()
1117 return bnxt_flash_nvram(dev, type, ordinal, ext, attr, data, in bnxt_set_eeprom()
/linux-4.4.14/Documentation/ABI/stable/
Dsysfs-class-tpm83 ordinal has been executed successfully in the chip. A '0'
/linux-4.4.14/Documentation/development-process/
D5.Posting292 where "nn" is the ordinal number of the patch, "mm" is the total number of