Searched refs:MPU_GETSTATUS (Results 1 – 2 of 2) sorted by relevance
/openbsd/sys/dev/isa/ |
H A D | mpu401.c | 61 #define MPU_GETSTATUS(iot, ioh) (bus_space_read_1(iot, ioh, MPU_STATUS)) macro 85 if (MPU_GETSTATUS(sc->iot, sc->ioh) == 0xff) { in mpu_find() 103 if (!(MPU_GETSTATUS(sc->iot, sc->ioh) & MPU_OUTPUT_BUSY)) in mpu_waitready() 124 if (!(MPU_GETSTATUS(iot, ioh) & MPU_INPUT_EMPTY) && in mpu_reset() 174 while(!(MPU_GETSTATUS(iot, ioh) & MPU_INPUT_EMPTY)) { in mpu_readinput() 191 if (!(MPU_GETSTATUS(sc->iot, sc->ioh) & MPU_INPUT_EMPTY)) { in mpu_output() 194 if (MPU_GETSTATUS(sc->iot, sc->ioh) & MPU_OUTPUT_BUSY) in mpu_output() 196 if (MPU_GETSTATUS(sc->iot, sc->ioh) & MPU_OUTPUT_BUSY) in mpu_output() 215 if (MPU_GETSTATUS(sc->iot, sc->ioh) & MPU_INPUT_EMPTY) { in mpu_intr()
|
H A D | mpu_isa.c | 58 #define MPU_GETSTATUS(iot, ioh) (bus_space_read_1(iot, ioh, MPU_STATUS)) macro 89 if (MPU_GETSTATUS(iot, ioh) == 0xff) in mpu_test() 93 if (!(MPU_GETSTATUS(iot, ioh) & MPU_OUTPUT_BUSY)) { in mpu_test() 104 if (!(MPU_GETSTATUS(iot, ioh) & MPU_INPUT_EMPTY) && in mpu_test()
|