Lines Matching +full:4 +full:k
33 w2(4); w0(0xff); w0(0xff); w0(0x73); w0(0x73); \
38 #define j44(l, h) (((l >> 4) & 0x0f) | (h & 0xf0))
54 w2(4); h = r1(); in friq_read_regr()
55 w2(4); in friq_read_regr()
66 w2(5); w2(7); w2(5); w2(4); in friq_write_regr()
71 int h, l, k, ph; in friq_read_block_int() local
76 for (k = 0; k < count; k++) { in friq_read_block_int()
78 w2(4); h = r1(); in friq_read_block_int()
79 buf[k] = j44(l, h); in friq_read_block_int()
81 w2(4); 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()
92 w2(0xac); w2(0xa4); w2(4); 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()
101 w2(4); 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()
110 w2(4); in friq_read_block_int()
112 case 4: 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()
116 buf[count - 4] = r4(); in friq_read_block_int()
121 w2(4); 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()
143 w2(4); in friq_write_block()
147 for (k = 0; k < count; k++) in friq_write_block()
148 w4(buf[k]); in friq_write_block()
149 w2(4); 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()
155 w2(4); in friq_write_block()
157 case 4: 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()
161 w2(4); in friq_write_block()
170 w2(4); in friq_connect()
182 int j, k, r; in friq_test_proto() local
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()
221 char *mode_string[6] = { "4-bit", "8-bit", "EPP-8", "EPP-16", "EPP-32"}; in friq_log_adapter()