Lines Matching refs:ioc
586 struct _MPT_ADAPTER *ioc; member
597 typedef void (*MPT_SCHEDULE_TARGET_RESET)(void *ioc);
797 typedef int (*MPT_CALLBACK)(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply);
798 typedef int (*MPT_EVHANDLER)(MPT_ADAPTER *ioc, EventNotificationReply_t *evReply);
799 typedef int (*MPT_RESETHANDLER)(MPT_ADAPTER *ioc, int reset_phase);
827 #define mpt_msg_flags(ioc) \ argument
828 (ioc->sg_addr_size == sizeof(u64)) ? \
841 #define MPT_INDEX_2_MFPTR(ioc,idx) \ argument
842 (MPT_FRAME_HDR*)( (u8*)(ioc)->req_frames + (ioc)->req_sz * (idx) )
844 #define MFPTR_2_MPT_INDEX(ioc,mf) \ argument
845 (int)( ((u8*)mf - (u8*)(ioc)->req_frames) / (ioc)->req_sz )
847 #define MPT_INDEX_2_RFPTR(ioc,idx) \ argument
848 (MPT_FRAME_HDR*)( (u8*)(ioc)->reply_frames + (ioc)->req_sz * (idx) )
925 extern MPT_FRAME_HDR *mpt_get_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc);
926 extern void mpt_free_msg_frame(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf);
927 extern void mpt_put_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf);
928 extern void mpt_put_msg_frame_hi_pri(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf);
930 extern int mpt_send_handshake_request(u8 cb_idx, MPT_ADAPTER *ioc, int reqBytes, u32 *req, int sle…
932 extern u32 mpt_GetIocState(MPT_ADAPTER *ioc, int cooked);
933 extern void mpt_print_ioc_summary(MPT_ADAPTER *ioc, char *buf, int *size, int len, int showlan);
934 extern int mpt_HardResetHandler(MPT_ADAPTER *ioc, int sleepFlag);
935 extern int mpt_Soft_Hard_ResetHandler(MPT_ADAPTER *ioc, int sleepFlag);
936 extern int mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *cfg);
937 extern int mpt_alloc_fw_memory(MPT_ADAPTER *ioc, int size);
938 extern void mpt_free_fw_memory(MPT_ADAPTER *ioc);
939 extern int mpt_findImVolumes(MPT_ADAPTER *ioc);
940 extern int mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode);
941 extern int mpt_raid_phys_disk_pg0(MPT_ADAPTER *ioc, u8 phys_disk_num, pRaidPhysDiskPage0_t phys_di…
942 extern int mpt_raid_phys_disk_pg1(MPT_ADAPTER *ioc, u8 phys_disk_num,
944 extern int mpt_raid_phys_disk_get_num_paths(MPT_ADAPTER *ioc,
946 extern int mpt_set_taskmgmt_in_progress_flag(MPT_ADAPTER *ioc);
947 extern void mpt_clear_taskmgmt_in_progress_flag(MPT_ADAPTER *ioc);
948 extern void mpt_halt_firmware(MPT_ADAPTER *ioc);