Home
last modified time | relevance | path

Searched refs:MAX_PROTOS (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/paride/
Dparide.c39 #define MAX_PROTOS 32 macro
41 static struct pi_protocol *protocols[MAX_PROTOS];
214 for (k = 0; k < MAX_PROTOS; k++) in paride_register()
221 while ((k < MAX_PROTOS) && (protocols[k])) in paride_register()
223 if (k == MAX_PROTOS) { in paride_register()
365 e = MAX_PROTOS; in pi_init()
366 } else if ((s < 0) || (s >= MAX_PROTOS) || (port <= 0) || in pi_init()