Searched refs:tpm_is_firmware_upgrade (Results 1 – 3 of 3) sorted by relevance
418 if (chip->flags & TPM_CHIP_FLAG_TPM2 && !tpm_is_firmware_upgrade(chip)) { in tpm_add_char_device()470 tpm_is_firmware_upgrade(chip)) in tpm_del_legacy_sysfs()489 tpm_is_firmware_upgrade(chip)) in tpm_add_legacy_sysfs()519 if (!IS_ENABLED(CONFIG_HW_RANDOM_TPM) || tpm_is_firmware_upgrade(chip)) in tpm_add_hwrng()533 if (tpm_is_firmware_upgrade(chip)) in tpm_get_pcr_allocation()598 if (IS_ENABLED(CONFIG_HW_RANDOM_TPM) && !tpm_is_firmware_upgrade(chip)) in tpm_chip_register()623 if (IS_ENABLED(CONFIG_HW_RANDOM_TPM) && !tpm_is_firmware_upgrade(chip)) in tpm_chip_unregister()626 if (chip->flags & TPM_CHIP_FLAG_TPM2 && !tpm_is_firmware_upgrade(chip)) in tpm_chip_unregister()
483 if (tpm_is_firmware_upgrade(chip)) in tpm_sysfs_add_device()
407 static inline bool tpm_is_firmware_upgrade(struct tpm_chip *chip) in tpm_is_firmware_upgrade() function