tpm_softc
struct tpm_softc *sc = device_private(self);
CFATTACH_DECL_NEW(tpm_acpi, sizeof(struct tpm_softc), tpm_acpi_match,
struct tpm_softc *sc = device_lookup_private(&tpm_cd, minor(dev));
struct tpm_softc *sc = device_lookup_private(&tpm_cd, minor(dev));
struct tpm_softc *sc = device_lookup_private(&tpm_cd, minor(dev));
struct tpm_softc *sc = device_lookup_private(&tpm_cd, minor(dev));
struct tpm_softc *sc = device_lookup_private(&tpm_cd, minor(dev));
tpm_status(struct tpm_softc *sc)
tpm12_suspend(struct tpm_softc *sc)
tpm20_suspend(struct tpm_softc *sc)
struct tpm_softc *sc = device_private(dev);
tpm_poll(struct tpm_softc *sc, uint8_t mask, int to, wchan_t chan)
tpm_waitfor(struct tpm_softc *sc, uint8_t bits, int tmo, wchan_t chan)
tpm12_request_locality(struct tpm_softc *sc, int l)
tpm12_rng(struct tpm_softc *sc, unsigned *entropybitsp)
tpm20_rng(struct tpm_softc *sc, unsigned *entropybitsp)
struct tpm_softc *sc = cookie;
struct tpm_softc *sc = cookie;
tpm_tis12_init(struct tpm_softc *sc)
tpm_tis12_start(struct tpm_softc *sc, int rw)
tpm_tis12_read(struct tpm_softc *sc, void *buf, size_t len, size_t *count,
tpm_tis12_write(struct tpm_softc *sc, const void *buf, size_t len)
tpm_tis12_end(struct tpm_softc *sc, int rw, int err)
tpm_getburst(struct tpm_softc *sc)
struct tpm_softc;
int (*init)(struct tpm_softc *);
int (*start)(struct tpm_softc *, int);
int (*read)(struct tpm_softc *, void *, size_t, size_t *, int);
int (*write)(struct tpm_softc *, const void *, size_t);
int (*end)(struct tpm_softc *, int, int);
struct tpm_softc *sc = device_private(self);
CFATTACH_DECL_NEW(tpm_isa, sizeof(struct tpm_softc), tpm_isa_match,