Lines Matching refs:k
99 { int k, ph, a, b; in epat_read_block() local
105 for(k=0;k<count;k++) { in epat_read_block()
106 if (k == count-1) w0(0xfd); in epat_read_block()
110 buf[k] = j44(a,b); in epat_read_block()
118 for(k=0;k<count;k++) { in epat_read_block()
119 if (k == count-1) w0(0xfd); in epat_read_block()
122 buf[k] = j53(a,b); in epat_read_block()
130 for(k=0;k<count-1;k++) { in epat_read_block()
132 buf[k] = r0(); in epat_read_block()
140 for(k=0;k<count-1;k++) buf[k] = r4(); in epat_read_block()
146 for(k=0;k<(count/2)-1;k++) ((u16 *)buf)[k] = r4w(); in epat_read_block()
153 for(k=0;k<(count/4)-1;k++) ((u32 *)buf)[k] = r4l(); in epat_read_block()
154 for(k=count-4;k<count-1;k++) buf[k] = r4(); in epat_read_block()
164 { int ph, k; in epat_write_block() local
172 for(k=0;k<count;k++) { in epat_write_block()
173 w0(buf[k]); in epat_write_block()
181 for(k=0;k<count;k++) w4(buf[k]); in epat_write_block()
186 for(k=0;k<(count/2);k++) w4w(((u16 *)buf)[k]); in epat_write_block()
191 for(k=0;k<(count/4);k++) w4l(((u32 *)buf)[k]); in epat_write_block()
253 { int k, j, f, cc; in epat_test_proto() local
263 for (k=0;k<256;k++) { in epat_test_proto()
264 WRi(2,k^0xaa); in epat_test_proto()
265 WRi(3,k^0x55); in epat_test_proto()
266 if (RRi(2) != (k^0xaa)) e[j]++; in epat_test_proto()
276 for (k=0;k<256;k++) { in epat_test_proto()
277 if ((scratch[2*k] & 0xff) != k) f++; in epat_test_proto()
278 if ((scratch[2*k+1] & 0xff) != (0xff-k)) f++; in epat_test_proto()