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()
490 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS || in mpt_turbo_reply()
554 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS || in mpt_reply()
704 last_drv_idx = MPT_MAX_PROTOCOL_DRIVERS; in mpt_register()
710 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_register()
736 if (cb_idx && (cb_idx < MPT_MAX_PROTOCOL_DRIVERS)) { in mpt_deregister()
759 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_event_register()
778 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_event_deregister()
798 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_reset_register()
817 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_reset_deregister()
835 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_device_driver_register()
862 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS) in mpt_device_driver_deregister()
2033 for(cb_idx = 0; cb_idx < MPT_MAX_PROTOCOL_DRIVERS; cb_idx++) { in mpt_attach()
2117 for(cb_idx = 0; cb_idx < MPT_MAX_PROTOCOL_DRIVERS; cb_idx++) { in mpt_detach()
4000 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_diag_reset()
4102 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_diag_reset()
6666 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_version_proc_show()
7010 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_SoftResetHandler()
7029 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_SoftResetHandler()
7085 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_SoftResetHandler()
7188 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_HardResetHandler()
7220 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in mpt_HardResetHandler()
7770 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) { in ProcessEventNotification()
8486 for (cb_idx = 0; cb_idx < MPT_MAX_PROTOCOL_DRIVERS; cb_idx++) { in fusion_init()