tpm_state_t
tis_release_locality(tpm_state_t *tpm, char locality, int force)
tis_check_active_locality(tpm_state_t *tpm, char locality)
tis_request_locality(tpm_state_t *tpm, char locality)
tis_get_status(tpm_state_t *tpm)
tpm_wait_for_stat(tpm_state_t *tpm, uint8_t mask, clock_t timeout)
tis_init(tpm_state_t *tpm)
static int itpm_command(tpm_state_t *tpm, uint8_t *buf, size_t bufsiz);
static int tpm_get_timeouts(tpm_state_t *tpm);
static int tpm_get_duration(tpm_state_t *tpm);
static int tpm_get_version(tpm_state_t *tpm);
static int tpm_continue_selftest(tpm_state_t *tpm);
ret = ddi_soft_state_init(&statep, sizeof (tpm_state_t), 1);
static int tpm_wait_for_stat(tpm_state_t *, uint8_t, clock_t);
tpm_resume(tpm_state_t *tpm)
static clock_t tpm_get_ordinal_duration(tpm_state_t *, uint8_t);
static int tis_check_active_locality(tpm_state_t *, char);
static int tis_request_locality(tpm_state_t *, char);
tpm_state_t *tpm = NULL;
static void tis_release_locality(tpm_state_t *, char, int);
static int tis_init(tpm_state_t *);
static uint8_t tis_get_status(tpm_state_t *);
static int tis_send_data(tpm_state_t *, uint8_t *, size_t);
static int tis_recv_data(tpm_state_t *, uint8_t *, size_t);
static int receive_data(tpm_state_t *, uint8_t *, size_t);
static inline int tpm_io_lock(tpm_state_t *);
static inline void tpm_unlock(tpm_state_t *);
static void tpm_cleanup(dev_info_t *, tpm_state_t *);
tpm_cleanup(dev_info_t *dip, tpm_state_t *tpm)
tpm_suspend(tpm_state_t *tpm)
tpm_state_t *tpm;
tpm_state_t *tpm;
tpm_state_t *tpm;
tpm_state_t *tpm;
tpm_state_t *tpm;
tpm_state_t *tpm;
tpm_io_lock(tpm_state_t *tpm)
tpm_unlock(tpm_state_t *tpm)
tpm_state_t *tpm = (tpm_state_t *)prov;
tpmrng_register(tpm_state_t *tpm)
tpmrng_unregister(tpm_state_t *tpm)
tpm_state_t *tpm;
tpm = (tpm_state_t *)provider;
tpm_state_t *tpm;
tpm = (tpm_state_t *)provider;
static int tpmrng_register(tpm_state_t *);
static int tpmrng_unregister(tpm_state_t *);
tpm_get8(tpm_state_t *tpm, unsigned long offset)
tpm_get32(tpm_state_t *tpm, unsigned long offset)
tpm_put8(tpm_state_t *tpm, unsigned long offset, uint8_t value)
tpm_get8(tpm_state_t *tpm, unsigned long offset)
tpm_get32(tpm_state_t *tpm, unsigned long offset)
tpm_put8(tpm_state_t *tpm, unsigned long offset, uint8_t value)
tpm_get_timeouts(tpm_state_t *tpm)
tpm_get_duration(tpm_state_t *tpm)
tpm_get_version(tpm_state_t *tpm)
tpm_continue_selftest(tpm_state_t *tpm)
tpm_get_ordinal_duration(tpm_state_t *tpm, uint8_t ordinal)
itpm_command(tpm_state_t *tpm, uint8_t *buf, size_t bufsiz)
tpm_get_burstcount(tpm_state_t *tpm)
tpm_set_ready(tpm_state_t *tpm)
receive_data(tpm_state_t *tpm, uint8_t *buf, size_t bufsiz)
tis_recv_data(tpm_state_t *tpm, uint8_t *buf, size_t bufsiz)
tis_send_data(tpm_state_t *tpm, uint8_t *buf, size_t bufsiz)