| /linux/drivers/hid/ |
| H A D | hid-haptic.c | 239 int i, ordinal = 0; in hid_haptic_upload_effect() local 252 ordinal = i; in hid_haptic_upload_effect() 256 if (ordinal < 1) in hid_haptic_upload_effect() 261 ordinal); in hid_haptic_upload_effect() 340 int ordinal; in hid_haptic_erase() local 345 ordinal = haptic->release_ordinal; in hid_haptic_erase() 346 if (!ordinal) { in hid_haptic_erase() 347 ordinal = HID_HAPTIC_ORDINAL_WAVEFORMNONE; in hid_haptic_erase() 354 ordinal); in hid_haptic_erase() 356 ordinal = haptic->press_ordinal; in hid_haptic_erase() [all …]
|
| /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() 208 sha1_update(&sha_ctx, (const u8 *)&ordinal, sizeof(ordinal)); in TSS_checkhmac1() 244 uint32_t ordinal; in TSS_checkhmac2() local 263 ordinal = command; in TSS_checkhmac2() 280 sha1_update(&sha_ctx, (const u8 *)&ordinal, sizeof(ordinal)); in TSS_checkhmac2() 433 uint32_t ordinal; in tpm_seal() local 467 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal() 481 sizeof(uint32_t), &ordinal, SHA1_DIGEST_SIZE, in tpm_seal() 489 sizeof(uint32_t), &ordinal, SHA1_DIGEST_SIZE, in tpm_seal() [all …]
|
| /linux/drivers/char/tpm/ |
| H A D | tpm-buf.c | 18 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument 24 tpm_buf_reset(buf, tag, ordinal); in tpm_buf_init() 35 void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument 46 head->ordinal = cpu_to_be32(ordinal); in tpm_buf_reset()
|
| H 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(ordinal); in tpm_calc_ordinal_duration() 57 return tpm1_calc_ordinal_duration(chip, ordinal); in tpm_calc_ordinal_duration() 97 u32 count, ordinal; in tpm_try_transmit() local 107 ordinal = be32_to_cpu(header->ordinal); in tpm_try_transmit() 147 stop = jiffies + tpm_calc_ordinal_duration(chip, ordinal); in tpm_try_transmit()
|
| H A D | xen-tpmfront.c | 141 u32 ordinal; in vtpm_send() local 164 ordinal = be32_to_cpu(((struct tpm_header *)buf)->ordinal); in vtpm_send() 165 duration = tpm_calc_ordinal_duration(chip, ordinal); in vtpm_send()
|
| H A D | tpm2-sessions.c | 132 __be32 ordinal; member 602 auth->ordinal = head->ordinal; in tpm_buf_fill_hmac_session() 604 cc = be32_to_cpu(head->ordinal); in tpm_buf_fill_hmac_session() 690 sha256_update(&sctx, (u8 *)&head->ordinal, sizeof(head->ordinal)); in tpm_buf_fill_hmac_session() 774 cc = be32_to_cpu(auth->ordinal); in tpm_buf_check_hmac_response() 832 sha256_update(&sctx, (u8 *)&auth->ordinal, sizeof(auth->ordinal)); in tpm_buf_check_hmac_response()
|
| H A D | tpm2-cmd.c | 58 unsigned long ordinal; member 86 unsigned long tpm2_calc_ordinal_duration(u32 ordinal) in tpm2_calc_ordinal_duration() argument 91 if (ordinal == tpm2_ordinal_duration_map[i].ordinal) in tpm2_calc_ordinal_duration()
|
| H A D | tpm_i2c_nuvoton.c | 359 u32 ordinal; in i2c_nuvoton_send() local 446 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in i2c_nuvoton_send() 447 duration = tpm_calc_ordinal_duration(chip, ordinal); in i2c_nuvoton_send()
|
| H 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()
|
| H A D | tpm_vtpm_proxy.c | 306 switch (be32_to_cpu(hdr->ordinal)) { in vtpm_proxy_is_driver_command() 311 switch (be32_to_cpu(hdr->ordinal)) { in vtpm_proxy_is_driver_command()
|
| H A D | tpm_tis_core.c | 544 u32 ordinal; in tpm_tis_send_main() local 566 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_tis_send_main() 568 dur = tpm_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
|
| H A D | tpm2-space.c | 284 cc = be32_to_cpu(header->ordinal); in tpm_find_and_validate_cc()
|
| /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
|
| /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
|
| /linux/include/linux/ |
| H A D | tpm.h | 366 __be32 ordinal; member 418 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal); 419 void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal);
|
| /linux/drivers/platform/x86/ |
| H A D | uv_sysfs.c | 54 static int ordinal_to_nasid(int ordinal) in ordinal_to_nasid() argument 56 if (ordinal < num_cnodes && ordinal >= 0) in ordinal_to_nasid() 57 return UV_PNODE_TO_NASID(uv_blade_to_pnode(ordinal)); in ordinal_to_nasid()
|
| /linux/tools/perf/util/ |
| H A D | auxtrace.c | 491 u64 ordinal) in auxtrace_heapify() argument 497 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify() 503 heap_array[pos].ordinal = ordinal; in auxtrace_heapify() 507 u64 ordinal) in auxtrace_heap__add() argument 524 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add() 560 if (heap_array[left].ordinal < heap_array[right].ordinal) { in auxtrace_heap__pop() 571 heap_array[last].ordinal); in auxtrace_heap__pop()
|
| H A D | auxtrace.h | 306 u64 ordinal; member 549 u64 ordinal);
|
| H A D | powerpc-vpadtl.c | 383 if (vpa->heap.heap_array[0].ordinal >= timestamp) in powerpc_vpadtl_process_queues() 393 ts = vpa->heap.heap_array[0].ordinal + 1; in powerpc_vpadtl_process_queues()
|
| H A D | s390-cpumsf.c | 858 if (sf->heap.heap_array[0].ordinal >= timestamp) in s390_cpumsf_process_queues() 867 ts = sf->heap.heap_array[0].ordinal + 1; in s390_cpumsf_process_queues()
|
| /linux/Documentation/arch/powerpc/ |
| H A D | associativity.rst | 35 (domainID index) that represents the 1 based ordinal in the associativity lists.
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-class-tpm | 83 ordinal has been executed successfully in the chip. A '0'
|
| /linux/tools/testing/selftests/tc-testing/ |
| H A D | README | 162 The pre-case hook receives the ordinal number and test id of the current test.
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 3497 int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal, 4250 int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal, in bnxt_find_nvram_item() argument 4266 req->dir_ordinal = cpu_to_le16(ordinal); in bnxt_find_nvram_item() 4409 u16 type, ext, ordinal, attr; in bnxt_set_eeprom() local 4437 ordinal = eeprom->offset >> 16; in bnxt_set_eeprom() 4440 return bnxt_flash_nvram(dev, type, ordinal, ext, attr, 0, data, in bnxt_set_eeprom()
|