Lines Matching refs:UIO_READ
178 error = (*sc->sc_intf->start)(sc, UIO_READ); in tpm12_suspend()
199 error = (*sc->sc_intf->end)(sc, UIO_READ, 0); in tpm12_suspend()
227 error = (*sc->sc_intf->end)(sc, UIO_READ, error); in tpm12_suspend()
277 error = (*sc->sc_intf->start)(sc, UIO_READ); in tpm20_suspend()
298 error = (*sc->sc_intf->end)(sc, UIO_READ, 0); in tpm20_suspend()
325 error = (*sc->sc_intf->end)(sc, UIO_READ, error); in tpm20_suspend()
534 if ((rv = (*sc->sc_intf->start)(sc, UIO_READ)) != 0) { in tpm12_rng()
591 if ((rv = (*sc->sc_intf->end)(sc, UIO_READ, 0)) != 0) { in tpm12_rng()
616 rv = (*sc->sc_intf->end)(sc, UIO_READ, rv); in tpm12_rng()
674 if ((rv = (*sc->sc_intf->start)(sc, UIO_READ)) != 0) { in tpm20_rng()
729 if ((rv = (*sc->sc_intf->end)(sc, UIO_READ, 0)) != 0) { in tpm20_rng()
754 rv = (*sc->sc_intf->end)(sc, UIO_READ, rv); in tpm20_rng()
857 if (rw == UIO_READ) { in tpm_tis12_start()
958 if (rw == UIO_READ) { in tpm_tis12_end()
1077 if ((rv = (*sc->sc_intf->start)(sc, UIO_READ))) in tpmread()
1102 rv = (*sc->sc_intf->end)(sc, UIO_READ, rv); in tpmread()