Lines Matching refs:ADREAD
238 x = ADREAD(sc, AD1848_IDATA);
264 x = ADREAD(sc, AD1848_IDATA);
304 while (timeout > 0 && ADREAD(sc, AD1848_IADDR) == SP_IN_INIT) {
317 (ADREAD(sc, AD1848_IADDR)&SP_IADDR_MASK) != SP_TEST_AND_INIT) {
361 printf("ad1848 status=%02x", ADREAD(sc, AD1848_STATUS));
394 while (timeout > 0 && ADREAD(sc, AD1848_IADDR) & SP_IN_INIT)
405 ADREAD(sc, AD1848_IADDR) & SP_IN_INIT)
945 timeout < 1000 && ADREAD(sc, AD1848_IADDR) & SP_IN_INIT; timeout++)
960 (void)ADREAD(sc, AD1848_IDATA);
961 (void)ADREAD(sc, AD1848_IDATA);
964 while (timeout > 0 && ADREAD(sc, AD1848_IADDR) == SP_IN_INIT)
968 (void)ADREAD(sc, AD1848_IDATA);
969 (void)ADREAD(sc, AD1848_IDATA);
976 while (timeout > 0 && ADREAD(sc, AD1848_IADDR) == SP_IN_INIT) {
981 if (ADREAD(sc, AD1848_IADDR) == SP_IN_INIT)