Home
last modified time | relevance | path

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

/openbmc/qemu/hw/tpm/
H A Dtpm_tis_i2c.c82 { TPM_I2C_REG_STS, TPM_TIS_REG_STS, "STS", },
187 if (i2c_reg >= TPM_I2C_REG_STS && i2c_reg <= TPM_I2C_REG_STS + 3) { in tpm_tis_i2c_to_tis_reg()
188 i2c_reg = TPM_I2C_REG_STS; in tpm_tis_i2c_to_tis_reg()
261 case TPM_I2C_REG_STS ... TPM_I2C_REG_STS + 3: in tpm_tis_i2c_tpm_send()
269 offset = i2cst->data[0] - TPM_I2C_REG_STS; in tpm_tis_i2c_tpm_send()
402 case TPM_I2C_REG_STS ... TPM_I2C_REG_STS + 3: in tpm_tis_i2c_recv()
403 offset = i2c_reg - TPM_I2C_REG_STS; in tpm_tis_i2c_recv()
/openbmc/qemu/tests/qtest/
H A Dtpm-tis-i2c-test.c141 v = tpm_tis_i2c_readb(0, TPM_I2C_REG_STS + 3); in tpm_tis_i2c_test_basic()
145 v = tpm_tis_i2c_readl(0, TPM_I2C_REG_STS); in tpm_tis_i2c_test_basic()
146 tpm_tis_i2c_writeb(0, TPM_I2C_REG_STS + 3, 0xf); in tpm_tis_i2c_test_basic()
147 v2 = tpm_tis_i2c_readl(0, TPM_I2C_REG_STS); in tpm_tis_i2c_test_basic()
526 sts = tpm_tis_i2c_readl(0, TPM_I2C_REG_STS); in tpm_tis_i2c_test_check_transmit()
535 bcount2 = tpm_tis_i2c_readw(0, TPM_I2C_REG_STS + 1); in tpm_tis_i2c_test_check_transmit()
542 sts = tpm_tis_i2c_readl(0, TPM_I2C_REG_STS); in tpm_tis_i2c_test_check_transmit()
549 sts = tpm_tis_i2c_readl(0, TPM_I2C_REG_STS); in tpm_tis_i2c_test_check_transmit()
568 sts = tpm_tis_i2c_readl(0, TPM_I2C_REG_STS); in tpm_tis_i2c_test_check_transmit()
574 sts = tpm_tis_i2c_readl(0, TPM_I2C_REG_STS); in tpm_tis_i2c_test_check_transmit()
[all …]
/openbmc/qemu/include/hw/acpi/
H A Dtpm.h218 #define TPM_I2C_REG_STS 0x18 macro