Lines Matching +full:2 +full:k

44 static int cont_map[2] = { 0x08, 0x10 };
71 int h, l, k, ph; in friq_read_block_int() local
76 for (k = 0; k < count; k++) { in friq_read_block_int()
79 buf[k] = j44(l, h); in friq_read_block_int()
84 ph = 2; in friq_read_block_int()
87 for (k = 0; k < count; k++) { in friq_read_block_int()
89 buf[k] = r0(); in friq_read_block_int()
90 ph = 2 - ph; in friq_read_block_int()
94 case 2: in friq_read_block_int()
96 for (k = 0; k < count - 2; k++) in friq_read_block_int()
97 buf[k] = r4(); in friq_read_block_int()
99 buf[count - 2] = r4(); in friq_read_block_int()
105 for (k = 0; k < count / 2 - 1; k++) in friq_read_block_int()
106 ((u16 *)buf)[k] = r4w(); in friq_read_block_int()
108 buf[count - 2] = r4(); in friq_read_block_int()
114 for (k = 0; k < count / 4 - 1; k++) in friq_read_block_int()
115 ((u32 *)buf)[k] = r4l(); in friq_read_block_int()
119 buf[count - 2] = r4(); in friq_read_block_int()
133 int k; in friq_write_block() local
139 for (k = 0; k < count; k++) { in friq_write_block()
140 w0(buf[k]); in friq_write_block()
145 case 2: in friq_write_block()
147 for (k = 0; k < count; k++) in friq_write_block()
148 w4(buf[k]); in friq_write_block()
153 for (k = 0; k < count / 2; k++) in friq_write_block()
154 w4w(((u16 *)buf)[k]); in friq_write_block()
159 for (k = 0; k < count / 4; k++) in friq_write_block()
160 w4l(((u32 *)buf)[k]); in friq_write_block()
182 int j, k, r; in friq_test_proto() local
183 int e[2] = { 0, 0 }; in friq_test_proto()
192 for (j = 0; j < 2; j++) { in friq_test_proto()
194 for (k = 0; k < 256; k++) { in friq_test_proto()
195 friq_write_regr(pi, 0, 2, k ^ 0xaa); in friq_test_proto()
196 friq_write_regr(pi, 0, 3, k ^ 0x55); in friq_test_proto()
197 if (friq_read_regr(pi, 0, 2) != (k ^ 0xaa)) in friq_test_proto()
206 for (k = 0; k < 128; k++) { in friq_test_proto()
207 if (scratch[k] != k) in friq_test_proto()
224 "Freecom IQ ASIC-2 adapter at 0x%x, mode %d (%s), delay %d\n", in friq_log_adapter()
247 .epp_first = 2,