Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/char/tpm/
Dtpm.h270 __be32 ordinal; member
427 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument
433 head->ordinal = cpu_to_be32(ordinal); in tpm_buf_reset()
436 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument
444 tpm_buf_reset(buf, tag, ordinal); in tpm_buf_init()
540 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
595 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
Dtpm-interface.c309 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()
488 rc = tpm2_prepare_space(chip, space, ordinal, buf); in tpm_try_transmit()
504 stop = jiffies + tpm2_calc_ordinal_duration(chip, ordinal); in tpm_try_transmit()
506 stop = jiffies + tpm_calc_ordinal_duration(chip, ordinal); in tpm_try_transmit()
545 rc = tpm2_commit_space(chip, space, ordinal, buf, &len); in tpm_try_transmit()
[all …]
Dxen-tpmfront.c143 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()
Dtpm_i2c_nuvoton.c371 u32 ordinal; in i2c_nuvoton_send() local
457 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in i2c_nuvoton_send()
460 ordinal), in i2c_nuvoton_send()
Dtpm2-cmd.c757 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm2_calc_ordinal_duration() argument
762 if (ordinal >= TPM2_CC_FIRST && ordinal <= TPM2_CC_LAST) in tpm2_calc_ordinal_duration()
763 index = tpm2_ordinal_duration[ordinal - TPM2_CC_FIRST]; in tpm2_calc_ordinal_duration()
Dtpm_tis_core.c461 u32 ordinal; in tpm_tis_send_main() local
474 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_tis_send_main()
477 dur = tpm2_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
479 dur = tpm_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
Dtpm_vtpm_proxy.c312 switch (be32_to_cpu(hdr->ordinal)) { in vtpm_proxy_is_driver_command()
317 switch (be32_to_cpu(hdr->ordinal)) { in vtpm_proxy_is_driver_command()
/Linux-v4.19/security/keys/
Dtrusted.c183 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 …]
/Linux-v4.19/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-v4.19/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-v4.19/tools/perf/util/
Dauxtrace.c429 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()
Dauxtrace.h235 u64 ordinal; member
464 u64 ordinal);
Ds390-cpumsf.c703 if (sf->heap.heap_array[0].ordinal >= timestamp) in s390_cpumsf_process_queues()
712 ts = sf->heap.heap_array[0].ordinal + 1; in s390_cpumsf_process_queues()
Dintel-pt.c1721 if (pt->heap.heap_array[0].ordinal >= timestamp) in intel_pt_process_queues()
1729 queue_nr, pt->heap.heap_array[0].ordinal, in intel_pt_process_queues()
1735 ts = pt->heap.heap_array[0].ordinal + 1; in intel_pt_process_queues()
Dintel-bts.c580 if (bts->heap.heap_array[0].ordinal > timestamp) in intel_bts_process_queues()
/Linux-v4.19/drivers/char/tpm/st33zp24/
Dst33zp24.c371 u32 status, i, size, ordinal; in st33zp24_send() local
430 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in st33zp24_send()
433 tpm_calc_ordinal_duration(chip, ordinal), in st33zp24_send()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1408 static int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal,
1915 static int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal, in bnxt_find_nvram_item() argument
1928 req.dir_ordinal = cpu_to_le16(ordinal); in bnxt_find_nvram_item()
2050 u16 type, ext, ordinal, attr; in bnxt_set_eeprom() local
2078 ordinal = eeprom->offset >> 16; in bnxt_set_eeprom()
2081 return bnxt_flash_nvram(dev, type, ordinal, ext, attr, data, in bnxt_set_eeprom()
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-class-tpm83 ordinal has been executed successfully in the chip. A '0'
/Linux-v4.19/tools/testing/selftests/tc-testing/
DREADME200 The pre-case hook receives the ordinal number and test id of the current test.
/Linux-v4.19/Documentation/process/
D5.Posting.rst311 where "nn" is the ordinal number of the patch, "mm" is the total number of
/Linux-v4.19/tools/power/pm-graph/
Dsleepgraph.py3653 def ordinal(value): function
3733 testdesc = ordinal(data.testnumber+1)+' '+testdesc
3744 testdesc1 = testdesc2 = ordinal(data.testnumber+1)
3764 testdesc = ordinal(data.testnumber+1)+' '+testdesc
/Linux-v4.19/Documentation/media/uapi/v4l/
Dhist-v4l2.rst272 ordinal numbers. c) There is no point in inventing a new line