tag | line | file | source code |
sense_buffer | 1759 | drivers/scsi/53c7,8xx.c | c->cmnd[4] = sizeof(c->sense_buffer); |
sense_buffer | 1771 | drivers/scsi/53c7,8xx.c | DCMD_BMI_IO)) << 24) | sizeof(c->sense_buffer); |
sense_buffer | 1772 | drivers/scsi/53c7,8xx.c | cmd->data_transfer_start[1] = (unsigned long) c->sense_buffer; |
sense_buffer | 2120 | drivers/scsi/NCR5380.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
sense_buffer | 2125 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
sense_buffer | 2126 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = sizeof(cmd->sense_buffer); |
sense_buffer | 450 | drivers/scsi/aha1542.c | memcpy(SCtmp->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], |
sense_buffer | 451 | drivers/scsi/aha1542.c | sizeof(SCtmp->sense_buffer)); |
sense_buffer | 518 | drivers/scsi/aha1542.c | if (bufflen != sizeof(SCpnt->sense_buffer)) { |
sense_buffer | 207 | drivers/scsi/aha1740.c | memcpy(SCtmp->sense_buffer, ecbptr->sense, |
sense_buffer | 208 | drivers/scsi/aha1740.c | sizeof(SCtmp->sense_buffer)); |
sense_buffer | 252 | drivers/scsi/aha1740.c | if (bufflen != sizeof(SCpnt->sense_buffer)) |
sense_buffer | 548 | drivers/scsi/buslogic.c | for (i = 0; i < sizeof sctmp->sense_buffer; i++) |
sense_buffer | 549 | drivers/scsi/buslogic.c | printk(" %02X", sctmp->sense_buffer[i]); |
sense_buffer | 591 | drivers/scsi/buslogic.c | if (bufflen != sizeof scpnt->sense_buffer) { |
sense_buffer | 724 | drivers/scsi/buslogic.c | ccb[mbo].rsalen = sizeof scpnt->sense_buffer; |
sense_buffer | 725 | drivers/scsi/buslogic.c | ccb[mbo].senseptr = scpnt->sense_buffer; |
sense_buffer | 368 | drivers/scsi/constants.c | unsigned char * sense_buffer = SCpnt->sense_buffer; |
sense_buffer | 372 | drivers/scsi/constants.c | sense_class = (sense_buffer[0] >> 4) & 0x07; |
sense_buffer | 373 | drivers/scsi/constants.c | code = sense_buffer[0] & 0xf; |
sense_buffer | 374 | drivers/scsi/constants.c | valid = sense_buffer[0] & 0x80; |
sense_buffer | 377 | drivers/scsi/constants.c | s = sense_buffer[7] + 8; |
sense_buffer | 378 | drivers/scsi/constants.c | if(s > sizeof(SCpnt->sense_buffer)) s = sizeof(SCpnt->sense_buffer); |
sense_buffer | 383 | drivers/scsi/constants.c | if (sense_buffer[2] & 0x80) printk( "FMK "); |
sense_buffer | 384 | drivers/scsi/constants.c | if (sense_buffer[2] & 0x40) printk( "EOM "); |
sense_buffer | 385 | drivers/scsi/constants.c | if (sense_buffer[2] & 0x20) printk( "ILI "); |
sense_buffer | 401 | drivers/scsi/constants.c | printk( "%s%x: sense key %s\n", devclass, dev, snstext[sense_buffer[2] & 0x0f]); |
sense_buffer | 403 | drivers/scsi/constants.c | printk("%s%x: sns = %2x %2x\n", devclass, dev, sense_buffer[0], sense_buffer[2]); |
sense_buffer | 407 | drivers/scsi/constants.c | if(sense_buffer[7] + 7 < 13 || |
sense_buffer | 408 | drivers/scsi/constants.c | (sense_buffer[12] == 0 && sense_buffer[13] == 0)) goto done; |
sense_buffer | 412 | drivers/scsi/constants.c | if(additional[i].code1 == sense_buffer[12] && |
sense_buffer | 413 | drivers/scsi/constants.c | additional[i].code2 == sense_buffer[13]) |
sense_buffer | 417 | drivers/scsi/constants.c | if(additional2[i].code1 == sense_buffer[12] && |
sense_buffer | 418 | drivers/scsi/constants.c | additional2[i].code2_min >= sense_buffer[13] && |
sense_buffer | 419 | drivers/scsi/constants.c | additional2[i].code2_max <= sense_buffer[13]) { |
sense_buffer | 421 | drivers/scsi/constants.c | printk(additional2[i].text, sense_buffer[13]); |
sense_buffer | 425 | drivers/scsi/constants.c | printk("ASC=%2x ASCQ=%2x\n", sense_buffer[12], sense_buffer[13]); |
sense_buffer | 430 | drivers/scsi/constants.c | if (sense_buffer[0] < 15) |
sense_buffer | 431 | drivers/scsi/constants.c | printk("%s%x: old sense key %s\n", devclass, dev, snstext[sense_buffer[0] & 0x0f]); |
sense_buffer | 434 | drivers/scsi/constants.c | printk("%s%x: sns = %2x %2x\n", devclass, dev, sense_buffer[0], sense_buffer[2]); |
sense_buffer | 444 | drivers/scsi/constants.c | printk("0x%02x ", sense_buffer[i]); |
sense_buffer | 458 | drivers/scsi/eata.c | cpp->sense_addr = htonl((unsigned int) SCpnt->sense_buffer); |
sense_buffer | 459 | drivers/scsi/eata.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
sense_buffer | 294 | drivers/scsi/scsi.c | ((SCmd.sense_buffer[0] & 0x70) >> 4) == 7) { |
sense_buffer | 295 | drivers/scsi/scsi.c | if (SCmd.sense_buffer[2] &0xe0) |
sense_buffer | 297 | drivers/scsi/scsi.c | if(((SCmd.sense_buffer[2] & 0xf) != NOT_READY) && |
sense_buffer | 298 | drivers/scsi/scsi.c | ((SCmd.sense_buffer[2] & 0xf) != UNIT_ATTENTION)) |
sense_buffer | 832 | drivers/scsi/scsi.c | SCpnt->cmnd[4] = sizeof(SCpnt->sense_buffer); |
sense_buffer | 834 | drivers/scsi/scsi.c | SCpnt->request_buffer = &SCpnt->sense_buffer; |
sense_buffer | 835 | drivers/scsi/scsi.c | SCpnt->request_bufflen = sizeof(SCpnt->sense_buffer); |
sense_buffer | 932 | drivers/scsi/scsi.c | memset ((void *) SCpnt->sense_buffer, 0, sizeof SCpnt->sense_buffer); |
sense_buffer | 987 | drivers/scsi/scsi.c | if (((SCpnt->sense_buffer[0] & 0x70) >> 4) != 7) { |
sense_buffer | 1001 | drivers/scsi/scsi.c | if (SCpnt->sense_buffer[2] &0xe0) |
sense_buffer | 1004 | drivers/scsi/scsi.c | switch (SCpnt->sense_buffer[2] & 0xf) |
sense_buffer | 1953 | drivers/scsi/scsi.c | SCpnt->sense_buffer[2], |
sense_buffer | 463 | drivers/scsi/scsi.h | unsigned char sense_buffer[16]; /* Sense for this command, if needed*/ |
sense_buffer | 108 | drivers/scsi/scsi_debug.c | static char sense_buffer[128] = {0,}; |
sense_buffer | 187 | drivers/scsi/scsi_debug.c | for(i=0;i<12;i++) printk("%d ",sense_buffer[i]); |
sense_buffer | 192 | drivers/scsi/scsi_debug.c | memcpy(buff, sense_buffer, bufflen); |
sense_buffer | 193 | drivers/scsi/scsi_debug.c | memset(sense_buffer, 0, sizeof(sense_buffer)); |
sense_buffer | 295 | drivers/scsi/scsi_debug.c | sense_buffer[0] = 0x70; |
sense_buffer | 296 | drivers/scsi/scsi_debug.c | sense_buffer[2] = UNIT_ATTENTION; |
sense_buffer | 304 | drivers/scsi/scsi_debug.c | for(i=0;i<12;i++) printk("%d ",sense_buffer[i]); |
sense_buffer | 109 | drivers/scsi/scsi_ioctl.c | switch(SCpnt->sense_buffer[2] & 0xf) { |
sense_buffer | 133 | drivers/scsi/scsi_ioctl.c | sense_class(SCpnt->sense_buffer[0]), |
sense_buffer | 134 | drivers/scsi/scsi_ioctl.c | sense_error(SCpnt->sense_buffer[0]), |
sense_buffer | 135 | drivers/scsi/scsi_ioctl.c | SCpnt->sense_buffer[2] & 0xf); |
sense_buffer | 197 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_WRITE, cmd_in, sizeof(SCpnt->sense_buffer)); |
sense_buffer | 200 | drivers/scsi/scsi_ioctl.c | memcpy_tofs((void *) cmd_in, SCpnt->sense_buffer, sizeof(SCpnt->sense_buffer)); |
sense_buffer | 280 | drivers/scsi/sd.c | if ((SCpnt->sense_buffer[0] & 0x7f) == 0x70) { |
sense_buffer | 281 | drivers/scsi/sd.c | if ((SCpnt->sense_buffer[2] & 0xf) == UNIT_ATTENTION) { |
sense_buffer | 302 | drivers/scsi/sd.c | if (SCpnt->sense_buffer[2] == ILLEGAL_REQUEST) { |
sense_buffer | 842 | drivers/scsi/sd.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 843 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] = 0; |
sense_buffer | 857 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] == NOT_READY) { |
sense_buffer | 868 | drivers/scsi/sd.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 869 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] = 0; |
sense_buffer | 903 | drivers/scsi/sd.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 904 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] = 0; |
sense_buffer | 957 | drivers/scsi/sd.c | printk("sd%c : extended sense code = %1x \n", 'a' + i, SCpnt->sense_buffer[2] & 0xf); |
sense_buffer | 968 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] == NOT_READY) |
sense_buffer | 206 | drivers/scsi/sg.c | memcpy(device->header.sense_buffer, SCpnt->sense_buffer, sizeof(SCpnt->sense_buffer)); |
sense_buffer | 207 | drivers/scsi/sg.c | if (SCpnt->sense_buffer[0]) |
sense_buffer | 276 | drivers/scsi/sg.c | SCpnt->sense_buffer[0]=0; |
sense_buffer | 22 | drivers/scsi/sg.h | unsigned char sense_buffer[16]; /* used only by reads */ |
sense_buffer | 223 | drivers/scsi/sr.c | if ((SCpnt->sense_buffer[0] & 0x7f) == 0x70) { |
sense_buffer | 224 | drivers/scsi/sr.c | if ((SCpnt->sense_buffer[2] & 0xf) == UNIT_ATTENTION) { |
sense_buffer | 235 | drivers/scsi/sr.c | if (SCpnt->sense_buffer[2] == ILLEGAL_REQUEST) { |
sense_buffer | 243 | drivers/scsi/sr.c | printk("CD-ROM error: Drive reports %d.\n", SCpnt->sense_buffer[2]); |
sense_buffer | 251 | drivers/scsi/sr.c | if (SCpnt->sense_buffer[2] == NOT_READY) { |
sense_buffer | 60 | drivers/scsi/sr_ioctl.c | switch(SCpnt->sense_buffer[2] & 0xf) { |
sense_buffer | 78 | drivers/scsi/sr_ioctl.c | sense_class(SCpnt->sense_buffer[0]), |
sense_buffer | 79 | drivers/scsi/sr_ioctl.c | sense_error(SCpnt->sense_buffer[0]), |
sense_buffer | 80 | drivers/scsi/sr_ioctl.c | SCpnt->sense_buffer[2] & 0xf); |
sense_buffer | 109 | drivers/scsi/st.c | unsigned char * sense = SCpnt->sense_buffer; |
sense_buffer | 112 | drivers/scsi/st.c | if (!result && SCpnt->sense_buffer[0] == 0) |
sense_buffer | 160 | drivers/scsi/st.c | (SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 161 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x40)) { |
sense_buffer | 163 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x80) != 0) |
sense_buffer | 164 | drivers/scsi/st.c | remainder = (SCpnt->sense_buffer[3] << 24) | |
sense_buffer | 165 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) | |
sense_buffer | 166 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) | SCpnt->sense_buffer[6]; |
sense_buffer | 169 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[2] & 0x0f) == VOLUME_OVERFLOW || |
sense_buffer | 242 | drivers/scsi/st.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 297 | drivers/scsi/st.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 314 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 315 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x40) && |
sense_buffer | 316 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) != VOLUME_OVERFLOW) { |
sense_buffer | 429 | drivers/scsi/st.c | SCpnt->sense_buffer[0]=0; |
sense_buffer | 440 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 441 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == UNIT_ATTENTION) { /* New media? */ |
sense_buffer | 443 | drivers/scsi/st.c | SCpnt->sense_buffer[0]=0; |
sense_buffer | 458 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 459 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == NO_TAPE) { |
sense_buffer | 472 | drivers/scsi/st.c | SCpnt->sense_buffer[0]=0; |
sense_buffer | 482 | drivers/scsi/st.c | if (!SCpnt->result && !SCpnt->sense_buffer[0]) { |
sense_buffer | 501 | drivers/scsi/st.c | SCpnt->sense_buffer[0]=0; |
sense_buffer | 612 | drivers/scsi/st.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 766 | drivers/scsi/st.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 779 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 780 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x40)) { |
sense_buffer | 781 | drivers/scsi/st.c | if (STp->block_size != 0 && (SCpnt->sense_buffer[0] & 0x80) != 0) |
sense_buffer | 782 | drivers/scsi/st.c | transfer = (SCpnt->sense_buffer[3] << 24) | |
sense_buffer | 783 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) | |
sense_buffer | 784 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) | SCpnt->sense_buffer[6]; |
sense_buffer | 786 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == VOLUME_OVERFLOW) |
sense_buffer | 877 | drivers/scsi/st.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 967 | drivers/scsi/st.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 983 | drivers/scsi/st.c | SCpnt->sense_buffer[0], SCpnt->sense_buffer[1], |
sense_buffer | 984 | drivers/scsi/st.c | SCpnt->sense_buffer[2], SCpnt->sense_buffer[3], |
sense_buffer | 985 | drivers/scsi/st.c | SCpnt->sense_buffer[4], SCpnt->sense_buffer[5], |
sense_buffer | 986 | drivers/scsi/st.c | SCpnt->sense_buffer[6], SCpnt->sense_buffer[7]); |
sense_buffer | 988 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70) { /* extended sense */ |
sense_buffer | 990 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[2] & 0xe0) != 0) { /* EOF, EOM, or ILI */ |
sense_buffer | 992 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x80) != 0) |
sense_buffer | 993 | drivers/scsi/st.c | transfer = (SCpnt->sense_buffer[3] << 24) | |
sense_buffer | 994 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) | |
sense_buffer | 995 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) | SCpnt->sense_buffer[6]; |
sense_buffer | 999 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == MEDIUM_ERROR) |
sense_buffer | 1002 | drivers/scsi/st.c | if (SCpnt->sense_buffer[2] & 0x20) { |
sense_buffer | 1014 | drivers/scsi/st.c | else if (SCpnt->sense_buffer[2] & 0x40) { |
sense_buffer | 1027 | drivers/scsi/st.c | else if (SCpnt->sense_buffer[2] & 0x80) { |
sense_buffer | 1052 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == BLANK_CHECK) { |
sense_buffer | 1468 | drivers/scsi/st.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 1523 | drivers/scsi/st.c | if (SCpnt->sense_buffer[2] & 0x40) { |
sense_buffer | 1529 | drivers/scsi/st.c | (SCpnt->sense_buffer[3] << 24) + |
sense_buffer | 1530 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) + |
sense_buffer | 1531 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) + |
sense_buffer | 1532 | drivers/scsi/st.c | SCpnt->sense_buffer[6] ); |
sense_buffer | 1550 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == BLANK_CHECK) |
sense_buffer | 1670 | drivers/scsi/st.c | SCpnt->sense_buffer[0]=0; |
sense_buffer | 1681 | drivers/scsi/st.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 493 | drivers/scsi/u14-34f.c | cpp->sense_addr = (unsigned int) SCpnt->sense_buffer; |
sense_buffer | 494 | drivers/scsi/u14-34f.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
sense_buffer | 716 | drivers/scsi/ultrastor.c | my_mscp->length_of_sense_byte = sizeof SCpnt->sense_buffer; |
sense_buffer | 721 | drivers/scsi/ultrastor.c | my_mscp->sense_data = (unsigned int)&SCpnt->sense_buffer; |