Searched refs:ad_read (Results 1 – 1 of 1) sorted by relevance
| /openbsd-src/sys/dev/isa/ |
| H A D | ad1848.c | 151 static int ad_read(struct ad1848_softc *, int); 161 ad_read(struct ad1848_softc *sc, int reg) in ad_read() function 217 !(ad_read(sc, SP_TEST_AND_INIT) & AUTO_CAL_IN_PROG)) in wait_for_calibration() 220 if (!(ad_read(sc, SP_TEST_AND_INIT) & AUTO_CAL_IN_PROG)) { in wait_for_calibration() 226 while (timeout > 0 && ad_read(sc, SP_TEST_AND_INIT) & AUTO_CAL_IN_PROG) in wait_for_calibration() 228 if (ad_read(sc, SP_TEST_AND_INIT) & AUTO_CAL_IN_PROG) in wait_for_calibration() 244 r = ad_read(sc, i); in ad1848_dump_regs() 249 r = ad_read(sc, i); in ad1848_dump_regs() 323 if ((tmp1 = ad_read(sc, 0)) != 0xaa || in ad1848_probe() 324 (tmp2 = ad_read(sc, 1)) != 0x45) { in ad1848_probe() [all …]
|