Searched refs:sc_write (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/powerpc/mpc85xx/ |
H A D | ds1553_core.c | 59 if (sc->sc_write == NULL) in ds1553_attach() 60 sc->sc_write = ds1553_direct_write; in ds1553_attach() 70 (*sc->sc_write)(dev, DS1553_OFF_SECONDS, sec); in ds1553_attach() 99 (*sc->sc_write)(dev, DS1553_OFF_CONTROL, control); in ds1553_gettime() 117 (*sc->sc_write)(dev, DS1553_OFF_CONTROL, control); in ds1553_gettime() 152 (*sc->sc_write)(dev, DS1553_OFF_CONTROL, control); in ds1553_settime() 154 (*sc->sc_write)(dev, DS1553_OFF_SECONDS, TOBCD(ct.sec) & in ds1553_settime() 156 (*sc->sc_write)(dev, DS1553_OFF_MINUTES, TOBCD(ct.min) & in ds1553_settime() 158 (*sc->sc_write)(dev, DS1553_OFF_HOURS, TOBCD(ct.hour) & in ds1553_settime() 160 (*sc->sc_write)(dev, DS1553_OFF_DAYOFWEEK, TOBCD(ct.dow + 1) & in ds1553_settime() [all …]
|
H A D | ds1553_reg.h | 96 void (*sc_write)(device_t, bus_size_t, uint8_t); member
|
/freebsd/sys/dev/tpm/ |
H A D | tpmvar.h | 31 int (*sc_write)(struct tpm_softc *, void *, int); member
|
H A D | tpm.c | 230 sc->sc_write = tpm_legacy_write; in tpm_attach() 236 sc->sc_write = tpm_tis12_write; in tpm_attach() 510 sc->sc_write(sc, &command, sizeof(command)); in tpm_suspend() 754 sc->sc_write))) { in tpm_tis12_start() 937 wakeup(sc->sc_write); in tpm_intr() 1267 if ((rv = (sc->sc_write(sc, buf, n)))) { in tpmwrite()
|