Lines Matching refs:chip_num
955 int tpm_is_tpm2(u32 chip_num) in tpm_is_tpm2() argument
960 chip = tpm_chip_find_get(chip_num); in tpm_is_tpm2()
983 int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf) in tpm_pcr_read() argument
988 chip = tpm_chip_find_get(chip_num); in tpm_pcr_read()
1038 int tpm_pcr_extend(u32 chip_num, int pcr_idx, const u8 *hash) in tpm_pcr_extend() argument
1046 chip = tpm_chip_find_get(chip_num); in tpm_pcr_extend()
1163 int tpm_send(u32 chip_num, void *cmd, size_t buflen) in tpm_send() argument
1168 chip = tpm_chip_find_get(chip_num); in tpm_send()
1338 int tpm_get_random(u32 chip_num, u8 *out, size_t max) in tpm_get_random() argument
1349 chip = tpm_chip_find_get(chip_num); in tpm_get_random()
1404 int tpm_seal_trusted(u32 chip_num, struct trusted_key_payload *payload, in tpm_seal_trusted() argument
1410 chip = tpm_chip_find_get(chip_num); in tpm_seal_trusted()
1430 int tpm_unseal_trusted(u32 chip_num, struct trusted_key_payload *payload, in tpm_unseal_trusted() argument
1436 chip = tpm_chip_find_get(chip_num); in tpm_unseal_trusted()