Lines Matching +full:0 +full:x68
20 * mode codes: 0 nybble reads, 8-bit writes
25 #define j44(a, b) (((a >> 3) & 0x0f) | ((b << 1) & 0xf0))
27 #define P1 w2(5);w2(0xd);w2(0xd);w2(5);w2(4);
31 * cont = 0 - access the IDE register file
34 static int cont_map[2] = { 0x08, 0x10 };
43 case 0: in comm_read_regr()
44 w0(r); P1; w0(0); in comm_read_regr()
45 w2(6); l = r1(); w0(0x80); h = r1(); w2(4); in comm_read_regr()
49 w0(r+0x20); P1; in comm_read_regr()
50 w0(0); w2(0x26); h = r0(); w2(4); in comm_read_regr()
56 w3(r+0x20); (void)r1(); in comm_read_regr()
57 w2(0x24); h = r4(); w2(4); in comm_read_regr()
69 case 0: in comm_write_regr()
85 w2(4); w0(0xff); w2(6); in comm_connect()
86 w2(4); w0(0xaa); w2(6); in comm_connect()
87 w2(4); w0(0x00); w2(6); in comm_connect()
88 w2(4); w0(0x87); w2(6); in comm_connect()
89 w2(4); w0(0xe0); w2(0xc); w2(0xc); w2(4); in comm_connect()
94 w2(0); w2(0); w2(0); w2(4); in comm_disconnect()
104 case 0: in comm_read_block()
105 w0(0x48); P1; in comm_read_block()
106 for (i = 0; i < count; i++) { in comm_read_block()
107 w0(0); w2(6); l = r1(); in comm_read_block()
108 w0(0x80); h = r1(); w2(4); in comm_read_block()
113 w0(0x68); P1; w0(0); in comm_read_block()
114 for (i = 0; i < count; i++) { in comm_read_block()
115 w2(0x26); in comm_read_block()
117 w2(0x24); in comm_read_block()
122 w3(0x68); (void)r1(); w2(0x24); in comm_read_block()
123 for (i = 0; i < count; i++) in comm_read_block()
128 w3(0x68); (void)r1(); w2(0x24); in comm_read_block()
129 for (i = 0; i < count / 2; i++) in comm_read_block()
134 w3(0x68); (void)r1(); w2(0x24); in comm_read_block()
135 for (i = 0; i < count / 4; i++) in comm_read_block()
148 case 0: in comm_write_block()
150 w0(0x68); P1; in comm_write_block()
151 for (k = 0; k < count; k++) { in comm_write_block()
159 w3(0x48); (void)r1(); in comm_write_block()
160 for (k = 0; k < count; k++) in comm_write_block()
164 w3(0x48); (void)r1(); in comm_write_block()
165 for (k = 0; k < count / 2; k++) in comm_write_block()
169 w3(0x48); (void)r1(); in comm_write_block()
170 for (k = 0; k < count / 4; k++) in comm_write_block()
182 "DataStor Commuter at 0x%x, mode %d (%s), delay %d\n", in comm_log_adapter()