Lines Matching refs:tpm_softc
129 ((struct tpm_softc *)dev->si_drv1)
165 int tpm_tis12_irqinit(struct tpm_softc *, int, int);
166 int tpm_tis12_init(struct tpm_softc *, int, const char *);
167 int tpm_tis12_start(struct tpm_softc *, int);
168 int tpm_tis12_read(struct tpm_softc *, void *, int, size_t *, int);
169 int tpm_tis12_write(struct tpm_softc *, void *, int);
170 int tpm_tis12_end(struct tpm_softc *, int, int);
174 int tpm_waitfor_poll(struct tpm_softc *, u_int8_t, int, void *);
175 int tpm_waitfor_int(struct tpm_softc *, u_int8_t, int, void *, int);
176 int tpm_waitfor(struct tpm_softc *, u_int8_t, int, void *);
177 int tpm_request_locality(struct tpm_softc *, int);
178 int tpm_getburst(struct tpm_softc *);
179 u_int8_t tpm_status(struct tpm_softc *);
183 int tpm_legacy_init(struct tpm_softc *, int, const char *);
184 int tpm_legacy_start(struct tpm_softc *, int);
185 int tpm_legacy_read(struct tpm_softc *, void *, int, size_t *, int);
186 int tpm_legacy_write(struct tpm_softc *, void *, int);
187 int tpm_legacy_end(struct tpm_softc *, int, int);
204 struct tpm_softc *sc = device_get_softc(dev); in tpm_attach()
265 struct tpm_softc * sc = device_get_softc(dev); in tpm_detach()
326 tpm_tis12_irqinit(struct tpm_softc *sc, int irq, int idx) in tpm_tis12_irqinit()
360 tpm_tis12_init(struct tpm_softc *sc, int irq, const char *name) in tpm_tis12_init()
401 tpm_request_locality(struct tpm_softc *sc, int l) in tpm_request_locality()
443 tpm_getburst(struct tpm_softc *sc) in tpm_getburst()
475 tpm_status(struct tpm_softc *sc) in tpm_status()
500 struct tpm_softc *sc = device_get_softc(dev); in tpm_suspend()
528 struct tpm_softc *sc = device_get_softc(dev); in tpm_resume()
542 tpm_waitfor_poll(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c) in tpm_waitfor_poll()
565 tpm_waitfor_int(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c, in tpm_waitfor_int()
632 tpm_waitfor(struct tpm_softc *sc, u_int8_t b0, int tmo, void *c) in tpm_waitfor()
725 tpm_tis12_start(struct tpm_softc *sc, int flag) in tpm_tis12_start()
770 tpm_tis12_read(struct tpm_softc *sc, void *buf, int len, size_t *count, in tpm_tis12_read()
810 tpm_tis12_write(struct tpm_softc *sc, void *buf, int len) in tpm_tis12_write()
871 tpm_tis12_end(struct tpm_softc *sc, int flag, int err) in tpm_tis12_end()
917 struct tpm_softc *sc = v; in tpm_intr()
1016 tpm_legacy_init(struct tpm_softc *sc, int irq, const char *name) in tpm_legacy_init()
1038 tpm_legacy_start(struct tpm_softc *sc, int flag) in tpm_legacy_start()
1063 tpm_legacy_read(struct tpm_softc *sc, void *buf, int len, size_t *count, in tpm_legacy_read()
1088 tpm_legacy_write(struct tpm_softc *sc, void *buf, int len) in tpm_legacy_write()
1107 tpm_legacy_end(struct tpm_softc *sc, int flag, int rv) in tpm_legacy_end()
1140 struct tpm_softc *sc = TPMSOFTC(dev); in tpmopen()
1156 struct tpm_softc *sc = TPMSOFTC(dev); in tpmclose()
1172 struct tpm_softc *sc = TPMSOFTC(dev); in tpmread()
1244 struct tpm_softc *sc = TPMSOFTC(dev); in tpmwrite()