Searched refs:TPMState (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/hw/tpm/ |
H A D | tpm_tis.h | 56 typedef struct TPMState { struct 80 } TPMState; argument 85 int tpm_tis_pre_save(TPMState *s); 86 void tpm_tis_reset(TPMState *s); 87 enum TPMVersion tpm_tis_get_tpm_version(TPMState *s); 88 void tpm_tis_request_completed(TPMState *s, int ret); 89 uint32_t tpm_tis_read_data(TPMState *s, hwaddr addr, unsigned size); 90 void tpm_tis_write_data(TPMState *s, hwaddr addr, uint64_t val, uint32_t size); 91 uint16_t tpm_tis_get_checksum(TPMState *s);
|
H A D | tpm_tis_sysbus.c | 39 TPMState state; /* not a QOM object */ 72 TPMState *s = &sbdev->state; in tpm_tis_sysbus_request_completed() 80 TPMState *s = &sbdev->state; in tpm_tis_sysbus_get_tpm_version() 88 TPMState *s = &sbdev->state; in tpm_tis_sysbus_reset() 102 TPMState *s = &sbdev->state; in tpm_tis_sysbus_initfn() 115 TPMState *s = &sbdev->state; in tpm_tis_sysbus_realizefn()
|
H A D | tpm_tis_common.c | 86 static void tpm_tis_tpm_send(TPMState *s, uint8_t locty) in tpm_tis_tpm_send() 108 static void tpm_tis_raise_irq(TPMState *s, uint8_t locty, uint32_t irqmask) in tpm_tis_raise_irq() 122 static uint32_t tpm_tis_check_request_use_except(TPMState *s, uint8_t locty) in tpm_tis_check_request_use_except() 138 static void tpm_tis_new_active_locality(TPMState *s, uint8_t new_active_locty) in tpm_tis_new_active_locality() 179 static void tpm_tis_abort(TPMState *s) in tpm_tis_abort() 205 static void tpm_tis_prep_abort(TPMState *s, uint8_t locty, uint8_t newlocty) in tpm_tis_prep_abort() 235 void tpm_tis_request_completed(TPMState *s, int ret) in tpm_tis_request_completed() 267 static uint32_t tpm_tis_data_read(TPMState *s, uint8_t locty) in tpm_tis_data_read() 289 static void tpm_tis_dump_state(TPMState *s, hwaddr addr) in tpm_tis_dump_state() 338 TPMState *s = opaque; in tpm_tis_mmio_read() [all …]
|
H A D | tpm_tis_isa.c | 40 TPMState state; /* not a QOM object */ 73 TPMState *s = &isadev->state; in tpm_tis_isa_request_completed() 81 TPMState *s = &isadev->state; in tpm_tis_isa_get_tpm_version() 89 TPMState *s = &isadev->state; in tpm_tis_isa_reset() 104 TPMState *s = &isadev->state; in tpm_tis_isa_initfn() 114 TPMState *s = &isadev->state; in tpm_tis_isa_realizefn()
|
H A D | tpm_tis_i2c.c | 54 TPMState state; /* not a QOM object */ 292 TPMState *s = &i2cst->state; in tpm_tis_i2c_request_completed() 301 TPMState *s = &i2cst->state; in tpm_tis_i2c_get_tpm_version() 344 TPMState *s = &i2cst->state; in tpm_tis_i2c_recv() 502 TPMState *s = &i2cst->state; in tpm_tis_i2c_realizefn() 524 TPMState *s = &i2cst->state; in tpm_tis_i2c_reset()
|