Lines Matching +full:6 +full:a
5 * aten.c is a low-level protocol driver for the ATEN EH-100
20 #define j44(a,b) ((((a>>4)&0x0f)|(b&0xf0))^0x88) argument
32 w0(r); w2(0xe); w2(6); w0(val); w2(7); w2(6); w2(0xc); in aten_write_regr()
37 int a, b, r; in aten_read_regr() local
44 w0(r); w2(0xe); w2(6); in aten_read_regr()
45 w2(7); w2(6); w2(0); in aten_read_regr()
46 a = r1(); w0(0x10); b = r1(); w2(0xc); in aten_read_regr()
47 return j44(a,b); in aten_read_regr()
51 w0(r); w2(0xe); w2(6); w0(0xff); in aten_read_regr()
53 a = r0(); in aten_read_regr()
55 return a; in aten_read_regr()
62 int k, a, b, c, d; in aten_read_block() local
67 w0(0x48); w2(0xe); w2(6); in aten_read_block()
69 w2(7); w2(6); w2(2); in aten_read_block()
70 a = r1(); w0(0x58); b = r1(); in aten_read_block()
73 buf[2 * k + 1] = j44(a, b); in aten_read_block()
79 w0(0x58); w2(0xe); w2(6); in aten_read_block()
82 a = r0(); w2(0x20); b = r0(); in aten_read_block()
84 buf[2 * k + 1] = a; in aten_read_block()
95 w0(0x88); w2(0xe); w2(6); in aten_write_block()
97 w0(buf[2 * k + 1]); w2(0xe); w2(6); in aten_write_block()
98 w0(buf[2 * k]); w2(7); w2(6); in aten_write_block()