Home
last modified time | relevance | path

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

/drivers/char/tpm/
Dtpm-interface.c52 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()
Dtpm.h174 unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
182 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
226 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
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()
Dtpm2-cmd.c67 static u8 tpm2_ordinal_duration_index(u32 ordinal) in tpm2_ordinal_duration_index() argument
69 switch (ordinal) { in tpm2_ordinal_duration_index()
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()
Dtpm1-cmd.c291 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()
Dtpm_i2c_nuvoton.c357 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()
Dtpm_vtpm_proxy.c307 switch (be32_to_cpu(hdr->ordinal)) { in vtpm_proxy_is_driver_command()
312 switch (be32_to_cpu(hdr->ordinal)) { in vtpm_proxy_is_driver_command()
Dtpm_tis_core.c470 u32 ordinal; in tpm_tis_send_main() local
490 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_tis_send_main()
492 dur = tpm_calc_ordinal_duration(chip, ordinal); in tpm_tis_send_main()
Dtpm2-space.c278 cc = be32_to_cpu(header->ordinal); in tpm_find_and_validate_cc()
/drivers/char/tpm/st33zp24/
Dst33zp24.c359 u32 status, i, size, ordinal; in st33zp24_send() local
418 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in st33zp24_send()
421 tpm_calc_ordinal_duration(chip, ordinal), in st33zp24_send()
/drivers/platform/x86/
Duv_sysfs.c53 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()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2138 static int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal,
2763 static int bnxt_find_nvram_item(struct net_device *dev, u16 type, u16 ordinal, in bnxt_find_nvram_item() argument
2779 req->dir_ordinal = cpu_to_le16(ordinal); in bnxt_find_nvram_item()
2905 u16 type, ext, ordinal, attr; in bnxt_set_eeprom() local
2933 ordinal = eeprom->offset >> 16; in bnxt_set_eeprom()
2936 return bnxt_flash_nvram(dev, type, ordinal, ext, attr, 0, data, in bnxt_set_eeprom()