Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dtpm-crb-test.c22 #define TPM_CMD "\x80\x01\x00\x00\x00\x0c\x00\x00\x01\x44\x00\x00" macro
91 memwrite(caddr, TPM_CMD, sizeof(TPM_CMD)); in tpm_crb_test()
H A Dtpm-tis-util.c42 static const uint8_t TPM_CMD[12] = variable
405 for (i = 0; i < sizeof(TPM_CMD); i++) { in tpm_tis_test_check_transmit()
406 writeb(TIS_REG(0, TPM_TIS_REG_DATA_FIFO), TPM_CMD[i]); in tpm_tis_test_check_transmit()
409 if (i < sizeof(TPM_CMD) - 1) { in tpm_tis_test_check_transmit()
H A Dtpm-tis-i2c-test.c42 static const uint8_t TPM_CMD[12] = variable
547 for (i = 0; i < sizeof(TPM_CMD); i++) { in tpm_tis_i2c_test_check_transmit()
548 tpm_tis_i2c_writeb(0, TPM_I2C_REG_DATA_FIFO, TPM_CMD[i]); in tpm_tis_i2c_test_check_transmit()
551 if (i < sizeof(TPM_CMD) - 1) { in tpm_tis_i2c_test_check_transmit()