Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/tpm/
H A Dtpm_tis_lpc.c164 u32 didvid; in tpm_tis_lpc_probe() local
171 didvid = tpm_read_word(priv, &priv->regs[0].did_vid); in tpm_tis_lpc_probe()
173 if (didvid != chip_didvid[chip_type]) { in tpm_tis_lpc_probe()
175 vid = didvid & 0xffff; in tpm_tis_lpc_probe()
176 did = (didvid >> 16) & 0xffff; in tpm_tis_lpc_probe()
/openbmc/qemu/tests/qtest/
H A Dtpm-tis-util.c51 uint32_t didvid; in tpm_tis_test_check_localities() local
65 didvid = readl(TIS_REG(locty, TPM_TIS_REG_DID_VID)); in tpm_tis_test_check_localities()
66 g_assert_cmpint(didvid, !=, 0); in tpm_tis_test_check_localities()
67 g_assert_cmpint(didvid, !=, 0xffffffff); in tpm_tis_test_check_localities()
H A Dtpm-tis-i2c-test.c165 uint32_t didvid; in tpm_tis_i2c_test_check_localities() local
182 didvid = tpm_tis_i2c_readl(locty, TPM_I2C_REG_DID_VID); in tpm_tis_i2c_test_check_localities()
183 g_assert_cmpint(didvid, ==, (1 << 16) | PCI_VENDOR_ID_IBM); in tpm_tis_i2c_test_check_localities()