Lines Matching +full:0 +full:xe
30 #define j44(a,b) ((((a>>4)&0x0f)|(b&0xf0))^0x88)
32 /* cont = 0 - access the IDE register file
36 static int cont_map[2] = { 0x08, 0x20 };
42 r = regr + cont_map[cont] + 0x80; in aten_write_regr()
44 w0(r); w2(0xe); w2(6); w0(val); w2(7); w2(6); w2(0xc); in aten_write_regr()
51 r = regr + cont_map[cont] + 0x40; in aten_read_regr()
55 case 0: w0(r); w2(0xe); w2(6); in aten_read_regr()
56 w2(7); w2(6); w2(0); in aten_read_regr()
57 a = r1(); w0(0x10); b = r1(); w2(0xc); in aten_read_regr()
60 case 1: r |= 0x10; in aten_read_regr()
61 w0(r); w2(0xe); w2(6); w0(0xff); in aten_read_regr()
62 w2(0x27); w2(0x26); w2(0x20); in aten_read_regr()
64 w2(0x26); w2(0xc); in aten_read_regr()
76 case 0: w0(0x48); w2(0xe); w2(6); in aten_read_block()
77 for (k=0;k<count/2;k++) { in aten_read_block()
79 a = r1(); w0(0x58); b = r1(); in aten_read_block()
80 w2(0); d = r1(); w0(0x48); c = r1(); in aten_read_block()
84 w2(0xc); in aten_read_block()
87 case 1: w0(0x58); w2(0xe); w2(6); in aten_read_block()
88 for (k=0;k<count/2;k++) { in aten_read_block()
89 w2(0x27); w2(0x26); w2(0x22); in aten_read_block()
90 a = r0(); w2(0x20); b = r0(); in aten_read_block()
93 w2(0x26); w2(0xc); in aten_read_block()
102 w0(0x88); w2(0xe); w2(6); in aten_write_block()
103 for (k=0;k<count/2;k++) { in aten_write_block()
104 w0(buf[2*k+1]); w2(0xe); w2(6); in aten_write_block()
107 w2(0xc); in aten_write_block()
114 w2(0xc); in aten_connect()
127 printk("%s: aten %s, ATEN EH-100 at 0x%x, ", in aten_log_adapter()