Searched refs:tpmppi (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/tpm/ |
H A D | tpm_ppi.c | 24 void tpm_ppi_reset(TPMPPI *tpmppi) in tpm_ppi_reset() argument 26 if (tpmppi->buf[0x15a /* movv, docs/specs/tpm.rst */] & 0x1) { in tpm_ppi_reset() 47 void tpm_ppi_init(TPMPPI *tpmppi, MemoryRegion *m, in tpm_ppi_init() argument 52 tpmppi->buf = qemu_memalign(host_page_size, in tpm_ppi_init() 54 memory_region_init_ram_device_ptr(&tpmppi->ram, obj, "tpm-ppi", in tpm_ppi_init() 55 TPM_PPI_ADDR_SIZE, tpmppi->buf); in tpm_ppi_init() 56 vmstate_register_ram(&tpmppi->ram, DEVICE(obj)); in tpm_ppi_init() 58 memory_region_add_subregion(m, addr, &tpmppi->ram); in tpm_ppi_init()
|
H A D | tpm_ppi.h | 32 void tpm_ppi_init(TPMPPI *tpmppi, MemoryRegion *m, 43 void tpm_ppi_reset(TPMPPI *tpmppi);
|