Home
last modified time | relevance | path

Searched refs:TPM_CHIP_FLAG_TPM2 (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/char/tpm/
Dtpm-chip.c190 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_class_shutdown()
252 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_chip_alloc()
341 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_add_char_device()
371 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_del_char_device()
381 if (chip->flags & (TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_VIRTUAL)) in tpm_del_legacy_sysfs()
399 if (chip->flags & (TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_VIRTUAL)) in tpm_add_legacy_sysfs()
455 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_chip_register()
516 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_chip_unregister()
Dtpm-interface.c347 if (chip->flags & TPM_CHIP_FLAG_TPM2 && chip->nr_commands) { in tpm_validate_command()
503 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_try_transmit()
699 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_startup()
775 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_get_timeouts()
967 rc = (chip->flags & TPM_CHIP_FLAG_TPM2) != 0; in tpm_is_tpm2()
990 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_pcr_read()
1050 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pcr_extend()
1213 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pm_suspend()
1299 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_get_random()
1358 if (!chip || !(chip->flags & TPM_CHIP_FLAG_TPM2)) in tpm_seal_trusted()
[all …]
Dtpm_vtpm_proxy.c311 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in vtpm_proxy_is_driver_command()
408 if (chip->flags & TPM_CHIP_FLAG_TPM2) in vtpm_proxy_request_locality()
576 proxy_dev->chip->flags |= TPM_CHIP_FLAG_TPM2; in vtpm_proxy_create_device()
Dtpm_tis_core.c265 if (chip->flags & TPM_CHIP_FLAG_TPM2) in get_burstcount()
476 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_tis_send_main()
668 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_tis_gen_interrupt()
935 (chip->flags & TPM_CHIP_FLAG_TPM2) ? "2.0" : "1.2", in tpm_tis_core_init()
1062 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) in tpm_tis_resume()
Dtpm_i2c_nuvoton.c567 chip->flags |= TPM_CHIP_FLAG_TPM2; in i2c_nuvoton_probe()
570 chip->flags |= TPM_CHIP_FLAG_TPM2; in i2c_nuvoton_probe()
Dtpm-sysfs.c310 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_sysfs_add_device()
Dtpm.h194 TPM_CHIP_FLAG_TPM2 = BIT(1), enumerator
Dtpm_crb.c648 chip->flags = TPM_CHIP_FLAG_TPM2; in crb_acpi_add()
Dtpm2-cmd.c842 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm2_probe()
/Linux-v4.19/drivers/char/tpm/eventlog/
Defi.c29 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) in tpm_read_log_efi()
Dof.c78 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_read_log_of()
Dacpi.c58 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_read_log_acpi()
Dcommon.c150 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) { in tpm_bios_log_setup()