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
336 mf = mpt_get_msg_frame(mptctl_taskmgmt_id, ioc); in mptctl_do_taskmgmt()
337 if (mf == NULL) { in mptctl_do_taskmgmt()
347 ioc->name, mf)); in mptctl_do_taskmgmt()
349 pScsiTm = (SCSITaskMgmt_t *) mf; in mptctl_do_taskmgmt()
389 mpt_put_msg_frame_hi_pri(mptctl_taskmgmt_id, ioc, mf); in mptctl_do_taskmgmt()
398 ioc, mf, retval)); in mptctl_do_taskmgmt()
399 mpt_free_msg_frame(ioc, mf); in mptctl_do_taskmgmt()
411 mpt_free_msg_frame(ioc, mf); in mptctl_do_taskmgmt()
463 mptctl_timeout_expired(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf) in mptctl_timeout_expired() argument
467 SCSIIORequest_t *scsi_req = (SCSIIORequest_t *) mf; in mptctl_timeout_expired()
468 u8 function = mf->u.hdr.Function; in mptctl_timeout_expired()
480 mpt_free_msg_frame(ioc, mf); in mptctl_timeout_expired()
512 mpt_free_msg_frame(ioc, mf); in mptctl_timeout_expired()
790 MPT_FRAME_HDR *mf; in mptctl_do_fw_download() local
819 if ((mf = mpt_get_msg_frame(mptctl_id, iocp)) == NULL) in mptctl_do_fw_download()
832 dlmsg = (FWDownload_t*) mf; in mptctl_do_fw_download()
938 DBG_DUMP_FW_DOWNLOAD(iocp, (u32 *)mf, numfrags); in mptctl_do_fw_download()
946 mpt_put_msg_frame(mptctl_id, iocp, mf); in mptctl_do_fw_download()
955 mpt_free_msg_frame(iocp, mf); in mptctl_do_fw_download()
962 mptctl_timeout_expired(iocp, mf); in mptctl_do_fw_download()
970 mpt_free_msg_frame(iocp, mf); in mptctl_do_fw_download()
1823 MPT_FRAME_HDR *mf = NULL; in mptctl_do_mpt_command() local
1879 if ((mf = mpt_get_msg_frame(mptctl_id, ioc)) == NULL) in mptctl_do_mpt_command()
1882 hdr = (MPIHeader_t *) mf; in mptctl_do_mpt_command()
1884 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptctl_do_mpt_command()
1890 if (copy_from_user(mf, mfPtr, karg.dataSgeOffset * 4)) { in mptctl_do_mpt_command()
1905 ioc->name, hdr->Function, mf)); in mptctl_do_mpt_command()
1916 config_frame = (Config_t *)mf; in mptctl_do_mpt_command()
1938 SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf; in mptctl_do_mpt_command()
2043 SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf; in mptctl_do_mpt_command()
2096 pScsiTm = (SCSITaskMgmt_t *)mf; in mptctl_do_mpt_command()
2108 IOCInit_t *pInit = (IOCInit_t *) mf; in mptctl_do_mpt_command()
2172 psge = (char *) (((int *) mf) + karg.dataSgeOffset); in mptctl_do_mpt_command()
2258 DBG_DUMP_TM_REQUEST_FRAME(ioc, (u32 *)mf); in mptctl_do_mpt_command()
2262 mpt_put_msg_frame_hi_pri(mptctl_id, ioc, mf); in mptctl_do_mpt_command()
2265 sizeof(SCSITaskMgmt_t), (u32*)mf, CAN_SLEEP); in mptctl_do_mpt_command()
2269 ioc->name, ioc, mf)); in mptctl_do_mpt_command()
2278 mpt_put_msg_frame(mptctl_id, ioc, mf); in mptctl_do_mpt_command()
2301 mptctl_timeout_expired(ioc, mf); in mptctl_do_mpt_command()
2302 mf = NULL; in mptctl_do_mpt_command()
2312 mf = NULL; in mptctl_do_mpt_command()
2390 if (mf) in mptctl_do_mpt_command()
2391 mpt_free_msg_frame(ioc, mf); in mptctl_do_mpt_command()
2421 MPT_FRAME_HDR *mf = NULL; in mptctl_hp_hostinfo() local
2564 if ((mf = mpt_get_msg_frame(mptctl_id, ioc)) == NULL) { in mptctl_hp_hostinfo()
2570 IstwiRWRequest = (ToolboxIstwiReadWriteRequest_t *)mf; in mptctl_hp_hostinfo()
2594 mpt_put_msg_frame(mptctl_id, ioc, mf); in mptctl_hp_hostinfo()
2603 mpt_free_msg_frame(ioc, mf); in mptctl_hp_hostinfo()
2610 mptctl_timeout_expired(ioc, mf); in mptctl_hp_hostinfo()