tpm_softc
tpm_legacy_init(struct tpm_softc *sc, int irq, const char *name)
tpm_legacy_start(struct tpm_softc *sc, int flag)
tpm_legacy_read(struct tpm_softc *sc, void *buf, int len, size_t *count,
tpm_legacy_write(struct tpm_softc *sc, void *buf, int len)
tpm_legacy_end(struct tpm_softc *sc, int flag, int rv)
struct tpm_softc *sc = TPMSOFTC(dev);
struct tpm_softc *sc = TPMSOFTC(dev);
struct tpm_softc *sc = TPMSOFTC(dev);
struct tpm_softc *sc = TPMSOFTC(dev);
((struct tpm_softc *)dev->si_drv1)
int tpm_tis12_irqinit(struct tpm_softc *, int, int);
int tpm_tis12_init(struct tpm_softc *, int, const char *);
int tpm_tis12_start(struct tpm_softc *, int);
int tpm_tis12_read(struct tpm_softc *, void *, int, size_t *, int);
int tpm_tis12_write(struct tpm_softc *, void *, int);
int tpm_tis12_end(struct tpm_softc *, int, int);
int tpm_waitfor_poll(struct tpm_softc *, u_int8_t, int, void *);
int tpm_waitfor_int(struct tpm_softc *, u_int8_t, int, void *, int);
int tpm_waitfor(struct tpm_softc *, u_int8_t, int, void *);
int tpm_request_locality(struct tpm_softc *, int);
int tpm_getburst(struct tpm_softc *);
u_int8_t tpm_status(struct tpm_softc *);
int tpm_legacy_init(struct tpm_softc *, int, const char *);
int tpm_legacy_start(struct tpm_softc *, int);
int tpm_legacy_read(struct tpm_softc *, void *, int, size_t *, int);
int tpm_legacy_write(struct tpm_softc *, void *, int);
int tpm_legacy_end(struct tpm_softc *, int, int);
struct tpm_softc *sc = device_get_softc(dev);
struct tpm_softc * sc = device_get_softc(dev);
tpm_tis12_irqinit(struct tpm_softc *sc, int irq, int idx)
tpm_tis12_init(struct tpm_softc *sc, int irq, const char *name)
tpm_request_locality(struct tpm_softc *sc, int l)
tpm_getburst(struct tpm_softc *sc)
tpm_status(struct tpm_softc *sc)
struct tpm_softc *sc = device_get_softc(dev);
struct tpm_softc *sc = device_get_softc(dev);
tpm_waitfor_poll(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c)
tpm_waitfor_int(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c,
tpm_waitfor(struct tpm_softc *sc, u_int8_t b0, int tmo, void *c)
tpm_tis12_start(struct tpm_softc *sc, int flag)
tpm_tis12_read(struct tpm_softc *sc, void *buf, int len, size_t *count,
tpm_tis12_write(struct tpm_softc *sc, void *buf, int len)
tpm_tis12_end(struct tpm_softc *sc, int flag, int err)
struct tpm_softc *sc = v;
"tpm", tpm_acpi_methods, sizeof(struct tpm_softc),
"tpm", tpm_methods, sizeof(struct tpm_softc),
int (*sc_init)(struct tpm_softc *, int, const char *);
int (*sc_start)(struct tpm_softc *, int);
int (*sc_read)(struct tpm_softc *, void *, int, size_t *, int);
int (*sc_write)(struct tpm_softc *, void *, int);
int (*sc_end)(struct tpm_softc *, int, int);