Lines Matching refs:MPT_MAX_PROTOCOL_DRIVERS

114 static char	MptCallbacksName[MPT_MAX_PROTOCOL_DRIVERS]
136 static MPT_CALLBACK MptCallbacks[MPT_MAX_PROTOCOL_DRIVERS];
138 static int MptDriverClass[MPT_MAX_PROTOCOL_DRIVERS];
140 static MPT_EVHANDLER MptEvHandlers[MPT_MAX_PROTOCOL_DRIVERS];
142 static MPT_RESETHANDLER MptResetHandlers[MPT_MAX_PROTOCOL_DRIVERS];
143 static struct mpt_pci_driver *MptDeviceDriverHandlers[MPT_MAX_PROTOCOL_DRIVERS];
152 static u8 mpt_base_index = MPT_MAX_PROTOCOL_DRIVERS;
269 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) in mpt_get_cb_idx()
489 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS || in mpt_turbo_reply()
553 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS || in mpt_reply()
703 last_drv_idx = MPT_MAX_PROTOCOL_DRIVERS; in mpt_register()
709 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_register()
735 if (cb_idx && (cb_idx < MPT_MAX_PROTOCOL_DRIVERS)) { in mpt_deregister()
758 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_event_register()
777 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_event_deregister()
797 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_reset_register()
816 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_reset_deregister()
833 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_device_driver_register()
858 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_device_driver_deregister()
2020 for(cb_idx = 0; cb_idx < MPT_MAX_PROTOCOL_DRIVERS; cb_idx++) { in mpt_attach()
2104 for(cb_idx = 0; cb_idx < MPT_MAX_PROTOCOL_DRIVERS; cb_idx++) { in mpt_detach()
3988 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_diag_reset()
4090 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_diag_reset()
6664 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_version_proc_show()
7006 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_SoftResetHandler()
7025 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_SoftResetHandler()
7081 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_SoftResetHandler()
7184 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_HardResetHandler()
7216 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_HardResetHandler()
7766 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in ProcessEventNotification()
8482 for (cb_idx = 0; cb_idx < MPT_MAX_PROTOCOL_DRIVERS; cb_idx++) { in fusion_init()