Home
last modified time | relevance | path

Searched refs:tpm_softc (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/sys/dev/ic/
H A Dtpmvar.h68 struct tpm_softc;
73 int (*init)(struct tpm_softc *);
74 int (*start)(struct tpm_softc *, int);
75 int (*read)(struct tpm_softc *, void *, size_t, size_t *, int);
76 int (*write)(struct tpm_softc *, const void *, size_t);
77 int (*end)(struct tpm_softc *, int, int);
82 struct tpm_softc { struct
H A Dtpm.c99 tpm_getburst(struct tpm_softc *sc) in tpm_getburst()
127 tpm_status(struct tpm_softc *sc) in tpm_status()
136 tpm12_suspend(struct tpm_softc *sc) in tpm12_suspend()
234 tpm20_suspend(struct tpm_softc *sc) in tpm20_suspend()
334 struct tpm_softc *sc = device_private(dev); in tpm_suspend()
359 tpm_poll(struct tpm_softc *sc, uint8_t mask, int to, wchan_t chan) in tpm_poll()
374 tpm_waitfor(struct tpm_softc *sc, uint8_t bits, int tmo, wchan_t chan) in tpm_waitfor()
416 tpm12_request_locality(struct tpm_softc *sc, int l) in tpm12_request_locality()
487 tpm12_rng(struct tpm_softc *sc, unsigned *entropybitsp) in tpm12_rng()
625 tpm20_rng(struct tpm_softc *sc, unsigned *entropybitsp) in tpm20_rng()
[all …]
/netbsd-src/sys/dev/isa/
H A Dtpm_isa.c70 CFATTACH_DECL_NEW(tpm_isa, sizeof(struct tpm_softc), tpm_isa_match,
107 struct tpm_softc *sc = device_private(self); in tpm_isa_attach()
/netbsd-src/sys/dev/acpi/
H A Dtpm_acpi.c55 CFATTACH_DECL_NEW(tpm_acpi, sizeof(struct tpm_softc), tpm_acpi_match,
102 struct tpm_softc *sc = device_private(self); in tpm_acpi_attach()