sleepFlag 164 drivers/message/fusion/mptbase.c int sleepFlag); sleepFlag 165 drivers/message/fusion/mptbase.c static int mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag); sleepFlag 171 drivers/message/fusion/mptbase.c static int MakeIocReady(MPT_ADAPTER *ioc, int force, int sleepFlag); sleepFlag 172 drivers/message/fusion/mptbase.c static int GetIocFacts(MPT_ADAPTER *ioc, int sleepFlag, int reason); sleepFlag 173 drivers/message/fusion/mptbase.c static int GetPortFacts(MPT_ADAPTER *ioc, int portnum, int sleepFlag); sleepFlag 174 drivers/message/fusion/mptbase.c static int SendIocInit(MPT_ADAPTER *ioc, int sleepFlag); sleepFlag 175 drivers/message/fusion/mptbase.c static int SendPortEnable(MPT_ADAPTER *ioc, int portnum, int sleepFlag); sleepFlag 176 drivers/message/fusion/mptbase.c static int mpt_do_upload(MPT_ADAPTER *ioc, int sleepFlag); sleepFlag 177 drivers/message/fusion/mptbase.c static int mpt_downloadboot(MPT_ADAPTER *ioc, MpiFwHeader_t *pFwHeader, int sleepFlag); sleepFlag 178 drivers/message/fusion/mptbase.c static int mpt_diag_reset(MPT_ADAPTER *ioc, int ignore, int sleepFlag); sleepFlag 179 drivers/message/fusion/mptbase.c static int KickStart(MPT_ADAPTER *ioc, int ignore, int sleepFlag); sleepFlag 180 drivers/message/fusion/mptbase.c static int SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag); sleepFlag 182 drivers/message/fusion/mptbase.c static int WaitForDoorbellAck(MPT_ADAPTER *ioc, int howlong, int sleepFlag); sleepFlag 183 drivers/message/fusion/mptbase.c static int WaitForDoorbellInt(MPT_ADAPTER *ioc, int howlong, int sleepFlag); sleepFlag 184 drivers/message/fusion/mptbase.c static int WaitForDoorbellReply(MPT_ADAPTER *ioc, int howlong, int sleepFlag); sleepFlag 194 drivers/message/fusion/mptbase.c int sleepFlag); sleepFlag 196 drivers/message/fusion/mptbase.c static int mpt_host_page_access_control(MPT_ADAPTER *ioc, u8 access_control_value, int sleepFlag); sleepFlag 1184 drivers/message/fusion/mptbase.c mpt_send_handshake_request(u8 cb_idx, MPT_ADAPTER *ioc, int reqBytes, u32 *req, int sleepFlag) sleepFlag 1215 drivers/message/fusion/mptbase.c if ((ii = WaitForDoorbellInt(ioc, 5, sleepFlag)) < 0) { sleepFlag 1228 drivers/message/fusion/mptbase.c if ((r = WaitForDoorbellAck(ioc, 5, sleepFlag)) < 0) { sleepFlag 1242 drivers/message/fusion/mptbase.c if ((r = WaitForDoorbellAck(ioc, 5, sleepFlag)) < 0) { sleepFlag 1248 drivers/message/fusion/mptbase.c if (r >= 0 && WaitForDoorbellInt(ioc, 10, sleepFlag) >= 0) sleepFlag 1279 drivers/message/fusion/mptbase.c mpt_host_page_access_control(MPT_ADAPTER *ioc, u8 access_control_value, int sleepFlag) sleepFlag 1296 drivers/message/fusion/mptbase.c if ((r = WaitForDoorbellAck(ioc, 5, sleepFlag)) < 0) { sleepFlag 2299 drivers/message/fusion/mptbase.c mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag) sleepFlag 2335 drivers/message/fusion/mptbase.c if ((hard_reset_done = MakeIocReady(ioc, hard, sleepFlag)) < 0) { sleepFlag 2360 drivers/message/fusion/mptbase.c if ((rc = MakeIocReady(ioc->alt_ioc, 0, sleepFlag)) == 0) sleepFlag 2370 drivers/message/fusion/mptbase.c if ((rc = GetIocFacts(ioc, sleepFlag, reason)) == 0) sleepFlag 2384 drivers/message/fusion/mptbase.c if ((rc = GetIocFacts(ioc->alt_ioc, sleepFlag, reason)) != 0) { sleepFlag 2390 drivers/message/fusion/mptbase.c rc = GetIocFacts(ioc->alt_ioc, sleepFlag, reason); sleepFlag 2463 drivers/message/fusion/mptbase.c if ((ret == 0) && ((rc = SendIocInit(ioc, sleepFlag)) != 0)) sleepFlag 2475 drivers/message/fusion/mptbase.c if ((rc = SendIocInit(ioc->alt_ioc, sleepFlag)) != 0) { sleepFlag 2492 drivers/message/fusion/mptbase.c rc = mpt_do_upload(ioc, sleepFlag); sleepFlag 2523 drivers/message/fusion/mptbase.c ret = SendEventNotification(ioc, 1, sleepFlag); /* 1=Enable */ sleepFlag 2527 drivers/message/fusion/mptbase.c rc = SendEventNotification(ioc->alt_ioc, 1, sleepFlag); sleepFlag 2921 drivers/message/fusion/mptbase.c MakeIocReady(MPT_ADAPTER *ioc, int force, int sleepFlag) sleepFlag 2984 drivers/message/fusion/mptbase.c if ((r = SendIocReset(ioc, MPI_FUNCTION_IOC_MESSAGE_UNIT_RESET, sleepFlag)) == 0) sleepFlag 2991 drivers/message/fusion/mptbase.c hard_reset_done = KickStart(ioc, statefault||force, sleepFlag); sleepFlag 2999 drivers/message/fusion/mptbase.c cntdn = ((sleepFlag == CAN_SLEEP) ? HZ : 1000) * 5; /* 5 seconds */ sleepFlag 3007 drivers/message/fusion/mptbase.c if ((r = SendIocReset(ioc, MPI_FUNCTION_IOC_MESSAGE_UNIT_RESET, sleepFlag)) != 0) { sleepFlag 3016 drivers/message/fusion/mptbase.c if ((r = SendIocReset(ioc, MPI_FUNCTION_IO_UNIT_RESET, sleepFlag)) != 0) { sleepFlag 3030 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 3080 drivers/message/fusion/mptbase.c GetIocFacts(MPT_ADAPTER *ioc, int sleepFlag, int reason) sleepFlag 3120 drivers/message/fusion/mptbase.c reply_sz, (u16*)facts, 5 /*seconds*/, sleepFlag); sleepFlag 3231 drivers/message/fusion/mptbase.c if ( (r = GetPortFacts(ioc, 0, sleepFlag)) != 0 ) sleepFlag 3255 drivers/message/fusion/mptbase.c GetPortFacts(MPT_ADAPTER *ioc, int portnum, int sleepFlag) sleepFlag 3292 drivers/message/fusion/mptbase.c reply_sz, (u16*)pfacts, 5 /*seconds*/, sleepFlag); sleepFlag 3338 drivers/message/fusion/mptbase.c SendIocInit(MPT_ADAPTER *ioc, int sleepFlag) sleepFlag 3402 drivers/message/fusion/mptbase.c sizeof(MPIDefaultReply_t), (u16*)&init_reply, 10 /*seconds*/, sleepFlag); sleepFlag 3415 drivers/message/fusion/mptbase.c if ((r = SendPortEnable(ioc, 0, sleepFlag)) != 0) { sleepFlag 3425 drivers/message/fusion/mptbase.c cntdn = ((sleepFlag == CAN_SLEEP) ? HZ : 1000) * 60; /* 60 seconds */ sleepFlag 3428 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 3462 drivers/message/fusion/mptbase.c SendPortEnable(MPT_ADAPTER *ioc, int portnum, int sleepFlag) sleepFlag 3491 drivers/message/fusion/mptbase.c 300 /*seconds*/, sleepFlag); sleepFlag 3495 drivers/message/fusion/mptbase.c 30 /*seconds*/, sleepFlag); sleepFlag 3578 drivers/message/fusion/mptbase.c mpt_do_upload(MPT_ADAPTER *ioc, int sleepFlag) sleepFlag 3599 drivers/message/fusion/mptbase.c prequest = (sleepFlag == NO_SLEEP) ? kzalloc(ioc->req_sz, GFP_ATOMIC) : sleepFlag 3632 drivers/message/fusion/mptbase.c reply_sz, (u16 *)preply, 65 /*seconds*/, sleepFlag); sleepFlag 3679 drivers/message/fusion/mptbase.c mpt_downloadboot(MPT_ADAPTER *ioc, MpiFwHeader_t *pFwHeader, int sleepFlag) sleepFlag 3704 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 3721 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 3811 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 3835 drivers/message/fusion/mptbase.c if ( (GetIocFacts(ioc, sleepFlag, sleepFlag 3851 drivers/message/fusion/mptbase.c if ((SendIocInit(ioc, sleepFlag)) != 0) { sleepFlag 3862 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 3900 drivers/message/fusion/mptbase.c KickStart(MPT_ADAPTER *ioc, int force, int sleepFlag) sleepFlag 3911 drivers/message/fusion/mptbase.c SendIocReset(ioc, MPI_FUNCTION_IOC_MESSAGE_UNIT_RESET, sleepFlag); sleepFlag 3913 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 3920 drivers/message/fusion/mptbase.c hard_reset_done = mpt_diag_reset(ioc, force, sleepFlag); sleepFlag 3927 drivers/message/fusion/mptbase.c cntdn = ((sleepFlag == CAN_SLEEP) ? HZ : 1000) * 2; /* 2 seconds */ sleepFlag 3935 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 3967 drivers/message/fusion/mptbase.c mpt_diag_reset(MPT_ADAPTER *ioc, int ignore, int sleepFlag) sleepFlag 3989 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) sleepFlag 4020 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) sleepFlag 4054 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 4133 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 4139 drivers/message/fusion/mptbase.c if ((count = mpt_downloadboot(ioc, cached_fw, sleepFlag)) < 0) { sleepFlag 4164 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 4203 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 4269 drivers/message/fusion/mptbase.c SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag) sleepFlag 4278 drivers/message/fusion/mptbase.c if ((r = WaitForDoorbellAck(ioc, 5, sleepFlag)) < 0) sleepFlag 4284 drivers/message/fusion/mptbase.c cntdn = ((sleepFlag == CAN_SLEEP) ? HZ : 1000) * 15; /* 15 seconds */ sleepFlag 4290 drivers/message/fusion/mptbase.c if (sleepFlag != CAN_SLEEP) sleepFlag 4299 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 4661 drivers/message/fusion/mptbase.c int replyBytes, u16 *u16reply, int maxwait, int sleepFlag) sleepFlag 4687 drivers/message/fusion/mptbase.c if ((t = WaitForDoorbellInt(ioc, 5, sleepFlag)) < 0) sleepFlag 4703 drivers/message/fusion/mptbase.c if (!failcnt && (t = WaitForDoorbellAck(ioc, 5, sleepFlag)) < 0) sleepFlag 4721 drivers/message/fusion/mptbase.c if ((t = WaitForDoorbellAck(ioc, 5, sleepFlag)) < 0) sleepFlag 4734 drivers/message/fusion/mptbase.c if (!failcnt && (t = WaitForDoorbellReply(ioc, maxwait, sleepFlag)) < 0) sleepFlag 4766 drivers/message/fusion/mptbase.c WaitForDoorbellAck(MPT_ADAPTER *ioc, int howlong, int sleepFlag) sleepFlag 4774 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 4816 drivers/message/fusion/mptbase.c WaitForDoorbellInt(MPT_ADAPTER *ioc, int howlong, int sleepFlag) sleepFlag 4823 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) { sleepFlag 4866 drivers/message/fusion/mptbase.c WaitForDoorbellReply(MPT_ADAPTER *ioc, int howlong, int sleepFlag) sleepFlag 4881 drivers/message/fusion/mptbase.c if ((t = WaitForDoorbellInt(ioc, howlong, sleepFlag)) < 0) { sleepFlag 4886 drivers/message/fusion/mptbase.c if ((t = WaitForDoorbellInt(ioc, 5, sleepFlag)) < 0) sleepFlag 4903 drivers/message/fusion/mptbase.c if ((t = WaitForDoorbellInt(ioc, 5, sleepFlag)) < 0) sleepFlag 4912 drivers/message/fusion/mptbase.c if (!failcnt && (t = WaitForDoorbellInt(ioc, 5, sleepFlag)) < 0) sleepFlag 6275 drivers/message/fusion/mptbase.c SendEventNotification(MPT_ADAPTER *ioc, u8 EvSwitch, int sleepFlag) sleepFlag 6293 drivers/message/fusion/mptbase.c sleepFlag); sleepFlag 6969 drivers/message/fusion/mptbase.c mpt_SoftResetHandler(MPT_ADAPTER *ioc, int sleepFlag) sleepFlag 7026 drivers/message/fusion/mptbase.c rc = SendIocReset(ioc, MPI_FUNCTION_IOC_MESSAGE_UNIT_RESET, sleepFlag); sleepFlag 7042 drivers/message/fusion/mptbase.c rc = GetIocFacts(ioc, sleepFlag, sleepFlag 7046 drivers/message/fusion/mptbase.c if (sleepFlag == CAN_SLEEP) sleepFlag 7058 drivers/message/fusion/mptbase.c rc = SendIocInit(ioc, sleepFlag); sleepFlag 7062 drivers/message/fusion/mptbase.c rc = SendEventNotification(ioc, 1, sleepFlag); sleepFlag 7109 drivers/message/fusion/mptbase.c mpt_Soft_Hard_ResetHandler(MPT_ADAPTER *ioc, int sleepFlag) { sleepFlag 7112 drivers/message/fusion/mptbase.c ret = mpt_SoftResetHandler(ioc, sleepFlag); sleepFlag 7115 drivers/message/fusion/mptbase.c ret = mpt_HardResetHandler(ioc, sleepFlag); sleepFlag 7142 drivers/message/fusion/mptbase.c mpt_HardResetHandler(MPT_ADAPTER *ioc, int sleepFlag) sleepFlag 7197 drivers/message/fusion/mptbase.c rc = mpt_do_ioc_recovery(ioc, MPT_HOSTEVENT_IOC_RECOVER, sleepFlag); sleepFlag 930 drivers/message/fusion/mptbase.h extern int mpt_send_handshake_request(u8 cb_idx, MPT_ADAPTER *ioc, int reqBytes, u32 *req, int sleepFlag); sleepFlag 934 drivers/message/fusion/mptbase.h extern int mpt_HardResetHandler(MPT_ADAPTER *ioc, int sleepFlag); sleepFlag 935 drivers/message/fusion/mptbase.h extern int mpt_Soft_Hard_ResetHandler(MPT_ADAPTER *ioc, int sleepFlag);