Home
last modified time | relevance | path

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

/openbsd-src/sys/dev/isa/
H A Dad1848.c157 #define ADREAD(sc, addr) bus_space_read_1((sc)->sc_iot, (sc)->sc_ioh, (sc)->sc_iooffs+(addr)) macro
166 x = ADREAD(sc, AD1848_IDATA); in ad_read()
208 while (timeout > 0 && ADREAD(sc, AD1848_IADDR) == SP_IN_INIT) in wait_for_calibration()
211 if (ADREAD(sc, AD1848_IADDR) == SP_IN_INIT) in wait_for_calibration()
241 printf("ad1848 status=%02x", ADREAD(sc, AD1848_STATUS)); in ad1848_dump_regs()
307 tmp = ADREAD(sc, AD1848_IADDR); in ad1848_probe()
466 while(ADREAD(sc, AD1848_IADDR) & SP_IN_INIT) in ad1848_probe()
471 while(ADREAD(sc, AD1848_IDATA) & AUTO_CAL_IN_PROG) in ad1848_probe()
523 while (timeout > 0 && ADREAD(sc, AD1848_IADDR) & SP_IN_INIT) in ad1848_attach()
541 ADREAD(sc, AD1848_IADDR) & SP_IN_INIT) in ad1848_attach()
[all …]