Lines Matching +full:4 +full:k
32 4 EPP-32
35 #define j44(a,b) (((a>>3)&0x07)|((~a>>4)&0x08)|((b<<1)&0x70)|((~b)&0x80))
37 #define P1 w2(5);w2(0xd);w2(5);w2(4);
38 #define P2 w2(5);w2(7);w2(5);w2(4);
39 #define P3 w2(6);w2(4);w2(6);w2(4);
59 case 0: w2(6); a = r1(); w2(4); w2(6); b = r1(); w2(4); in dstr_read_regr()
62 case 1: w0(0); w2(0x26); a = r0(); w2(4); in dstr_read_regr()
67 case 4: w2(0x24); a = r4(); w2(4); in dstr_read_regr()
87 case 1: w0(val); w2(5); w2(7); w2(5); w2(4); in dstr_write_regr()
92 case 4: w4(val); in dstr_write_regr()
97 #define CCP(x) w0(0xff);w2(0xc);w2(4);\
99 w0(x);w2(5);w2(4);
105 w2(4); CCP(0xe0); w0(0xff); in dstr_connect()
117 { int k, a, b; in dstr_read_block() local
125 case 0: for (k=0;k<count;k++) { in dstr_read_block()
126 w2(6); a = r1(); w2(4); in dstr_read_block()
127 w2(6); b = r1(); w2(4); 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()
136 w2(4); in dstr_read_block()
140 for (k=0;k<count;k++) buf[k] = r4(); in dstr_read_block()
141 w2(4); in dstr_read_block()
145 for (k=0;k<count/2;k++) ((u16 *)buf)[k] = r4w(); in dstr_read_block()
146 w2(4); in dstr_read_block()
149 case 4: w2(0x24); in dstr_read_block()
150 for (k=0;k<count/4;k++) ((u32 *)buf)[k] = r4l(); in dstr_read_block()
151 w2(4); 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()
171 w2(5); w2(4); 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()
184 case 4: w2(0xc5); 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()