taglinefilesource code
sense280drivers/block/xd.cu_char cmdblk[6],sense[4];
sense304drivers/block/xd.cswitch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) {
sense306drivers/block/xd.ccase 2: switch ((sense[0] & 0x30) >> 4) {
sense307drivers/block/xd.ccase 0: printk("xd_readwrite: drive error, code = 0x%X",sense[0] & 0x0F); break;
sense308drivers/block/xd.ccase 1: printk("xd_readwrite: controller error, code = 0x%X",sense[0] & 0x0F); break;
sense309drivers/block/xd.ccase 2: printk("xd_readwrite: command error, code = 0x%X",sense[0] & 0x0F); break;
sense310drivers/block/xd.ccase 3: printk("xd_readwrite: miscellaneous error, code = 0x%X",sense[0] & 0x0F); break;
sense312drivers/block/xd.cif (sense[0] & 0x80)
sense313drivers/block/xd.cprintk(" - drive = %d, head = %d, cylinder = %d, sector = %d\n",sense[1] & 0xE0,sense[1] & 0x1F,((sense[2] & 0xC0) << 2) | sense[3],sense[2] & 0x3F);
sense396drivers/block/xd.cstatic u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout)
sense401drivers/block/xd.cprintk("xd_command: command = 0x%X, mode = 0x%X, indata = 0x%X, outdata = 0x%X, sense = 0x%X\n",command,mode,indata,outdata,sense);
sense445drivers/block/xd.cif (xd_command(cmdblk,0,sense,0,0,XD_TIMEOUT))
sense58drivers/scsi/aha1740.cint aha1740_makecode(unchar *sense, unchar *status)
sense81drivers/scsi/aha1740.csense[0],sense[1],sense[2],sense[3]);
sense206drivers/scsi/aha1740.cmemcpy(SCtmp->sense_buffer, ecbptr->sense, 
sense208drivers/scsi/aha1740.cerrstatus = aha1740_makecode(ecbptr->sense,ecbptr->status);
sense346drivers/scsi/aha1740.cecb[ecbno].senseptr = (long) ecb[ecbno].sense;
sense140drivers/scsi/aha1740.hunchar sense[MAX_SENSE];  /* Sense area */ 
sense289drivers/scsi/scsi.h#define sense_class(sense) (((sense) >> 4) & 0x7)
sense290drivers/scsi/scsi.h#define sense_error(sense) ((sense) & 0xf)
sense291drivers/scsi/scsi.h#define sense_valid(sense) ((sense) & 0x80);
sense134drivers/scsi/st.cunsigned char * sense = SCpnt->sense_buffer;
sense142drivers/scsi/st.cif ((sense[0] & 0x70) == 0x70 &&
sense143drivers/scsi/st.c((sense[2] & 0x80) /* || ((sense[2] & 0x0f) == 8) */ ))
sense125include/linux/xd.hstatic u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout);