Lines Matching refs:interrupt
23 #include <linux/interrupt.h>
429 * tpm.c can skip polling for the data to be available as the interrupt is
533 * tpm.c can skip polling for the data to be available as the interrupt is
802 "TPM interrupt storm detected, polling instead\n");
850 u32 interrupt;
853 rc = tpm_tis_read32(priv, TPM_INT_STATUS(priv->locality), &interrupt);
857 if (interrupt == 0)
861 if (interrupt & TPM_INTF_DATA_AVAIL_INT)
864 if (interrupt &
871 rc = tpm_tis_write32(priv, TPM_INT_STATUS(priv->locality), interrupt);
876 tpm_tis_read32(priv, TPM_INT_STATUS(priv->locality), &interrupt);
885 const char *desc = "attempting to generate an interrupt";
910 /* Register the IRQ and issue a command that will cause an interrupt. If an
963 /* Generate an interrupt by having the core call through to
969 /* tpm_tis_send will either confirm the interrupt is working or it
984 * do not have ACPI/etc. We typically expect the interrupt to be declared if
1013 u32 interrupt;
1018 rc = tpm_tis_read32(priv, reg, &interrupt);
1020 interrupt = 0;
1022 tpm_tis_write32(priv, reg, ~TPM_GLOBAL_INT_ENABLE & interrupt);
1169 /* Take control of the TPM's interrupt hardware and shut it off */
1280 "TPM interrupt not working, polling instead\n");