Lines Matching +full:0 +full:x26
20 #define j44(a,b) ((((a>>4)&0x0f)|(b&0xf0))^0x88)
23 * cont = 0 - access the IDE register file
26 static int cont_map[2] = { 0x08, 0x20 };
30 int r = regr + cont_map[cont] + 0x80; in aten_write_regr()
32 w0(r); w2(0xe); w2(6); w0(val); w2(7); w2(6); w2(0xc); in aten_write_regr()
39 r = regr + cont_map[cont] + 0x40; in aten_read_regr()
43 case 0: in aten_read_regr()
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()
50 r |= 0x10; in aten_read_regr()
51 w0(r); w2(0xe); w2(6); w0(0xff); in aten_read_regr()
52 w2(0x27); w2(0x26); w2(0x20); in aten_read_regr()
54 w2(0x26); w2(0xc); in aten_read_regr()
66 case 0: in aten_read_block()
67 w0(0x48); w2(0xe); w2(6); in aten_read_block()
68 for (k = 0; k < count / 2; k++) { in aten_read_block()
70 a = r1(); w0(0x58); b = r1(); in aten_read_block()
71 w2(0); d = r1(); w0(0x48); c = r1(); in aten_read_block()
75 w2(0xc); in aten_read_block()
79 w0(0x58); w2(0xe); w2(6); in aten_read_block()
80 for (k = 0; k < count / 2; k++) { in aten_read_block()
81 w2(0x27); w2(0x26); w2(0x22); in aten_read_block()
82 a = r0(); w2(0x20); b = r0(); in aten_read_block()
86 w2(0x26); w2(0xc); in aten_read_block()
95 w0(0x88); w2(0xe); w2(6); in aten_write_block()
96 for (k = 0; k < count / 2; k++) { in aten_write_block()
97 w0(buf[2 * k + 1]); w2(0xe); w2(6); in aten_write_block()
100 w2(0xc); in aten_write_block()
107 w2(0xc); in aten_connect()
121 "ATEN EH-100 at 0x%x, mode %d (%s), delay %d\n", in aten_log_adapter()