doneq_index 513 drivers/scsi/arcmsr/arcmsr.h uint32_t doneq_index; doneq_index 619 drivers/scsi/arcmsr/arcmsr.h volatile u16 doneq_index; doneq_index 845 drivers/scsi/arcmsr/arcmsr.h uint32_t doneq_index; doneq_index 685 drivers/scsi/arcmsr/arcmsr_hba.c acb->doneq_index = 0; doneq_index 777 drivers/scsi/arcmsr/arcmsr_hba.c acb->doneq_index = 0; doneq_index 1122 drivers/scsi/arcmsr/arcmsr_hba.c reg->doneq_index = 0; doneq_index 1130 drivers/scsi/arcmsr/arcmsr_hba.c acb->doneq_index = 0; doneq_index 1457 drivers/scsi/arcmsr/arcmsr_hba.c reg->doneq_index = 0; doneq_index 1479 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t doneq_index, index_stripped, addressLow, residual, toggle; doneq_index 1487 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index = pmu->doneq_index; doneq_index 1488 drivers/scsi/arcmsr/arcmsr_hba.c if ((doneq_index & 0xFFF) != doneq_index 1490 drivers/scsi/arcmsr/arcmsr_hba.c toggle = doneq_index & 0x4000; doneq_index 1491 drivers/scsi/arcmsr/arcmsr_hba.c index_stripped = (doneq_index & 0xFFF) + 1; doneq_index 1493 drivers/scsi/arcmsr/arcmsr_hba.c pmu->doneq_index = index_stripped ? (index_stripped | toggle) : doneq_index 1495 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index = pmu->doneq_index; doneq_index 1497 drivers/scsi/arcmsr/arcmsr_hba.c cdb_phy_hipart = pmu->done_qbuffer[doneq_index & doneq_index 1499 drivers/scsi/arcmsr/arcmsr_hba.c addressLow = pmu->done_qbuffer[doneq_index & doneq_index 1512 drivers/scsi/arcmsr/arcmsr_hba.c writel(doneq_index, doneq_index 1520 drivers/scsi/arcmsr/arcmsr_hba.c pmu->doneq_index = 0x40FF; doneq_index 2394 drivers/scsi/arcmsr/arcmsr_hba.c index = reg->doneq_index; doneq_index 2406 drivers/scsi/arcmsr/arcmsr_hba.c reg->doneq_index = index; doneq_index 2447 drivers/scsi/arcmsr/arcmsr_hba.c u32 outbound_write_pointer, doneq_index, index_stripped, toggle; doneq_index 2458 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index = pmu->doneq_index; doneq_index 2459 drivers/scsi/arcmsr/arcmsr_hba.c if ((doneq_index & 0xFFF) != (outbound_write_pointer & 0xFFF)) { doneq_index 2461 drivers/scsi/arcmsr/arcmsr_hba.c toggle = doneq_index & 0x4000; doneq_index 2462 drivers/scsi/arcmsr/arcmsr_hba.c index_stripped = (doneq_index & 0xFFF) + 1; doneq_index 2464 drivers/scsi/arcmsr/arcmsr_hba.c pmu->doneq_index = index_stripped ? (index_stripped | toggle) : doneq_index 2466 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index = pmu->doneq_index; doneq_index 2467 drivers/scsi/arcmsr/arcmsr_hba.c cdb_phy_hipart = pmu->done_qbuffer[doneq_index & doneq_index 2469 drivers/scsi/arcmsr/arcmsr_hba.c addressLow = pmu->done_qbuffer[doneq_index & doneq_index 2481 drivers/scsi/arcmsr/arcmsr_hba.c writel(doneq_index, pmu->outboundlist_read_pointer); doneq_index 2482 drivers/scsi/arcmsr/arcmsr_hba.c } while ((doneq_index & 0xFFF) != doneq_index 2493 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t doneq_index; doneq_index 2501 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index = acb->doneq_index; doneq_index 2503 drivers/scsi/arcmsr/arcmsr_hba.c while ((readl(&pmu->reply_post_producer_index) & 0xFFFF) != doneq_index) { doneq_index 2504 drivers/scsi/arcmsr/arcmsr_hba.c cmdSMID = acb->pCompletionQ[doneq_index].cmdSMID; doneq_index 2506 drivers/scsi/arcmsr/arcmsr_hba.c error = (acb->pCompletionQ[doneq_index].cmdFlag doneq_index 2509 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index++; doneq_index 2510 drivers/scsi/arcmsr/arcmsr_hba.c if (doneq_index >= acb->completionQ_entry) doneq_index 2511 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index = 0; doneq_index 2513 drivers/scsi/arcmsr/arcmsr_hba.c acb->doneq_index = doneq_index; doneq_index 2514 drivers/scsi/arcmsr/arcmsr_hba.c writel(doneq_index, &pmu->reply_post_consumer_index); doneq_index 3382 drivers/scsi/arcmsr/arcmsr_hba.c index = reg->doneq_index; doneq_index 3401 drivers/scsi/arcmsr/arcmsr_hba.c reg->doneq_index = index; doneq_index 3502 drivers/scsi/arcmsr/arcmsr_hba.c int rtn, doneq_index, index_stripped, outbound_write_pointer, toggle; doneq_index 3513 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index = pmu->doneq_index; doneq_index 3514 drivers/scsi/arcmsr/arcmsr_hba.c if ((outbound_write_pointer & 0xFFF) == (doneq_index & 0xFFF)) { doneq_index 3528 drivers/scsi/arcmsr/arcmsr_hba.c toggle = doneq_index & 0x4000; doneq_index 3529 drivers/scsi/arcmsr/arcmsr_hba.c index_stripped = (doneq_index & 0xFFF) + 1; doneq_index 3531 drivers/scsi/arcmsr/arcmsr_hba.c pmu->doneq_index = index_stripped ? (index_stripped | toggle) : doneq_index 3533 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index = pmu->doneq_index; doneq_index 3535 drivers/scsi/arcmsr/arcmsr_hba.c cdb_phy_hipart = pmu->done_qbuffer[doneq_index & doneq_index 3537 drivers/scsi/arcmsr/arcmsr_hba.c flag_ccb = pmu->done_qbuffer[doneq_index & 0xFFF].addressLow; doneq_index 3579 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t poll_ccb_done = 0, poll_count = 0, doneq_index; doneq_index 3590 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index = acb->doneq_index; doneq_index 3592 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index) { doneq_index 3606 drivers/scsi/arcmsr/arcmsr_hba.c cmdSMID = acb->pCompletionQ[doneq_index].cmdSMID; doneq_index 3607 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index++; doneq_index 3608 drivers/scsi/arcmsr/arcmsr_hba.c if (doneq_index >= acb->completionQ_entry) doneq_index 3609 drivers/scsi/arcmsr/arcmsr_hba.c doneq_index = 0; doneq_index 3610 drivers/scsi/arcmsr/arcmsr_hba.c acb->doneq_index = doneq_index; doneq_index 3636 drivers/scsi/arcmsr/arcmsr_hba.c error = (acb->pCompletionQ[doneq_index].cmdFlag & doneq_index 3640 drivers/scsi/arcmsr/arcmsr_hba.c writel(doneq_index, ®->reply_post_consumer_index); doneq_index 3813 drivers/scsi/arcmsr/arcmsr_hba.c reg->doneq_index = 0; doneq_index 3866 drivers/scsi/arcmsr/arcmsr_hba.c reg->doneq_index = 0;