Home
last modified time | relevance | path

Searched refs:TPM_INT_ENABLE (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/char/tpm/
Dtpm_tis_core.c440 rc = tpm_tis_read32(priv, TPM_INT_ENABLE(priv->locality), &intmask); in disable_interrupts()
445 rc = tpm_tis_write32(priv, TPM_INT_ENABLE(priv->locality), intmask); in disable_interrupts()
714 rc = tpm_tis_write32(priv, TPM_INT_ENABLE(priv->locality), in tpm_tis_probe_irq_single()
772 u32 reg = TPM_INT_ENABLE(priv->locality); in tpm_tis_remove()
911 rc = tpm_tis_read32(priv, TPM_INT_ENABLE(priv->locality), &intmask); in tpm_tis_core_init()
918 tpm_tis_write32(priv, TPM_INT_ENABLE(priv->locality), intmask); in tpm_tis_core_init()
1030 rc = tpm_tis_read32(priv, TPM_INT_ENABLE(priv->locality), &intmask); in tpm_tis_reenable_interrupts()
1038 tpm_tis_write32(priv, TPM_INT_ENABLE(priv->locality), intmask); in tpm_tis_reenable_interrupts()
Dtpm_tis_core.h71 #define TPM_INT_ENABLE(l) (0x0008 | ((l) << 12)) macro
/Linux-v4.19/drivers/char/tpm/st33zp24/
Dst33zp24.c41 #define TPM_INT_ENABLE 0x08 macro
574 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_INT_ENABLE, in st33zp24_probe()
580 ret = tpm_dev->ops->send(tpm_dev->phy_id, (TPM_INT_ENABLE + 3), in st33zp24_probe()