Home
last modified time | relevance | path

Searched full:ordinal (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/char/tpm/
H A Dtpm-buf.c14 * @ordinal: A command ordinal
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()
33 * @ordinal: A command ordinal
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 Dtpm1-cmd.c28 * 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 Dxen-tpmfront.c140 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 Dtpm2-sessions.c132 __be32 ordinal; member
601 auth->ordinal = head->ordinal; in tpm_buf_fill_hmac_session()
603 cc = be32_to_cpu(head->ordinal); in tpm_buf_fill_hmac_session()
684 /* ordinal is already BE */ in tpm_buf_fill_hmac_session()
685 sha256_update(&sctx, (u8 *)&head->ordinal, sizeof(head->ordinal)); in tpm_buf_fill_hmac_session()
760 cc = be32_to_cpu(auth->ordinal); in tpm_buf_check_hmac_response()
817 /* ordinal is already BE */ in tpm_buf_check_hmac_response()
818 sha256_update(&sctx, (u8 *)&auth->ordinal, sizeof(auth->ordinal)); in tpm_buf_check_hmac_response()
H A Dtpm_i2c_nuvoton.c358 u32 ordinal; in i2c_nuvoton_send() local
445 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in i2c_nuvoton_send()
446 duration = tpm_calc_ordinal_duration(chip, ordinal); in i2c_nuvoton_send()
H A Dtpm_vtpm_proxy.c306 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 Dtpm2-space.c284 cc = be32_to_cpu(header->ordinal); in tpm_find_and_validate_cc()
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c178 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()
478 uint32_t ordinal; in tpm_seal() local
514 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-sgi_uv57 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 Dsysfs-firmware-dmi-entries30 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 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/include/linux/
H A Dcpufeature.h17 * - cpu_feature(x) ordinal value of feature called 'x'
19 * - MAX_CPU_FEATURES upper bound for feature ordinal values
H A Dtpm.h361 __be32 ordinal; member
413 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal);
414 void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal);
H A Dvirtio.h22 * @index: the zero-based ordinal number for this queue.
/linux/drivers/char/tpm/st33zp24/
H A Dst33zp24.c306 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()
/linux/tools/testing/selftests/tc-testing/
H A DTdcPlugin.py17 index is the last ordinal number of test that was attempted'''
H A DREADME162 The pre-case hook receives the ordinal number and test id of the current test.
/linux/drivers/platform/x86/
H A Duv_sysfs.c54 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/Documentation/arch/powerpc/
H A Dassociativity.rst35 (domainID index) that represents the 1 based ordinal in the associativity lists.
/linux/Documentation/ABI/stable/
H A Dsysfs-class-tpm83 ordinal has been executed successfully in the chip. A '0'
/linux/Documentation/leds/
H A Dleds-class.rst69 be required for given platform, differing only with an ordinal number.
/linux/Documentation/devicetree/bindings/leds/
H A Dcommon.yaml51 needed, differing only with an ordinal number.
/linux/drivers/accel/ivpu/
H A Dvpu_jsm_api.h874 /* Engine ordinal */
1098 /* Engine ordinal */
1129 /* Engine ordinal */
/linux/lib/
H A Dbitmap.c440 * bitmap_pos_to_ord - find ordinal of set bit at given position in bitmap
446 * ordinal of which set bit it is. If it is not set or if @pos
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c3378 int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal,
4105 int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal, in bnxt_find_nvram_item() argument
4121 req->dir_ordinal = cpu_to_le16(ordinal); in bnxt_find_nvram_item()
4264 u16 type, ext, ordinal, attr; in bnxt_set_eeprom() local
4292 ordinal = eeprom->offset >> 16; in bnxt_set_eeprom()
4295 return bnxt_flash_nvram(dev, type, ordinal, ext, attr, 0, data, in bnxt_set_eeprom()

12