tag | line | file | source code |
sense | 336 | drivers/block/xd.c | u_char cmdblk[6],sense[4]; |
sense | 360 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
sense | 366 | drivers/block/xd.c | switch ((sense[0] & 0x30) >> 4) { |
sense | 367 | drivers/block/xd.c | case 0: printk("xd_readwrite: drive error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 368 | drivers/block/xd.c | case 1: printk("xd_readwrite: controller error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 369 | drivers/block/xd.c | case 2: printk("xd_readwrite: command error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 370 | drivers/block/xd.c | case 3: printk("xd_readwrite: miscellaneous error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 372 | drivers/block/xd.c | if (sense[0] & 0x80) |
sense | 373 | 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 | 456 | 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 | 461 | 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 | 508 | drivers/block/xd.c | if (xd_command(cmdblk,0,sense,0,0,XD_TIMEOUT)) |
sense | 69 | drivers/scsi/aha1740.c | int aha1740_makecode(unchar *sense, unchar *status) |
sense | 92 | drivers/scsi/aha1740.c | sense[0],sense[1],sense[2],sense[3]); |
sense | 220 | drivers/scsi/aha1740.c | memcpy(SCtmp->sense_buffer, ecbptr->sense, |
sense | 222 | drivers/scsi/aha1740.c | errstatus = aha1740_makecode(ecbptr->sense,ecbptr->status); |
sense | 361 | drivers/scsi/aha1740.c | ecb[ecbno].senseptr = (long) ecb[ecbno].sense; |
sense | 141 | drivers/scsi/aha1740.h | u8 sense[MAX_SENSE]; /* Sense area */ |
sense | 207 | drivers/scsi/scsi.h | #define sense_class(sense) (((sense) >> 4) & 0x7) |
sense | 208 | drivers/scsi/scsi.h | #define sense_error(sense) ((sense) & 0xf) |
sense | 209 | drivers/scsi/scsi.h | #define sense_valid(sense) ((sense) & 0x80); |
sense | 108 | drivers/scsi/st.c | unsigned char * sense = SCpnt->sense_buffer, scode; |
sense | 127 | drivers/scsi/st.c | scode = sense[2] & 0x0f; |
sense | 129 | drivers/scsi/st.c | ((sense[0] & 0x70) == 0x70 && |
sense | 145 | drivers/scsi/st.c | if ((sense[0] & 0x70) == 0x70 && |
sense | 124 | 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); |