tpm_sc
struct tpm_sc *sc;
sc = (struct tpm_sc *)dev->si_drv1;
struct tpm_sc *sc;
sc = (struct tpm_sc *)arg;
tpm20_init(struct tpm_sc *sc)
tpm20_release(struct tpm_sc *sc)
struct tpm_sc *sc;
struct tpm_sc *sc;
struct tpm_sc *sc;
sc = (struct tpm_sc *)dev->si_drv1;
int (*transmit)(struct tpm_sc *, size_t);
int tpm20_init(struct tpm_sc *sc);
void tpm20_release(struct tpm_sc *sc);
RD1(struct tpm_sc *sc, bus_size_t off)
RD4(struct tpm_sc *sc, bus_size_t off)
RD8(struct tpm_sc *sc, bus_size_t off)
WR1(struct tpm_sc *sc, bus_size_t off, uint8_t val)
WR4(struct tpm_sc *sc, bus_size_t off, uint32_t val)
AND4(struct tpm_sc *sc, bus_size_t off, uint32_t val)
OR1(struct tpm_sc *sc, bus_size_t off, uint8_t val)
OR4(struct tpm_sc *sc, bus_size_t off, uint32_t val)
struct tpm_sc *sc;
struct tpm_sc *sc;
tpm_wait_for_u32(struct tpm_sc *sc, bus_size_t off, uint32_t mask, uint32_t val,
tpmcrb_request_locality(struct tpm_sc *sc, int locality)
tpmcrb_relinquish_locality(struct tpm_sc *sc)
tpmcrb_cancel_cmd(struct tpm_sc *sc)
tpmcrb_transmit(struct tpm_sc *sc, size_t length)
struct tpm_sc base;
int tpmcrb_transmit(struct tpm_sc *sc, size_t size);
static bool tpm_wait_for_u32(struct tpm_sc *sc, bus_size_t off,
static bool tpmcrb_request_locality(struct tpm_sc *sc, int locality);
static void tpmcrb_relinquish_locality(struct tpm_sc *sc);
static bool tpmcrb_cancel_cmd(struct tpm_sc *sc);
struct tpm_sc *sc;
struct tpm_sc *sc;
struct tpm_sc *sc;
sc = (struct tpm_sc *)arg;
tpmtis_setup_intr(struct tpm_sc *sc)
struct tpm_sc *sc;
sc = (struct tpm_sc *)arg;
tpm_wait_for_u32(struct tpm_sc *sc, bus_size_t off, uint32_t mask, uint32_t val,
tpmtis_wait_for_burst(struct tpm_sc *sc)
tpmtis_read_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf)
tpmtis_write_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf)
tpmtis_request_locality(struct tpm_sc *sc, int locality)
tpmtis_relinquish_locality(struct tpm_sc *sc)
tpmtis_go_ready(struct tpm_sc *sc)
tpmtis_transmit(struct tpm_sc *sc, size_t length)
"tpmtis", tpmtis_methods, sizeof(struct tpm_sc),
static int tpmtis_transmit(struct tpm_sc *sc, size_t length);
static bool tpmtis_setup_intr(struct tpm_sc *sc);
static bool tpmtis_read_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf);
static bool tpmtis_write_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf);
static bool tpmtis_request_locality(struct tpm_sc *sc, int locality);
static void tpmtis_relinquish_locality(struct tpm_sc *sc);
static bool tpmtis_go_ready(struct tpm_sc *sc);
static bool tpm_wait_for_u32(struct tpm_sc *sc, bus_size_t off,
static uint16_t tpmtis_wait_for_burst(struct tpm_sc *sc);