Lines Matching +full:6 +full:a
5 * This is a low-level driver for the KBIC-951A and KBIC-971A
9 * required for the 971A interferes with the correct operation of
10 * the 951A, so this driver registers itself twice, once for
25 #define j44(a, b) ((((a >> 4) & 0x0f) | (b & 0xf0)) ^ 0x88) argument
37 int a, b, s; in kbic_read_regr() local
43 w0(regr | 0x18 | s); w2(4); w2(6); w2(4); w2(1); w0(8); in kbic_read_regr()
44 a = r1(); w0(0x28); b = r1(); w2(4); in kbic_read_regr()
45 return j44(a, b); in kbic_read_regr()
47 w0(regr|0x38 | s); w2(4); w2(6); w2(4); w2(5); w0(8); in kbic_read_regr()
48 a = r12w(); w2(4); in kbic_read_regr()
49 return j53(a); in kbic_read_regr()
51 w0(regr | 0x08 | s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr()
52 a = r0(); w2(4); in kbic_read_regr()
53 return a; in kbic_read_regr()
57 w0(0x20 | s); w2(4); w2(6); w2(4); w3(regr); in kbic_read_regr()
58 a = r4(); b = r4(); w2(4); w2(0); w2(4); in kbic_read_regr()
59 return a; in kbic_read_regr()
73 w0(regr | 0x10 | s); w2(4); w2(6); w2(4); in kbic_write_regr()
79 w0(0x20 | s); w2(4); w2(6); w2(4); w3(regr); in kbic_write_regr()
128 int k, a, b; in kbic_read_block() local
132 w0(0x98); w2(4); w2(6); w2(4); in kbic_read_block()
135 a = r1(); in kbic_read_block()
138 buf[2 * k] = j44(a, b); in kbic_read_block()
142 a = r1(); in kbic_read_block()
143 buf[2 * k + 1] = j44(a, b); in kbic_read_block()
148 w0(0xb8); w2(4); w2(6); w2(4); in kbic_read_block()
164 w0(0x88); w2(4); w2(6); w2(4); in kbic_read_block()
174 w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_read_block()
180 w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_read_block()
186 w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_read_block()
202 w0(0x90); w2(4); w2(6); w2(4); in kbic_write_block()
211 w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_write_block()
219 w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_write_block()
225 w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_write_block()
236 char *mode[6] = { "4-bit", "5/3", "8-bit", "EPP-8", "EPP_16", "EPP-32"}; in kbic_log_adapter()
244 kbic_log_adapter(pi, "KBIC-951A"); in k951_log_adapter()
249 kbic_log_adapter(pi, "KBIC-971A"); in k971_log_adapter()
255 .max_mode = 6,
271 .max_mode = 6,
305 MODULE_DESCRIPTION("KingByte Information Systems KBIC-951A and KBIC-971A "