Lines Matching +full:8 +full:k
2 on26.c (c) 1997-8 Grant R. Guenther <grant@torque.net>
31 /* mode codes: 0 nybble reads, 8-bit writes
32 1 8-bit reads and writes
33 2 8-bit EPP mode
110 x = 8; if (pi->mode) x = 9; in on26_connect()
112 w0(2); P1; w0(8); P2; in on26_connect()
154 w0(2); P1; w0(8); P2; udelay(100); in on26_test_port()
156 w0(2); P1; w0(8); P2; udelay(1000); in on26_test_port()
188 { int k, a, b; in on26_read_block() local
194 for (k=0;k<count;k++) { in on26_read_block()
197 buf[k] = j44(a,b); in on26_read_block()
199 w0(2); P1; w0(8); P2; in on26_read_block()
204 for (k=0;k<count/2;k++) { in on26_read_block()
205 w2(0x26); buf[2*k] = r0(); in on26_read_block()
206 w2(0x24); buf[2*k+1] = r0(); in on26_read_block()
214 for (k=0;k<count;k++) buf[k] = r4(); in on26_read_block()
221 for (k=0;k<count/2;k++) ((u16 *)buf)[k] = r4w(); in on26_read_block()
228 for (k=0;k<count/4;k++) ((u32 *)buf)[k] = r4l(); in on26_read_block()
237 { int k; in on26_write_block() local
245 for (k=0;k<count/2;k++) { in on26_write_block()
246 w2(5); w0(buf[2*k]); in on26_write_block()
247 w2(7); w0(buf[2*k+1]); in on26_write_block()
250 w0(2); P1; w0(8+pi->mode); P2; in on26_write_block()
256 for (k=0;k<count;k++) w4(buf[k]); in on26_write_block()
263 for (k=0;k<count/2;k++) w4w(((u16 *)buf)[k]); in on26_write_block()
270 for (k=0;k<count/4;k++) w4l(((u32 *)buf)[k]); in on26_write_block()
280 { char *mode_string[5] = {"4-bit","8-bit","EPP-8", in on26_log_adapter()