status_reg_value 557 drivers/scsi/3w-9xxx.c static int twa_check_bits(u32 status_reg_value) status_reg_value 561 drivers/scsi/3w-9xxx.c if ((status_reg_value & TW_STATUS_EXPECTED_BITS) != TW_STATUS_EXPECTED_BITS) status_reg_value 563 drivers/scsi/3w-9xxx.c if ((status_reg_value & TW_STATUS_UNEXPECTED_BITS) != 0) status_reg_value 903 drivers/scsi/3w-9xxx.c static int twa_decode_bits(TW_Device_Extension *tw_dev, u32 status_reg_value) status_reg_value 908 drivers/scsi/3w-9xxx.c if (status_reg_value & TW_STATUS_PCI_PARITY_ERROR) { status_reg_value 913 drivers/scsi/3w-9xxx.c if (status_reg_value & TW_STATUS_PCI_ABORT) { status_reg_value 919 drivers/scsi/3w-9xxx.c if (status_reg_value & TW_STATUS_QUEUE_ERROR) { status_reg_value 927 drivers/scsi/3w-9xxx.c if (status_reg_value & TW_STATUS_MICROCONTROLLER_ERROR) { status_reg_value 942 drivers/scsi/3w-9xxx.c u32 status_reg_value, response_que_value; status_reg_value 945 drivers/scsi/3w-9xxx.c status_reg_value = readl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 947 drivers/scsi/3w-9xxx.c while (((status_reg_value & TW_STATUS_RESPONSE_QUEUE_EMPTY) == 0) && (count < TW_MAX_RESPONSE_DRAIN)) { status_reg_value 949 drivers/scsi/3w-9xxx.c status_reg_value = readl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 1221 drivers/scsi/3w-9xxx.c u32 status_reg_value; status_reg_value 1231 drivers/scsi/3w-9xxx.c status_reg_value = readl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 1234 drivers/scsi/3w-9xxx.c if (!(status_reg_value & TW_STATUS_VALID_INTERRUPT)) status_reg_value 1244 drivers/scsi/3w-9xxx.c if (twa_check_bits(status_reg_value)) { status_reg_value 1245 drivers/scsi/3w-9xxx.c if (twa_decode_bits(tw_dev, status_reg_value)) { status_reg_value 1252 drivers/scsi/3w-9xxx.c if (status_reg_value & TW_STATUS_HOST_INTERRUPT) status_reg_value 1256 drivers/scsi/3w-9xxx.c if (status_reg_value & TW_STATUS_ATTENTION_INTERRUPT) { status_reg_value 1271 drivers/scsi/3w-9xxx.c if (status_reg_value & TW_STATUS_COMMAND_INTERRUPT) { status_reg_value 1292 drivers/scsi/3w-9xxx.c if (status_reg_value & TW_STATUS_RESPONSE_INTERRUPT) { status_reg_value 1295 drivers/scsi/3w-9xxx.c while ((status_reg_value & TW_STATUS_RESPONSE_QUEUE_EMPTY) == 0) { status_reg_value 1364 drivers/scsi/3w-9xxx.c status_reg_value = readl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 1365 drivers/scsi/3w-9xxx.c if (twa_check_bits(status_reg_value)) { status_reg_value 1366 drivers/scsi/3w-9xxx.c if (twa_decode_bits(tw_dev, status_reg_value)) { status_reg_value 1458 drivers/scsi/3w-9xxx.c u32 status_reg_value; status_reg_value 1462 drivers/scsi/3w-9xxx.c status_reg_value = readl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 1465 drivers/scsi/3w-9xxx.c if (twa_check_bits(status_reg_value)) status_reg_value 1466 drivers/scsi/3w-9xxx.c twa_decode_bits(tw_dev, status_reg_value); status_reg_value 1468 drivers/scsi/3w-9xxx.c while ((status_reg_value & flag) != flag) { status_reg_value 1469 drivers/scsi/3w-9xxx.c status_reg_value = readl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 1471 drivers/scsi/3w-9xxx.c if (twa_check_bits(status_reg_value)) status_reg_value 1472 drivers/scsi/3w-9xxx.c twa_decode_bits(tw_dev, status_reg_value); status_reg_value 1487 drivers/scsi/3w-9xxx.c u32 status_reg_value; status_reg_value 1491 drivers/scsi/3w-9xxx.c status_reg_value = readl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 1494 drivers/scsi/3w-9xxx.c if (twa_check_bits(status_reg_value)) status_reg_value 1495 drivers/scsi/3w-9xxx.c twa_decode_bits(tw_dev, status_reg_value); status_reg_value 1497 drivers/scsi/3w-9xxx.c while ((status_reg_value & flag) != 0) { status_reg_value 1498 drivers/scsi/3w-9xxx.c status_reg_value = readl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 1499 drivers/scsi/3w-9xxx.c if (twa_check_bits(status_reg_value)) status_reg_value 1500 drivers/scsi/3w-9xxx.c twa_decode_bits(tw_dev, status_reg_value); status_reg_value 1515 drivers/scsi/3w-9xxx.c u32 status_reg_value; status_reg_value 1528 drivers/scsi/3w-9xxx.c status_reg_value = readl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 1530 drivers/scsi/3w-9xxx.c if (twa_check_bits(status_reg_value)) status_reg_value 1531 drivers/scsi/3w-9xxx.c twa_decode_bits(tw_dev, status_reg_value); status_reg_value 1533 drivers/scsi/3w-9xxx.c if (((tw_dev->pending_request_count > 0) && (tw_dev->state[request_id] != TW_S_PENDING)) || (status_reg_value & TW_STATUS_COMMAND_QUEUE_FULL)) { status_reg_value 240 drivers/scsi/3w-xxxx.c static int tw_check_bits(u32 status_reg_value) status_reg_value 242 drivers/scsi/3w-xxxx.c if ((status_reg_value & TW_STATUS_EXPECTED_BITS) != TW_STATUS_EXPECTED_BITS) { status_reg_value 243 drivers/scsi/3w-xxxx.c dprintk(KERN_WARNING "3w-xxxx: tw_check_bits(): No expected bits (0x%x).\n", status_reg_value); status_reg_value 246 drivers/scsi/3w-xxxx.c if ((status_reg_value & TW_STATUS_UNEXPECTED_BITS) != 0) { status_reg_value 247 drivers/scsi/3w-xxxx.c dprintk(KERN_WARNING "3w-xxxx: tw_check_bits(): Found unexpected bits (0x%x).\n", status_reg_value); status_reg_value 255 drivers/scsi/3w-xxxx.c static int tw_decode_bits(TW_Device_Extension *tw_dev, u32 status_reg_value, int print_host) status_reg_value 266 drivers/scsi/3w-xxxx.c if (status_reg_value & TW_STATUS_PCI_PARITY_ERROR) { status_reg_value 271 drivers/scsi/3w-xxxx.c if (status_reg_value & TW_STATUS_PCI_ABORT) { status_reg_value 277 drivers/scsi/3w-xxxx.c if (status_reg_value & TW_STATUS_QUEUE_ERROR) { status_reg_value 282 drivers/scsi/3w-xxxx.c if (status_reg_value & TW_STATUS_SBUF_WRITE_ERROR) { status_reg_value 287 drivers/scsi/3w-xxxx.c if (status_reg_value & TW_STATUS_MICROCONTROLLER_ERROR) { status_reg_value 301 drivers/scsi/3w-xxxx.c u32 status_reg_value; status_reg_value 305 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 308 drivers/scsi/3w-xxxx.c if (tw_check_bits(status_reg_value)) status_reg_value 309 drivers/scsi/3w-xxxx.c tw_decode_bits(tw_dev, status_reg_value, 0); status_reg_value 311 drivers/scsi/3w-xxxx.c while ((status_reg_value & flag) != flag) { status_reg_value 312 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 314 drivers/scsi/3w-xxxx.c if (tw_check_bits(status_reg_value)) status_reg_value 315 drivers/scsi/3w-xxxx.c tw_decode_bits(tw_dev, status_reg_value, 0); status_reg_value 330 drivers/scsi/3w-xxxx.c u32 status_reg_value; status_reg_value 334 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 337 drivers/scsi/3w-xxxx.c if (tw_check_bits(status_reg_value)) status_reg_value 338 drivers/scsi/3w-xxxx.c tw_decode_bits(tw_dev, status_reg_value, 0); status_reg_value 340 drivers/scsi/3w-xxxx.c while ((status_reg_value & flag) != 0) { status_reg_value 341 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 343 drivers/scsi/3w-xxxx.c if (tw_check_bits(status_reg_value)) status_reg_value 344 drivers/scsi/3w-xxxx.c tw_decode_bits(tw_dev, status_reg_value, 0); status_reg_value 359 drivers/scsi/3w-xxxx.c u32 status_reg_value; status_reg_value 364 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 366 drivers/scsi/3w-xxxx.c if (tw_check_bits(status_reg_value)) { status_reg_value 368 drivers/scsi/3w-xxxx.c tw_decode_bits(tw_dev, status_reg_value, 1); status_reg_value 371 drivers/scsi/3w-xxxx.c if ((status_reg_value & TW_STATUS_COMMAND_QUEUE_FULL) == 0) { status_reg_value 448 drivers/scsi/3w-xxxx.c u32 status_reg_value; status_reg_value 450 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 452 drivers/scsi/3w-xxxx.c if (TW_STATUS_ERRORS(status_reg_value) || tw_check_bits(status_reg_value)) { status_reg_value 453 drivers/scsi/3w-xxxx.c tw_decode_bits(tw_dev, status_reg_value, 0); status_reg_value 463 drivers/scsi/3w-xxxx.c u32 status_reg_value, response_que_value; status_reg_value 465 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 467 drivers/scsi/3w-xxxx.c while ((status_reg_value & TW_STATUS_RESPONSE_QUEUE_EMPTY) == 0) { status_reg_value 469 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 546 drivers/scsi/3w-xxxx.c u32 status_reg_value; status_reg_value 551 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 552 drivers/scsi/3w-xxxx.c if (tw_check_bits(status_reg_value)) { status_reg_value 554 drivers/scsi/3w-xxxx.c tw_decode_bits(tw_dev, status_reg_value, 1); status_reg_value 593 drivers/scsi/3w-xxxx.c if ((status_reg_value & TW_STATUS_COMMAND_QUEUE_FULL) == 0) { status_reg_value 2005 drivers/scsi/3w-xxxx.c u32 status_reg_value; status_reg_value 2016 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 2019 drivers/scsi/3w-xxxx.c if (!(status_reg_value & TW_STATUS_VALID_INTERRUPT)) status_reg_value 2029 drivers/scsi/3w-xxxx.c if (tw_check_bits(status_reg_value)) { status_reg_value 2031 drivers/scsi/3w-xxxx.c if (tw_decode_bits(tw_dev, status_reg_value, 1)) { status_reg_value 2038 drivers/scsi/3w-xxxx.c if (status_reg_value & TW_STATUS_HOST_INTERRUPT) { status_reg_value 2044 drivers/scsi/3w-xxxx.c if (status_reg_value & TW_STATUS_ATTENTION_INTERRUPT) { status_reg_value 2057 drivers/scsi/3w-xxxx.c if (status_reg_value & TW_STATUS_COMMAND_INTERRUPT) { status_reg_value 2083 drivers/scsi/3w-xxxx.c if (status_reg_value & TW_STATUS_RESPONSE_INTERRUPT) { status_reg_value 2085 drivers/scsi/3w-xxxx.c while ((status_reg_value & TW_STATUS_RESPONSE_QUEUE_EMPTY) == 0) { status_reg_value 2181 drivers/scsi/3w-xxxx.c status_reg_value = inl(TW_STATUS_REG_ADDR(tw_dev)); status_reg_value 2182 drivers/scsi/3w-xxxx.c if (tw_check_bits(status_reg_value)) { status_reg_value 2184 drivers/scsi/3w-xxxx.c if (tw_decode_bits(tw_dev, status_reg_value, 1)) {