Lines Matching refs:status
39 /* command/status port used by Apple SMC */
46 /* Apple SMC status bits */
158 * Wait for specific status bits with a mask on the SMC.
167 u8 status;
173 status = inb(APPLESMC_CMD_PORT);
174 if ((status & mask) == val)
187 int status;
189 status = wait_status(0, SMC_STATUS_IB_CLOSED);
190 if (status)
191 return status;
195 * this extra read may not happen if status returns both
198 status = wait_status(SMC_STATUS_BUSY, SMC_STATUS_BUSY);
199 if (status)
200 return status;
250 u8 status, data = 0;
281 status = inb(APPLESMC_CMD_PORT);
282 if (!(status & SMC_STATUS_AWAITING_DATA))