Lines Matching refs:mpt_cmd
1223 struct mrsas_mpt_cmd *mpt_cmd;
1335 mpt_cmd = sc->mpt_cmd_list[i];
1336 bus_dmamap_destroy(sc->data_tag, mpt_cmd->data_dmamap);
3241 struct mrsas_mpt_cmd *mpt_cmd;
3264 mpt_cmd = sc->mpt_cmd_list[i];
3266 if (mpt_cmd->peer_cmd) {
3268 "R1 FP command [%d] - (mpt_cmd) %p, (peer_cmd) %p\n",
3269 i, mpt_cmd, mpt_cmd->peer_cmd);
3272 if (mpt_cmd->ccb_ptr) {
3273 if (mpt_cmd->callout_owner) {
3274 ccb = (union ccb *)(mpt_cmd->ccb_ptr);
3276 mrsas_cmd_done(sc, mpt_cmd);
3278 mpt_cmd->ccb_ptr = NULL;
3279 mrsas_release_mpt_cmd(mpt_cmd);
3382 mpt_cmd = sc->mpt_cmd_list[j];
3383 if (mpt_cmd->sync_cmd_idx != (u_int32_t)MRSAS_ULONG_MAX) {
3384 mfi_cmd = sc->mfi_cmd_list[mpt_cmd->sync_cmd_idx];
3926 struct mrsas_mpt_cmd *mpt_cmd;
3929 mpt_cmd = mrsas_get_mpt_cmd(sc);
3930 if (!mpt_cmd)
3934 mfi_cmd->cmd_id.context.smid = mpt_cmd->index;
3936 mpt_cmd->sync_cmd_idx = mfi_cmd->index;
3945 mpt_cmd->flags = MFI_FRAME_DONT_POST_IN_REPLY_QUEUE;
3947 io_req = mpt_cmd->io_request;