Lines Matching +full:1 +full:k
20 * 1 8-bit reads and writes
40 * cont = 1 - access the IDE command set
47 r = (regr << 2) + 1 + cont; in on26_read_regr()
51 w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr()
56 case 1: in on26_read_regr()
57 w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr()
63 w3(1); w3(1); w2(5); w4(r); w2(4); in on26_read_regr()
69 return -1; in on26_read_regr()
74 int r = (regr << 2) + 1 + cont; in on26_write_regr()
78 case 1: in on26_write_regr()
79 w0(1); P1; w0(r); P2; w0(0); P1; in on26_write_regr()
85 w3(1); w3(1); w2(5); w4(r); w2(4); in on26_write_regr()
193 int k, a, b; in on26_read_block() local
197 w0(1); P1; w0(1); P2; w0(2); P1; w0(0x18); P2; w0(0); P1; in on26_read_block()
199 for (k = 0; k < count; k++) { in on26_read_block()
202 buf[k] = j44(a, b); in on26_read_block()
206 case 1: in on26_read_block()
207 w0(1); P1; w0(1); P2; w0(2); P1; w0(0x19); P2; w0(0); P1; in on26_read_block()
209 for (k = 0; k < count / 2; k++) { in on26_read_block()
210 w2(0x26); buf[2 * k] = r0(); in on26_read_block()
211 w2(0x24); buf[2 * k + 1] = r0(); in on26_read_block()
216 w3(1); w3(1); w2(5); w4(1); w2(4); in on26_read_block()
219 for (k = 0; k < count; k++) in on26_read_block()
220 buf[k] = r4(); in on26_read_block()
224 w3(1); w3(1); w2(5); w4(1); w2(4); in on26_read_block()
227 for (k = 0; k < count / 2; k++) in on26_read_block()
228 ((u16 *)buf)[k] = r4w(); in on26_read_block()
232 w3(1); w3(1); w2(5); w4(1); w2(4); in on26_read_block()
235 for (k = 0; k < count / 4; k++) in on26_read_block()
236 ((u32 *)buf)[k] = r4l(); in on26_read_block()
244 int k; in on26_write_block() local
248 case 1: in on26_write_block()
249 w0(1); P1; w0(1); P2; in on26_write_block()
252 for (k = 0; k < count / 2; k++) { in on26_write_block()
253 w2(5); w0(buf[2 * k]); in on26_write_block()
254 w2(7); w0(buf[2 * k + 1]); in on26_write_block()
260 w3(1); w3(1); w2(5); w4(1); w2(4); in on26_write_block()
263 for (k = 0; k < count; k++) in on26_write_block()
264 w4(buf[k]); in on26_write_block()
268 w3(1); w3(1); w2(5); w4(1); w2(4); in on26_write_block()
271 for (k = 0; k < count / 2; k++) in on26_write_block()
272 w4w(((u16 *)buf)[k]); in on26_write_block()
276 w3(1); w3(1); w2(5); w4(1); w2(4); in on26_write_block()
279 for (k = 0; k < count / 4; k++) in on26_write_block()
280 w4l(((u32 *)buf)[k]); in on26_write_block()
300 .default_delay = 1,
301 .max_units = 1,