taglinefilesource code
sense127include/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);
sense57kernel/blk_drv/scsi/aha1740.cint aha1740_makecode(unchar *sense, unchar *status)
sense80kernel/blk_drv/scsi/aha1740.csense[0],sense[1],sense[2],sense[3]);
sense205kernel/blk_drv/scsi/aha1740.cmemcpy(SCtmp->sense_buffer, ecbptr->sense, 
sense207kernel/blk_drv/scsi/aha1740.cerrstatus = aha1740_makecode(ecbptr->sense,ecbptr->status);
sense345kernel/blk_drv/scsi/aha1740.cecb[ecbno].senseptr = (long) ecb[ecbno].sense;
sense140kernel/blk_drv/scsi/aha1740.hunchar sense[MAX_SENSE];  /* Sense area */ 
sense294kernel/blk_drv/scsi/scsi.h#define sense_class(sense) (((sense) >> 4) & 0x7)
sense295kernel/blk_drv/scsi/scsi.h#define sense_error(sense) ((sense) & 0xf)
sense296kernel/blk_drv/scsi/scsi.h#define sense_valid(sense) ((sense) & 0x80);
sense147kernel/blk_drv/scsi/st.cstatic int st_chk_result(int dev, int result, char *sense)
sense153kernel/blk_drv/scsi/st.cdecode_sns(dev, sense);
sense155kernel/blk_drv/scsi/st.cif ((sense[0] & 0x70) == 0x70 &&
sense156kernel/blk_drv/scsi/st.c((sense[2] & 0x80) /* || ((sense[2] & 0x0f) == 8) */ ))
sense267kernel/blk_drv/xd.cu_char cmdblk[6],sense[4];
sense295kernel/blk_drv/xd.cswitch (xd_command(cmdblk,mode,buffer,buffer,sense,XD_TIMEOUT)) {
sense297kernel/blk_drv/xd.ccase 2: switch ((sense[0] & 0x30) >> 4) {
sense298kernel/blk_drv/xd.ccase 0: printk("xd_readwrite: drive error, code = 0x%X",sense[0] & 0x0F); break;
sense299kernel/blk_drv/xd.ccase 1: printk("xd_readwrite: controller error, code = 0x%X",sense[0] & 0x0F); break;
sense300kernel/blk_drv/xd.ccase 2: printk("xd_readwrite: command error, code = 0x%X",sense[0] & 0x0F); break;
sense301kernel/blk_drv/xd.ccase 3: printk("xd_readwrite: miscellaneous error, code = 0x%X",sense[0] & 0x0F); break;
sense303kernel/blk_drv/xd.cif (sense[0] & 0x80)
sense304kernel/blk_drv/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);
sense390kernel/blk_drv/xd.cstatic u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout)
sense395kernel/blk_drv/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);
sense439kernel/blk_drv/xd.cif (xd_command(cmdblk,0,sense,0,0,XD_TIMEOUT))