Lines Matching +full:8 +full:k
2 dstr.c (c) 1997-8 Grant R. Guenther <grant@torque.net>
28 /* mode codes: 0 nybble reads, 8-bit writes
29 1 8-bit reads and writes
30 2 8-bit EPP mode
117 { int k, a, b; in dstr_read_block() local
125 case 0: for (k=0;k<count;k++) { in dstr_read_block()
128 buf[k] = j44(a,b); in dstr_read_block()
133 for (k=0;k<count;k++) { in dstr_read_block()
134 w2(0x26); buf[k] = r0(); w2(0x24); in dstr_read_block()
140 for (k=0;k<count;k++) buf[k] = r4(); in dstr_read_block()
145 for (k=0;k<count/2;k++) ((u16 *)buf)[k] = r4w(); in dstr_read_block()
150 for (k=0;k<count/4;k++) ((u32 *)buf)[k] = r4l(); in dstr_read_block()
159 { int k; in dstr_write_block() local
168 case 1: for (k=0;k<count;k++) { in dstr_write_block()
169 w2(5); w0(buf[k]); w2(7); in dstr_write_block()
175 for (k=0;k<count;k++) w4(buf[k]); in dstr_write_block()
180 for (k=0;k<count/2;k++) w4w(((u16 *)buf)[k]); in dstr_write_block()
185 for (k=0;k<count/4;k++) w4l(((u32 *)buf)[k]); in dstr_write_block()
195 { char *mode_string[5] = {"4-bit","8-bit","EPP-8", in dstr_log_adapter()