tag | line | file | source code |
sense | 281 | drivers/block/xd.c | u_char cmdblk[6],sense[4]; |
sense | 305 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
sense | 307 | drivers/block/xd.c | case 2: switch ((sense[0] & 0x30) >> 4) { |
sense | 308 | drivers/block/xd.c | case 0: printk("xd_readwrite: drive error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 309 | drivers/block/xd.c | case 1: printk("xd_readwrite: controller error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 310 | drivers/block/xd.c | case 2: printk("xd_readwrite: command error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 311 | drivers/block/xd.c | case 3: printk("xd_readwrite: miscellaneous error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 313 | drivers/block/xd.c | if (sense[0] & 0x80) |
sense | 314 | drivers/block/xd.c | printk(" - drive = %d, head = %d, cylinder = %d, sector = %d\n",sense[1] & 0xE0,sense[1] & 0x1F,((sense[2] & 0xC0) << 2) | sense[3],sense[2] & 0x3F); |
sense | 397 | drivers/block/xd.c | static u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout) |
sense | 402 | drivers/block/xd.c | printk("xd_command: command = 0x%X, mode = 0x%X, indata = 0x%X, outdata = 0x%X, sense = 0x%X\n",command,mode,indata,outdata,sense); |
sense | 446 | drivers/block/xd.c | if (xd_command(cmdblk,0,sense,0,0,XD_TIMEOUT)) |
sense | 58 | drivers/scsi/aha1740.c | int aha1740_makecode(unchar *sense, unchar *status) |
sense | 81 | drivers/scsi/aha1740.c | sense[0],sense[1],sense[2],sense[3]); |
sense | 206 | drivers/scsi/aha1740.c | memcpy(SCtmp->sense_buffer, ecbptr->sense, |
sense | 208 | drivers/scsi/aha1740.c | errstatus = aha1740_makecode(ecbptr->sense,ecbptr->status); |
sense | 346 | drivers/scsi/aha1740.c | ecb[ecbno].senseptr = (long) ecb[ecbno].sense; |
sense | 140 | drivers/scsi/aha1740.h | unchar sense[MAX_SENSE]; /* Sense area */ |
sense | 290 | drivers/scsi/scsi.h | #define sense_class(sense) (((sense) >> 4) & 0x7) |
sense | 291 | drivers/scsi/scsi.h | #define sense_error(sense) ((sense) & 0xf) |
sense | 292 | drivers/scsi/scsi.h | #define sense_valid(sense) ((sense) & 0x80); |
sense | 125 | drivers/scsi/st.c | unsigned char * sense = SCpnt->sense_buffer; |
sense | 137 | drivers/scsi/st.c | if ((sense[0] & 0x70) == 0x70 && |
sense | 138 | drivers/scsi/st.c | sense[2] == RECOVERED_ERROR |
sense | 125 | include/linux/xd.h | static u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout); |