Lines Matching +full:5 +full:k

53 	w2(5); w2(7); w2(5); w2(4);  in frpw_write_regr()
59 int h, l, k, ph; in frpw_read_block_int() local
64 for (k = 0; k < count; k++) { in frpw_read_block_int()
67 buf[k] = j44(l, h); in frpw_read_block_int()
76 for (k = 0; k < count; k++) { in frpw_read_block_int()
78 buf[k] = r0(); in frpw_read_block_int()
86 for (k = 0; k < count; k++) in frpw_read_block_int()
87 buf[k] = r4(); in frpw_read_block_int()
94 for (k = 0; k < count - 2; k++) in frpw_read_block_int()
95 buf[k] = r4(); in frpw_read_block_int()
104 for (k = 0; k < count / 2 - 1; k++) in frpw_read_block_int()
105 ((u16 *)buf)[k] = r4w(); in frpw_read_block_int()
112 case 5: in frpw_read_block_int()
114 for (k = 0; k < count / 4 - 1; k++) in frpw_read_block_int()
115 ((u32 *)buf)[k] = r4l(); in frpw_read_block_int()
133 int k; in frpw_write_block() local
139 w2(4); w0(8); cec4; w2(5); in frpw_write_block()
140 for (k = 0; k < count; k++) { in frpw_write_block()
141 w0(buf[k]); in frpw_write_block()
142 w2(7); w2(5); in frpw_write_block()
148 w2(4); w0(0xc8); cec4; w2(5); in frpw_write_block()
149 for (k = 0; k < count; k++) in frpw_write_block()
150 w4(buf[k]); in frpw_write_block()
155 w2(4); w0(0xc8); cec4; w2(5); in frpw_write_block()
156 for (k = 0; k < count / 2; k++) in frpw_write_block()
157 w4w(((u16 *)buf)[k]); in frpw_write_block()
161 case 5: in frpw_write_block()
162 w2(4); w0(0xc8); cec4; w2(5); in frpw_write_block()
163 for (k = 0; k < count / 4; k++) in frpw_write_block()
164 w4l(((u32 *)buf)[k]); in frpw_write_block()
221 int j, k, r; in frpw_test_proto() local
242 for (k = 0; k < 256; k++) { in frpw_test_proto()
243 frpw_write_regr(pi, 0, 2, k ^ 0xaa); in frpw_test_proto()
244 frpw_write_regr(pi, 0, 3, k ^ 0x55); in frpw_test_proto()
245 if (frpw_read_regr(pi, 0, 2) != (k ^ 0xaa)) in frpw_test_proto()
254 for (k = 0; k < 128; k++) { in frpw_test_proto()
255 if (scratch[k] != k) in frpw_test_proto()