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()
781 MPT_FRAME_HDR *mf; in mptctl_do_fw_download() local
803 if ((mf = mpt_get_msg_frame(mptctl_id, iocp)) == NULL) in mptctl_do_fw_download()
813 dlmsg = (FWDownload_t*) mf; in mptctl_do_fw_download()
919 DBG_DUMP_FW_DOWNLOAD(iocp, (u32 *)mf, numfrags); in mptctl_do_fw_download()
927 mpt_put_msg_frame(mptctl_id, iocp, mf); in mptctl_do_fw_download()
936 mpt_free_msg_frame(iocp, mf); in mptctl_do_fw_download()
943 mptctl_timeout_expired(iocp, mf); in mptctl_do_fw_download()
951 mpt_free_msg_frame(iocp, mf); in mptctl_do_fw_download()
1729 MPT_FRAME_HDR *mf = NULL; in mptctl_do_mpt_command() local
1787 if ((mf = mpt_get_msg_frame(mptctl_id, ioc)) == NULL) in mptctl_do_mpt_command()
1790 hdr = (MPIHeader_t *) mf; in mptctl_do_mpt_command()
1792 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptctl_do_mpt_command()
1798 if (copy_from_user(mf, mfPtr, karg.dataSgeOffset * 4)) { in mptctl_do_mpt_command()
1813 ioc->name, hdr->Function, mf)); in mptctl_do_mpt_command()
1824 config_frame = (Config_t *)mf; in mptctl_do_mpt_command()
1846 SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf; in mptctl_do_mpt_command()
1951 SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf; in mptctl_do_mpt_command()
2004 pScsiTm = (SCSITaskMgmt_t *)mf; in mptctl_do_mpt_command()
2016 IOCInit_t *pInit = (IOCInit_t *) mf; in mptctl_do_mpt_command()
2080 psge = (char *) (((int *) mf) + karg.dataSgeOffset); in mptctl_do_mpt_command()
2166 DBG_DUMP_TM_REQUEST_FRAME(ioc, (u32 *)mf); in mptctl_do_mpt_command()
2170 mpt_put_msg_frame_hi_pri(mptctl_id, ioc, mf); in mptctl_do_mpt_command()
2173 sizeof(SCSITaskMgmt_t), (u32*)mf, CAN_SLEEP); in mptctl_do_mpt_command()
2177 ioc->name, ioc, mf)); in mptctl_do_mpt_command()
2186 mpt_put_msg_frame(mptctl_id, ioc, mf); in mptctl_do_mpt_command()
2209 mptctl_timeout_expired(ioc, mf); in mptctl_do_mpt_command()
2210 mf = NULL; in mptctl_do_mpt_command()
2220 mf = NULL; in mptctl_do_mpt_command()
2298 if (mf) in mptctl_do_mpt_command()
2299 mpt_free_msg_frame(ioc, mf); in mptctl_do_mpt_command()
2327 MPT_FRAME_HDR *mf = NULL; in mptctl_hp_hostinfo() local
2453 if ((mf = mpt_get_msg_frame(mptctl_id, ioc)) == NULL) { in mptctl_hp_hostinfo()
2459 IstwiRWRequest = (ToolboxIstwiReadWriteRequest_t *)mf; in mptctl_hp_hostinfo()
2483 mpt_put_msg_frame(mptctl_id, ioc, mf); in mptctl_hp_hostinfo()
2492 mpt_free_msg_frame(ioc, mf); in mptctl_hp_hostinfo()
2499 mptctl_timeout_expired(ioc, mf); in mptctl_hp_hostinfo()