Lines Matching +full:8 +full:k
2 kbic.c (c) 1997-8 Grant R. Guenther <grant@torque.net>
53 case 0: w0(regr|0x18|s); w2(4); w2(6); w2(4); w2(1); w0(8); in kbic_read_regr()
57 case 1: w0(regr|0x38|s); w2(4); w2(6); w2(4); w2(5); w0(8); in kbic_read_regr()
136 { int k, a, b; in kbic_read_block() local
141 for (k=0;k<count/2;k++) { in kbic_read_block()
142 w2(1); w0(8); a = r1(); in kbic_read_block()
144 buf[2*k] = j44(a,b); in kbic_read_block()
146 w0(8); a = r1(); in kbic_read_block()
147 buf[2*k+1] = j44(a,b); in kbic_read_block()
153 for (k=0;k<count/4;k++) { in kbic_read_block()
156 w0(8); buf[4*k] = j53(r12w()); in kbic_read_block()
157 w0(0xb8); buf[4*k+1] = j53(r12w()); in kbic_read_block()
159 buf[4*k+3] = j53(r12w()); in kbic_read_block()
160 w0(8); buf[4*k+2] = j53(r12w()); in kbic_read_block()
166 for (k=0;k<count/2;k++) { in kbic_read_block()
167 w2(0xa0); w2(0xa1); buf[2*k] = r0(); in kbic_read_block()
168 w2(0xa5); buf[2*k+1] = r0(); in kbic_read_block()
174 for (k=0;k<count;k++) buf[k] = r4(); in kbic_read_block()
179 for (k=0;k<count/2;k++) ((u16 *)buf)[k] = r4w(); in kbic_read_block()
184 for (k=0;k<count/4;k++) ((u32 *)buf)[k] = r4l(); in kbic_read_block()
194 { int k; in kbic_write_block() local
201 for(k=0;k<count/2;k++) { in kbic_write_block()
202 w0(buf[2*k+1]); w2(0); w2(4); in kbic_write_block()
203 w0(buf[2*k]); w2(5); w2(4); in kbic_write_block()
208 for(k=0;k<count/2;k++) { in kbic_write_block()
209 w4(buf[2*k+1]); in kbic_write_block()
210 w4(buf[2*k]); in kbic_write_block()
216 for(k=0;k<count/2;k++) w4w(pi_swab16(buf,k)); in kbic_write_block()
221 for(k=0;k<count/4;k++) w4l(pi_swab32(buf,k)); in kbic_write_block()
232 { char *mode_string[6] = {"4-bit","5/3","8-bit", in kbic_log_adapter()
233 "EPP-8","EPP_16","EPP-32"}; in kbic_log_adapter()