Lines Matching refs:MPT_MAX_PROTOCOL_DRIVERS
118 static char MptCallbacksName[MPT_MAX_PROTOCOL_DRIVERS][50];
139 static MPT_CALLBACK MptCallbacks[MPT_MAX_PROTOCOL_DRIVERS];
141 static int MptDriverClass[MPT_MAX_PROTOCOL_DRIVERS];
143 static MPT_EVHANDLER MptEvHandlers[MPT_MAX_PROTOCOL_DRIVERS];
145 static MPT_RESETHANDLER MptResetHandlers[MPT_MAX_PROTOCOL_DRIVERS];
146 static struct mpt_pci_driver *MptDeviceDriverHandlers[MPT_MAX_PROTOCOL_DRIVERS];
155 static u8 mpt_base_index = MPT_MAX_PROTOCOL_DRIVERS;
272 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--)
434 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS ||
498 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS ||
642 * A return value of MPT_MAX_PROTOCOL_DRIVERS (including zero!) should be
649 last_drv_idx = MPT_MAX_PROTOCOL_DRIVERS;
655 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) {
681 if (cb_idx && (cb_idx < MPT_MAX_PROTOCOL_DRIVERS)) {
704 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS)
723 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS)
743 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS)
762 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS)
780 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS)
807 if (!cb_idx || cb_idx >= MPT_MAX_PROTOCOL_DRIVERS)
1956 for(cb_idx = 0; cb_idx < MPT_MAX_PROTOCOL_DRIVERS; cb_idx++) {
2020 for(cb_idx = 0; cb_idx < MPT_MAX_PROTOCOL_DRIVERS; cb_idx++) {
3892 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) {
3994 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) {
6537 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) {
6908 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) {
6927 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) {
6983 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) {
7075 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) {
7106 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) {
7651 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) {
8366 for (cb_idx = 0; cb_idx < MPT_MAX_PROTOCOL_DRIVERS; cb_idx++) {