tag | line | file | source code |
sense | 325 | drivers/block/xd.c | u_char cmdblk[6],sense[4]; |
sense | 349 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
sense | 355 | drivers/block/xd.c | switch ((sense[0] & 0x30) >> 4) { |
sense | 356 | drivers/block/xd.c | case 0: printk("xd_readwrite: drive error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 357 | drivers/block/xd.c | case 1: printk("xd_readwrite: controller error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 358 | drivers/block/xd.c | case 2: printk("xd_readwrite: command error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 359 | drivers/block/xd.c | case 3: printk("xd_readwrite: miscellaneous error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 361 | drivers/block/xd.c | if (sense[0] & 0x80) |
sense | 362 | 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 | 445 | 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 | 450 | 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 | 497 | drivers/block/xd.c | if (xd_command(cmdblk,0,sense,0,0,XD_TIMEOUT)) |
sense | 59 | drivers/scsi/aha1740.c | int aha1740_makecode(unchar *sense, unchar *status) |
sense | 82 | drivers/scsi/aha1740.c | sense[0],sense[1],sense[2],sense[3]); |
sense | 213 | drivers/scsi/aha1740.c | memcpy(SCtmp->sense_buffer, ecbptr->sense, |
sense | 215 | drivers/scsi/aha1740.c | errstatus = aha1740_makecode(ecbptr->sense,ecbptr->status); |
sense | 352 | drivers/scsi/aha1740.c | ecb[ecbno].senseptr = (long) ecb[ecbno].sense; |
sense | 140 | drivers/scsi/aha1740.h | unchar sense[MAX_SENSE]; /* Sense area */ |
sense | 316 | drivers/scsi/scsi.h | #define sense_class(sense) (((sense) >> 4) & 0x7) |
sense | 317 | drivers/scsi/scsi.h | #define sense_error(sense) ((sense) & 0xf) |
sense | 318 | drivers/scsi/scsi.h | #define sense_valid(sense) ((sense) & 0x80); |
sense | 109 | drivers/scsi/st.c | unsigned char * sense = SCpnt->sense_buffer; |
sense | 127 | drivers/scsi/st.c | if ((sense[0] & 0x70) == 0x70 && |
sense | 128 | 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); |