Home
last modified time | relevance | path

Searched refs:i2c_cap (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/tpm/
H A Dtpm_tis_i2c.c158 uint32_t i2c_cap; in tpm_tis_i2c_interface_capability() local
161 i2c_cap = (TPM_I2C_CAP_INTERFACE_TYPE | in tpm_tis_i2c_interface_capability()
172 i2c_cap |= TPM_I2C_CAP_BURST_COUNT_STATIC; in tpm_tis_i2c_interface_capability()
175 return i2c_cap; in tpm_tis_i2c_interface_capability()
/openbmc/qemu/tests/qtest/
H A Dtpm-tis-i2c-test.c164 uint32_t capability, i2c_cap; in tpm_tis_i2c_test_check_localities() local
174 i2c_cap = (TPM_I2C_CAP_INTERFACE_TYPE | in tpm_tis_i2c_test_check_localities()
180 g_assert_cmpint(capability, ==, i2c_cap); in tpm_tis_i2c_test_check_localities()