Lines Matching +full:4 +full:k

40 #define CMD(x)		w2(4);w0(0xff);w0(0xff);w0(0x73);w0(0x73);\
43 #define j44(l,h) (((l>>4)&0x0f)|(h&0xf0))
59 w2(4); h = r1(); in friq_read_regr()
60 w2(4); in friq_read_regr()
74 w2(5);w2(7);w2(5);w2(4); in friq_write_regr()
79 { int h, l, k, ph; in friq_read_block_int() local
84 for (k=0;k<count;k++) { in friq_read_block_int()
86 w2(4); h = r1(); in friq_read_block_int()
87 buf[k] = j44(l,h); in friq_read_block_int()
89 w2(4); in friq_read_block_int()
95 for (k=0;k<count;k++) { in friq_read_block_int()
97 buf[k] = r0(); in friq_read_block_int()
100 w2(0xac); w2(0xa4); w2(4); in friq_read_block_int()
104 for (k=0;k<count-2;k++) buf[k] = r4(); in friq_read_block_int()
108 w2(4); in friq_read_block_int()
112 for (k=0;k<(count/2)-1;k++) ((u16 *)buf)[k] = r4w(); in friq_read_block_int()
116 w2(4); in friq_read_block_int()
119 case 4: CMD(regr+0x80); in friq_read_block_int()
120 for (k=0;k<(count/4)-1;k++) ((u32 *)buf)[k] = r4l(); in friq_read_block_int()
121 buf[count-4] = r4(); in friq_read_block_int()
126 w2(4); in friq_read_block_int()
139 { int k; in friq_write_block() local
145 for (k=0;k<count;k++) { in friq_write_block()
146 w0(buf[k]); in friq_write_block()
149 w2(4); in friq_write_block()
153 for (k=0;k<count;k++) w4(buf[k]); in friq_write_block()
154 w2(4); in friq_write_block()
158 for (k=0;k<count/2;k++) w4w(((u16 *)buf)[k]); in friq_write_block()
159 w2(4); in friq_write_block()
162 case 4: CMD(0xc8); w2(5); in friq_write_block()
163 for (k=0;k<count/4;k++) w4l(((u32 *)buf)[k]); in friq_write_block()
164 w2(4); in friq_write_block()
173 w2(4); in friq_connect()
185 { int j, k, r; in friq_test_proto() local
196 for (k=0;k<256;k++) { in friq_test_proto()
197 friq_write_regr(pi,0,2,k^0xaa); in friq_test_proto()
198 friq_write_regr(pi,0,3,k^0x55); in friq_test_proto()
199 if (friq_read_regr(pi,0,2) != (k^0xaa)) e[j]++; in friq_test_proto()
207 for (k=0;k<128;k++) if (scratch[k] != k) r++; in friq_test_proto()
221 { char *mode_string[6] = {"4-bit","8-bit", in friq_log_adapter()