Lines Matching refs:k
176 { int j, k; in pi_test_proto() local
190 for (k=0;k<256;k++) { in pi_test_proto()
191 WR(2,k^0xaa); in pi_test_proto()
192 WR(3,k^0x55); in pi_test_proto()
193 if (RR(2) != (k^0xaa)) e[j]++; in pi_test_proto()
209 { int k; in pi_register() local
211 for (k=0;k<MAX_PROTOS;k++) in pi_register()
212 if (protocols[k] && !strcmp(pr->name,protocols[k]->name)) { in pi_register()
216 k = 0; in pi_register()
217 while((k<MAX_PROTOS) && (protocols[k])) k++; in pi_register()
218 if (k == MAX_PROTOS) { in pi_register()
223 protocols[k] = pr; in pi_register()
224 pr->index = k; in pi_register()
225 printk("paride: %s registered as protocol %d\n",pr->name,k); in pi_register()
341 { int p,k,s,e; in pi_init() local
381 k = 0; in pi_init()
382 while ((pi->port = lpts[k++])) in pi_init()
418 int k; in init_module() local
424 for (k=0;k<MAX_PROTOS;k++) protocols[k] = 0; in init_module()