Lines Matching defs:MSIxIndex
116 int mrsas_complete_cmd(struct mrsas_softc *sc, u_int32_t MSIxIndex);
806 sc->irq_context[i].MSIxIndex = i;
1601 sc->irq_context[0].MSIxIndex = 0;
1651 if (mrsas_complete_cmd(sc, irq_context->MSIxIndex) != SUCCESS)
1669 mrsas_complete_cmd(struct mrsas_softc *sc, u_int32_t MSIxIndex)
1693 desc += ((MSIxIndex * sc->reply_alloc_sz) / sizeof(MPI2_REPLY_DESCRIPTORS_UNION))
1694 + sc->last_reply_idx[MSIxIndex];
1786 sc->last_reply_idx[MSIxIndex]++;
1787 if (sc->last_reply_idx[MSIxIndex] >= sc->reply_q_depth)
1788 sc->last_reply_idx[MSIxIndex] = 0;
1796 if (!sc->last_reply_idx[MSIxIndex]) {
1798 desc += ((MSIxIndex * sc->reply_alloc_sz) / sizeof(MPI2_REPLY_DESCRIPTORS_UNION));
1818 mrsas_write_reg(sc, sc->msix_reg_offset[MSIxIndex / 8],
1819 ((MSIxIndex & 0x7) << 24) |
1820 sc->last_reply_idx[MSIxIndex]);
1822 mrsas_write_reg(sc, sc->msix_reg_offset[0], (MSIxIndex << 24) |
1823 sc->last_reply_idx[MSIxIndex]);
1839 mrsas_write_reg(sc, sc->msix_reg_offset[MSIxIndex / 8],
1840 ((MSIxIndex & 0x7) << 24) |
1841 sc->last_reply_idx[MSIxIndex]);
1843 mrsas_write_reg(sc, sc->msix_reg_offset[0], (MSIxIndex << 24) |
1844 sc->last_reply_idx[MSIxIndex]);
3498 u_int32_t count, MSIxIndex;
3507 for (MSIxIndex = 0; MSIxIndex < count; MSIxIndex++)
3526 u_int32_t fw_state, count, MSIxIndex;
3543 for (MSIxIndex = 0; MSIxIndex < count; MSIxIndex++)
3544 mrsas_complete_cmd(sc, MSIxIndex);
3564 for (MSIxIndex = 0; MSIxIndex < count; MSIxIndex++)
3565 mrsas_complete_cmd(sc, MSIxIndex);