Searched refs:SCD_READ (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.0-release/sys/dev/scd/
H A Dscd.c103 #define IS_ATTENTION(sc) ((SCD_READ(sc, IREG_STATUS) & SBIT_ATTENTION) != 0)
104 #define IS_BUSY(sc) ((SCD_READ(sc, IREG_STATUS) & SBIT_BUSY) != 0)
105 #define IS_DATA_RDY(sc) ((SCD_READ(sc, IREG_STATUS) & SBIT_DATA_READY) != 0)
106 #define STATUS_BIT(sc, bit) ((SCD_READ(sc, IREG_STATUS) & (bit)) != 0)
107 #define FSTATUS_BIT(sc, bit) ((SCD_READ(sc, IREG_FSTATUS) & (bit)) != 0)
195 XDEBUG(sc, 1, "DEBUG: status = 0x%x\n", SCD_READ(sc, IREG_STATUS));
607 if ((SCD_READ(sc, IREG_STATUS) & ~1) != 0) {
773 switch ((i = SCD_READ(sc, IREG_RESULT)) & 0xf0) {
775 i = SCD_READ(sc, IREG_RESULT);
779 (void)SCD_READ(s
[all...]
H A Dscdvar.h58 #define SCD_READ(_sc, _reg) \ macro

Completed in 109 milliseconds