tag | line | file | source code |
sense | 326 | drivers/block/xd.c | u_char cmdblk[6],sense[4]; |
sense | 350 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
sense | 356 | drivers/block/xd.c | switch ((sense[0] & 0x30) >> 4) { |
sense | 357 | drivers/block/xd.c | case 0: printk("xd_readwrite: drive error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 358 | drivers/block/xd.c | case 1: printk("xd_readwrite: controller error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 359 | drivers/block/xd.c | case 2: printk("xd_readwrite: command error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 360 | drivers/block/xd.c | case 3: printk("xd_readwrite: miscellaneous error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 362 | drivers/block/xd.c | if (sense[0] & 0x80) |
sense | 363 | 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 | 446 | 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 | 451 | 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 | 498 | drivers/block/xd.c | if (xd_command(cmdblk,0,sense,0,0,XD_TIMEOUT)) |
sense | 63 | drivers/scsi/aha1740.c | int aha1740_makecode(unchar *sense, unchar *status) |
sense | 86 | drivers/scsi/aha1740.c | sense[0],sense[1],sense[2],sense[3]); |
sense | 214 | drivers/scsi/aha1740.c | memcpy(SCtmp->sense_buffer, ecbptr->sense, |
sense | 216 | drivers/scsi/aha1740.c | errstatus = aha1740_makecode(ecbptr->sense,ecbptr->status); |
sense | 355 | drivers/scsi/aha1740.c | ecb[ecbno].senseptr = (long) ecb[ecbno].sense; |
sense | 140 | drivers/scsi/aha1740.h | u8 sense[MAX_SENSE]; /* Sense area */ |
sense | 334 | drivers/scsi/scsi.h | #define sense_class(sense) (((sense) >> 4) & 0x7) |
sense | 335 | drivers/scsi/scsi.h | #define sense_error(sense) ((sense) & 0xf) |
sense | 336 | drivers/scsi/scsi.h | #define sense_valid(sense) ((sense) & 0x80); |
sense | 119 | drivers/scsi/st.c | unsigned char * sense = SCpnt->sense_buffer, scode; |
sense | 134 | drivers/scsi/st.c | scode = sense[2] & 0x0f; |
sense | 136 | drivers/scsi/st.c | ((sense[0] & 0x70) == 0x70 && |
sense | 149 | 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); |