tag | line | file | source code |
sense | 127 | 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); |
sense | 57 | kernel/blk_drv/scsi/aha1740.c | int aha1740_makecode(unchar *sense, unchar *status) |
sense | 80 | kernel/blk_drv/scsi/aha1740.c | sense[0],sense[1],sense[2],sense[3]); |
sense | 205 | kernel/blk_drv/scsi/aha1740.c | memcpy(SCtmp->sense_buffer, ecbptr->sense, |
sense | 207 | kernel/blk_drv/scsi/aha1740.c | errstatus = aha1740_makecode(ecbptr->sense,ecbptr->status); |
sense | 345 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].senseptr = (long) ecb[ecbno].sense; |
sense | 140 | kernel/blk_drv/scsi/aha1740.h | unchar sense[MAX_SENSE]; /* Sense area */ |
sense | 294 | kernel/blk_drv/scsi/scsi.h | #define sense_class(sense) (((sense) >> 4) & 0x7) |
sense | 295 | kernel/blk_drv/scsi/scsi.h | #define sense_error(sense) ((sense) & 0xf) |
sense | 296 | kernel/blk_drv/scsi/scsi.h | #define sense_valid(sense) ((sense) & 0x80); |
sense | 147 | kernel/blk_drv/scsi/st.c | static int st_chk_result(int dev, int result, char *sense) |
sense | 153 | kernel/blk_drv/scsi/st.c | decode_sns(dev, sense); |
sense | 155 | kernel/blk_drv/scsi/st.c | if ((sense[0] & 0x70) == 0x70 && |
sense | 156 | kernel/blk_drv/scsi/st.c | ((sense[2] & 0x80) /* || ((sense[2] & 0x0f) == 8) */ )) |
sense | 267 | kernel/blk_drv/xd.c | u_char cmdblk[6],sense[4]; |
sense | 295 | kernel/blk_drv/xd.c | switch (xd_command(cmdblk,mode,buffer,buffer,sense,XD_TIMEOUT)) { |
sense | 297 | kernel/blk_drv/xd.c | case 2: switch ((sense[0] & 0x30) >> 4) { |
sense | 298 | kernel/blk_drv/xd.c | case 0: printk("xd_readwrite: drive error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 299 | kernel/blk_drv/xd.c | case 1: printk("xd_readwrite: controller error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 300 | kernel/blk_drv/xd.c | case 2: printk("xd_readwrite: command error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 301 | kernel/blk_drv/xd.c | case 3: printk("xd_readwrite: miscellaneous error, code = 0x%X",sense[0] & 0x0F); break; |
sense | 303 | kernel/blk_drv/xd.c | if (sense[0] & 0x80) |
sense | 304 | kernel/blk_drv/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 | 390 | kernel/blk_drv/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 | 395 | kernel/blk_drv/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 | 439 | kernel/blk_drv/xd.c | if (xd_command(cmdblk,0,sense,0,0,XD_TIMEOUT)) |