Lines Matching refs:mf
286 mptctl_taskmgmt_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) in mptctl_taskmgmt_reply() argument
288 if (!mf) in mptctl_taskmgmt_reply()
293 ioc->name, mf, mr)); in mptctl_taskmgmt_reply()
318 MPT_FRAME_HDR *mf; in mptctl_do_taskmgmt() local
335 mf = mpt_get_msg_frame(mptctl_taskmgmt_id, ioc); in mptctl_do_taskmgmt()
336 if (mf == NULL) { in mptctl_do_taskmgmt()
346 ioc->name, mf)); in mptctl_do_taskmgmt()
348 pScsiTm = (SCSITaskMgmt_t *) mf; in mptctl_do_taskmgmt()
387 mpt_put_msg_frame_hi_pri(mptctl_taskmgmt_id, ioc, mf); in mptctl_do_taskmgmt()
396 ioc, mf, retval)); in mptctl_do_taskmgmt()
397 mpt_free_msg_frame(ioc, mf); in mptctl_do_taskmgmt()
409 mpt_free_msg_frame(ioc, mf); in mptctl_do_taskmgmt()
461 mptctl_timeout_expired(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf) in mptctl_timeout_expired() argument
465 SCSIIORequest_t *scsi_req = (SCSIIORequest_t *) mf; in mptctl_timeout_expired()
466 u8 function = mf->u.hdr.Function; in mptctl_timeout_expired()
478 mpt_free_msg_frame(ioc, mf); in mptctl_timeout_expired()
510 mpt_free_msg_frame(ioc, mf); in mptctl_timeout_expired()
779 MPT_FRAME_HDR *mf; in mptctl_do_fw_download() local
801 if ((mf = mpt_get_msg_frame(mptctl_id, iocp)) == NULL) in mptctl_do_fw_download()
811 dlmsg = (FWDownload_t*) mf; in mptctl_do_fw_download()
917 DBG_DUMP_FW_DOWNLOAD(iocp, (u32 *)mf, numfrags); in mptctl_do_fw_download()
925 mpt_put_msg_frame(mptctl_id, iocp, mf); in mptctl_do_fw_download()
934 mpt_free_msg_frame(iocp, mf); in mptctl_do_fw_download()
941 mptctl_timeout_expired(iocp, mf); in mptctl_do_fw_download()
949 mpt_free_msg_frame(iocp, mf); in mptctl_do_fw_download()
1733 MPT_FRAME_HDR *mf = NULL; in mptctl_do_mpt_command() local
1791 if ((mf = mpt_get_msg_frame(mptctl_id, ioc)) == NULL) in mptctl_do_mpt_command()
1794 hdr = (MPIHeader_t *) mf; in mptctl_do_mpt_command()
1796 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptctl_do_mpt_command()
1802 if (copy_from_user(mf, mfPtr, karg.dataSgeOffset * 4)) { in mptctl_do_mpt_command()
1817 ioc->name, hdr->Function, mf)); in mptctl_do_mpt_command()
1828 config_frame = (Config_t *)mf; in mptctl_do_mpt_command()
1850 SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf; in mptctl_do_mpt_command()
1955 SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf; in mptctl_do_mpt_command()
2008 pScsiTm = (SCSITaskMgmt_t *)mf; in mptctl_do_mpt_command()
2020 IOCInit_t *pInit = (IOCInit_t *) mf; in mptctl_do_mpt_command()
2084 psge = (char *) (((int *) mf) + karg.dataSgeOffset); in mptctl_do_mpt_command()
2172 DBG_DUMP_TM_REQUEST_FRAME(ioc, (u32 *)mf); in mptctl_do_mpt_command()
2176 mpt_put_msg_frame_hi_pri(mptctl_id, ioc, mf); in mptctl_do_mpt_command()
2179 sizeof(SCSITaskMgmt_t), (u32*)mf, CAN_SLEEP); in mptctl_do_mpt_command()
2183 ioc->name, ioc, mf)); in mptctl_do_mpt_command()
2192 mpt_put_msg_frame(mptctl_id, ioc, mf); in mptctl_do_mpt_command()
2215 mptctl_timeout_expired(ioc, mf); in mptctl_do_mpt_command()
2216 mf = NULL; in mptctl_do_mpt_command()
2226 mf = NULL; in mptctl_do_mpt_command()
2304 if (mf) in mptctl_do_mpt_command()
2305 mpt_free_msg_frame(ioc, mf); in mptctl_do_mpt_command()
2333 MPT_FRAME_HDR *mf = NULL; in mptctl_hp_hostinfo() local
2462 if ((mf = mpt_get_msg_frame(mptctl_id, ioc)) == NULL) { in mptctl_hp_hostinfo()
2468 IstwiRWRequest = (ToolboxIstwiReadWriteRequest_t *)mf; in mptctl_hp_hostinfo()
2491 mpt_put_msg_frame(mptctl_id, ioc, mf); in mptctl_hp_hostinfo()
2499 mpt_free_msg_frame(ioc, mf); in mptctl_hp_hostinfo()
2506 mptctl_timeout_expired(ioc, mf); in mptctl_hp_hostinfo()