Lines Matching refs:chip_num
675 int tpm_is_tpm2(u32 chip_num) in tpm_is_tpm2() argument
680 chip = tpm_chip_find_get(chip_num); in tpm_is_tpm2()
703 int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf) in tpm_pcr_read() argument
708 chip = tpm_chip_find_get(chip_num); in tpm_pcr_read()
738 int tpm_pcr_extend(u32 chip_num, int pcr_idx, const u8 *hash) in tpm_pcr_extend() argument
744 chip = tpm_chip_find_get(chip_num); in tpm_pcr_extend()
828 int tpm_send(u32 chip_num, void *cmd, size_t buflen) in tpm_send() argument
833 chip = tpm_chip_find_get(chip_num); in tpm_send()
1004 int tpm_get_random(u32 chip_num, u8 *out, size_t max) in tpm_get_random() argument
1015 chip = tpm_chip_find_get(chip_num); in tpm_get_random()
1057 int tpm_seal_trusted(u32 chip_num, struct trusted_key_payload *payload, in tpm_seal_trusted() argument
1063 chip = tpm_chip_find_get(chip_num); in tpm_seal_trusted()
1083 int tpm_unseal_trusted(u32 chip_num, struct trusted_key_payload *payload, in tpm_unseal_trusted() argument
1089 chip = tpm_chip_find_get(chip_num); in tpm_unseal_trusted()