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()
1731 MPT_FRAME_HDR *mf = NULL; in mptctl_do_mpt_command() local
1789 if ((mf = mpt_get_msg_frame(mptctl_id, ioc)) == NULL) in mptctl_do_mpt_command()
1792 hdr = (MPIHeader_t *) mf; in mptctl_do_mpt_command()
1794 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptctl_do_mpt_command()
1800 if (copy_from_user(mf, mfPtr, karg.dataSgeOffset * 4)) { in mptctl_do_mpt_command()
1815 ioc->name, hdr->Function, mf)); in mptctl_do_mpt_command()
1826 config_frame = (Config_t *)mf; in mptctl_do_mpt_command()
1848 SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf; in mptctl_do_mpt_command()
1953 SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf; in mptctl_do_mpt_command()
2006 pScsiTm = (SCSITaskMgmt_t *)mf; in mptctl_do_mpt_command()
2018 IOCInit_t *pInit = (IOCInit_t *) mf; in mptctl_do_mpt_command()
2082 psge = (char *) (((int *) mf) + karg.dataSgeOffset); in mptctl_do_mpt_command()
2170 DBG_DUMP_TM_REQUEST_FRAME(ioc, (u32 *)mf); in mptctl_do_mpt_command()
2174 mpt_put_msg_frame_hi_pri(mptctl_id, ioc, mf); in mptctl_do_mpt_command()
2177 sizeof(SCSITaskMgmt_t), (u32*)mf, CAN_SLEEP); in mptctl_do_mpt_command()
2181 ioc->name, ioc, mf)); in mptctl_do_mpt_command()
2190 mpt_put_msg_frame(mptctl_id, ioc, mf); in mptctl_do_mpt_command()
2213 mptctl_timeout_expired(ioc, mf); in mptctl_do_mpt_command()
2214 mf = NULL; in mptctl_do_mpt_command()
2224 mf = NULL; in mptctl_do_mpt_command()
2302 if (mf) in mptctl_do_mpt_command()
2303 mpt_free_msg_frame(ioc, mf); in mptctl_do_mpt_command()
2331 MPT_FRAME_HDR *mf = NULL; in mptctl_hp_hostinfo() local
2461 if ((mf = mpt_get_msg_frame(mptctl_id, ioc)) == NULL) { in mptctl_hp_hostinfo()
2467 IstwiRWRequest = (ToolboxIstwiReadWriteRequest_t *)mf; in mptctl_hp_hostinfo()
2490 mpt_put_msg_frame(mptctl_id, ioc, mf); in mptctl_hp_hostinfo()
2498 mpt_free_msg_frame(ioc, mf); in mptctl_hp_hostinfo()
2505 mptctl_timeout_expired(ioc, mf); in mptctl_hp_hostinfo()