Searched refs:TPM_CRB_ADDR_BASE (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | tpm-crb-test.c | 50 g_assert_cmpint(caddr, >, TPM_CRB_ADDR_BASE); in tpm_crb_test() 51 g_assert_cmpint(raddr, >, TPM_CRB_ADDR_BASE); in tpm_crb_test() 68 writeb(TPM_CRB_ADDR_BASE + A_CRB_LOC_CTRL, 1); in tpm_crb_test() 71 locsts = readl(TPM_CRB_ADDR_BASE + A_CRB_LOC_STS); in tpm_crb_test() 84 writel(TPM_CRB_ADDR_BASE + A_CRB_CTRL_REQ, 1); in tpm_crb_test() 87 sts = readl(TPM_CRB_ADDR_BASE + A_CRB_CTRL_STS); in tpm_crb_test() 106 sts = readl(TPM_CRB_ADDR_BASE + A_CRB_CTRL_STS); in tpm_crb_test() 115 writel(TPM_CRB_ADDR_BASE + A_CRB_CTRL_REQ, 2); in tpm_crb_test() 118 sts = readl(TPM_CRB_ADDR_BASE + A_CRB_CTRL_STS); in tpm_crb_test() 123 writel(TPM_CRB_ADDR_BASE + A_CRB_LOC_CTRL, 2); in tpm_crb_test() [all …]
|
H A D | tpm-util.c | 27 uint64_t caddr = qtest_readq(s, TPM_CRB_ADDR_BASE + A_CRB_CTRL_CMD_LADDR); in tpm_util_crb_transfer() 28 uint64_t raddr = qtest_readq(s, TPM_CRB_ADDR_BASE + A_CRB_CTRL_RSP_ADDR); in tpm_util_crb_transfer() 30 qtest_writeb(s, TPM_CRB_ADDR_BASE + A_CRB_LOC_CTRL, 1); in tpm_util_crb_transfer() 36 qtest_writel(s, TPM_CRB_ADDR_BASE + A_CRB_CTRL_START, start); in tpm_util_crb_transfer() 38 start = qtest_readl(s, TPM_CRB_ADDR_BASE + A_CRB_CTRL_START); in tpm_util_crb_transfer() 46 start = qtest_readl(s, TPM_CRB_ADDR_BASE + A_CRB_CTRL_START); in tpm_util_crb_transfer() 48 sts = qtest_readl(s, TPM_CRB_ADDR_BASE + A_CRB_CTRL_STS); in tpm_util_crb_transfer()
|
/openbmc/qemu/hw/tpm/ |
H A D | tpm_crb.c | 272 s->regs[R_CRB_CTRL_CMD_LADDR] = TPM_CRB_ADDR_BASE + A_CRB_DATA_BUFFER; in tpm_crb_reset() 274 s->regs[R_CRB_CTRL_RSP_ADDR] = TPM_CRB_ADDR_BASE + A_CRB_DATA_BUFFER; in tpm_crb_reset() 303 TPM_CRB_ADDR_BASE, &s->mmio); in tpm_crb_realize() 305 TPM_CRB_ADDR_BASE + sizeof(s->regs), &s->cmdmem); in tpm_crb_realize()
|
/openbmc/qemu/include/hw/acpi/ |
H A D | tpm.h | 180 #define TPM_CRB_ADDR_BASE 0xFED40000 macro 182 #define TPM_CRB_ADDR_CTRL (TPM_CRB_ADDR_BASE + A_CRB_CTRL_REQ)
|
/openbmc/qemu/hw/i386/ |
H A D | acpi-build.c | 1791 aml_append(crs, aml_memory32_fixed(TPM_CRB_ADDR_BASE, in build_dsdt()
|