/openbmc/u-boot/drivers/tpm/ |
H A D | tpm-uclass.c | 62 u32 ordinal) in tpm_tis_i2c_calc_ordinal_duration() argument 67 if (ordinal < TPM_MAX_ORDINAL) { in tpm_tis_i2c_calc_ordinal_duration() 68 duration_idx = tpm_ordinal_duration[ordinal]; in tpm_tis_i2c_calc_ordinal_duration() 69 } else if ((ordinal & TPM_PROTECTED_ORDINAL_MASK) < in tpm_tis_i2c_calc_ordinal_duration() 72 ordinal & TPM_PROTECTED_ORDINAL_MASK]; in tpm_tis_i2c_calc_ordinal_duration() 90 uint count, ordinal; in tpm_xfer() local 101 ordinal = get_unaligned_be32(sendbuf + TPM_CMD_ORDINAL_BYTE); in tpm_xfer() 118 stop = tpm_tis_i2c_calc_ordinal_duration(priv, ordinal); in tpm_xfer()
|
H A D | tpm_internal.h | 18 * Array with one entry per ordinal defining the maximum amount 19 * of time the chip could take to return the result. The ordinal
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm-interface.c | 45 * @ordinal: TPM command ordinal. 48 * to return the result for a particular ordinal in jiffies. 50 * Return: A maximal duration time for an ordinal in jiffies. 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()
|
H A D | tpm2-cmd.c | 49 * @ordinal: TPM command ordinal. 53 * time the chip could take to return the result for a particular ordinal. 67 static u8 tpm2_ordinal_duration_index(u32 ordinal) in tpm2_ordinal_duration_index() argument 69 switch (ordinal) { in tpm2_ordinal_duration_index() 121 * @ordinal: TPM command ordinal. 124 * to return the result for a particular ordinal in jiffies. 126 * Return: A maximal duration time for an ordinal in jiffies. 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()
|
H A D | tpm1-cmd.c | 28 * Array with one entry per ordinal defining the maximum amount 29 * of time the chip could take to return the result. The ordinal 284 * @ordinal: TPM command ordinal. 287 * to return the result for a particular ordinal in jiffies. 289 * Return: A maximal duration time for an ordinal in jiffies. 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()
|
H 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()
|
H A D | tpm.h | 248 unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); 256 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); 302 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
|
H 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()
|
/openbmc/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm1.c | 178 uint32_t ordinal; in TSS_checkhmac1() local 196 ordinal = command; in TSS_checkhmac1() 218 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac1() 219 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() 467 uint32_t ordinal; in tpm_seal() local 503 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H 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 105 ordinal value of the hub on the other end of the fabric 110 ordinal value of the port on the other end of the fabric cable
|
H 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
|
/openbmc/linux/tools/testing/selftests/tc-testing/creating-plugins/ |
H 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
|
/openbmc/linux/include/linux/ |
H A D | tpm.h | 295 __be32 ordinal; member 329 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument 335 head->ordinal = cpu_to_be32(ordinal); in tpm_buf_reset() 338 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument 345 tpm_buf_reset(buf, tag, ordinal); in tpm_buf_init()
|
H A D | cpufeature.h | 17 * - cpu_feature(x) ordinal value of feature called 'x' 19 * - MAX_CPU_FEATURES upper bound for feature ordinal values
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/espeak/files/ |
H A D | 0002-tr_languages-cast-string_ordinal-init-values.patch | 27 -const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8 28 +const char string_ordinal[] = {(char)0xc2,(char)0xba,0}; // masculine ordinal character, UTF-8
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.h | 61 int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal, 64 int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal,
|
/openbmc/qemu/backends/tpm/ |
H A D | tpm_util.c | 186 .ordinal = cpu_to_be32(TPM_ORD_GetTicks), in tpm_util_test_tpmdev() 192 .ordinal = cpu_to_be32(TPM2_CC_ReadClock), in tpm_util_test_tpmdev() 236 .ordinal = cpu_to_be32(TPM_ORD_GetCapability), in tpm_util_get_buffer_size() 280 .ordinal = cpu_to_be32(TPM2_CC_GetCapability), in tpm_util_get_buffer_size()
|
H A D | tpm_int.h | 28 uint32_t ordinal; member
|
/openbmc/qemu/tests/qtest/ |
H A D | tpm-emu.h | 30 uint32_t code; /*ordinal/error */
|
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3/ |
H A D | 0001-skip-no_stdout_fileno-test-due-to-load-variability.patch | 23 "byte 0xe9 in position 4: ordinal not in "
|
/openbmc/linux/drivers/char/tpm/st33zp24/ |
H A D | st33zp24.c | 306 u32 status, i, size, ordinal; in st33zp24_send() local 365 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in st33zp24_send() 368 tpm_calc_ordinal_duration(chip, ordinal), in st33zp24_send()
|
/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | TdcPlugin.py | 17 index is the last ordinal number of test that was attempted'''
|
/openbmc/linux/tools/perf/util/ |
H A D | auxtrace.h | 303 * @ordinal: value used for sorting (lowest ordinal is top of the heap) expected 308 u64 ordinal; member 552 u64 ordinal);
|
H A D | auxtrace.c | 472 u64 ordinal) in auxtrace_heapify() argument 478 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify() 484 heap_array[pos].ordinal = ordinal; in auxtrace_heapify() 488 u64 ordinal) in auxtrace_heap__add() argument 505 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add() 541 if (heap_array[left].ordinal < heap_array[right].ordinal) { in auxtrace_heap__pop() 552 heap_array[last].ordinal); in auxtrace_heap__pop()
|
/openbmc/linux/drivers/platform/x86/ |
H 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()
|