tpm_sc
sc = (struct tpm_sc *)dev->si_drv1;
tpm20_init(struct tpm_sc *sc)
tpm20_release(struct tpm_sc *sc)
struct tpm_sc *sc;
struct tpm_sc *sc;
struct tpm_sc *sc;
struct tpm_sc *sc;
struct tpm_sc *sc;
struct tpm_sc *sc;
sc = (struct tpm_sc *)dev->si_drv1;
struct tpm_sc *sc;
int (*transmit)(struct tpm_sc *, size_t);
int tpm20_init(struct tpm_sc *sc);
void tpm20_release(struct tpm_sc *sc);
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 = device_get_softc(dev);
struct tpm_sc *sc = device_get_softc(dev);
struct tpm_sc *sc = device_get_softc(dev);
struct tpm_sc *sc = device_get_softc(dev);
struct tpm_sc *sc = device_get_softc(dev);
struct tpm_sc *sc = device_get_softc(dev);
DEFINE_CLASS_0(tpm_lbc, tpm_bus_driver, tpm_bus_methods, sizeof(struct tpm_sc));
struct tpm_sc base;
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;
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)
struct tpm_sc *sc;
struct tpm_sc *sc;
struct tpm_sc *sc;
struct tpm_sc *sc;
struct tpm_sc *sc;
sizeof(struct tpm_sc));
struct tpm_sc *sc = device_get_softc(dev);
sizeof(struct tpm_sc), tpmtis_driver, tpm_bus_driver);
struct tpm_sc *sc;
tpmtis_test_intr(struct tpm_sc *sc)
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)
struct tpm_sc *sc;
DEFINE_CLASS_0(tpmtis, tpmtis_driver, tpmtis_methods, sizeof(struct tpm_sc));
static void 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);
struct tpm_sc *sc;
DEFINE_CLASS_2(tpm, tpm_driver, tpm_methods, sizeof(struct tpm_sc),