Lines Matching refs:status
305 * Returns 2 bytes of status data
306 * The first byte describes media status, and second byte describes door status
322 usb_stor_dbg(us, "Media status %02X %02X\n", data[0], data[1]);
362 * Resets the media status (but not the whole device?)
452 * Examines the media status and does the right thing when the media has gone,
458 unsigned char *status = us->iobuf;
461 rc = alauda_get_media_status(us, status);
463 status[0] = 0xF0; /* Pretend there's no media */
464 status[1] = 0;
468 if ((status[0] & 0x80) || ((status[0] & 0x1F) == 0x10)
469 || ((status[1] & 0x01) == 0)) {
479 if (status[0] & 0x08) {
494 * Checks the status from the 2nd status register
495 * Returns 3 bytes of status data, only the first is known
615 usb_stor_dbg(us, "PBA %d has no logical mapping: reserved area = %02X%02X%02X%02X data status %02X block status %02X\n",
775 * Writes an entire block of data and checks status after write.