Lines Matching +full:0 +full:x90
32 #define j44(a,b) (((a>>3)&0x0f)|((b<<1)&0xf0))
35 #define r7() (in_p(7) & 0xff)
37 /* cont = 0 - access the IDE register file
48 case 0: in fit3_write_regr()
49 case 1: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr()
50 w0(val); w2(0xd); in fit3_write_regr()
51 w0(0); w2(0xc); in fit3_write_regr()
54 case 2: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr()
55 w4(val); w4(0); in fit3_write_regr()
56 w2(0xc); in fit3_write_regr()
67 if (regr != 6) return 0xff; in fit3_read_regr()
73 case 0: w2(0xc); w0(regr + 0x10); w2(0x8); w2(0xc); in fit3_read_regr()
74 w2(0xd); a = r1(); in fit3_read_regr()
75 w2(0xf); b = r1(); in fit3_read_regr()
76 w2(0xc); in fit3_read_regr()
79 case 1: w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr()
80 w2(0xec); w2(0xee); w2(0xef); a = r0(); in fit3_read_regr()
81 w2(0xc); in fit3_read_regr()
84 case 2: w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr()
85 w2(0xec); in fit3_read_regr()
87 w2(0xc); in fit3_read_regr()
101 case 0: w2(0xc); w0(0x10); w2(0x8); w2(0xc); in fit3_read_block()
102 for (k=0;k<count/2;k++) { in fit3_read_block()
103 w2(0xd); a = r1(); in fit3_read_block()
104 w2(0xf); b = r1(); in fit3_read_block()
105 w2(0xc); c = r1(); in fit3_read_block()
106 w2(0xe); d = r1(); in fit3_read_block()
110 w2(0xc); in fit3_read_block()
113 case 1: w2(0xc); w0(0x90); w2(0x8); w2(0xc); in fit3_read_block()
114 w2(0xec); w2(0xee); in fit3_read_block()
115 for (k=0;k<count/2;k++) { in fit3_read_block()
116 w2(0xef); a = r0(); in fit3_read_block()
117 w2(0xee); b = r0(); in fit3_read_block()
121 w2(0xec); in fit3_read_block()
122 w2(0xc); in fit3_read_block()
125 case 2: w2(0xc); w0(0x90); w2(0x8); w2(0xc); in fit3_read_block()
126 w2(0xec); in fit3_read_block()
127 for (k=0;k<count;k++) buf[k] = r4(); in fit3_read_block()
128 w2(0xc); in fit3_read_block()
140 case 0: in fit3_write_block()
141 case 1: w2(0xc); w0(0); w2(0x8); w2(0xc); in fit3_write_block()
142 for (k=0;k<count/2;k++) { in fit3_write_block()
143 w0(buf[2*k ]); w2(0xd); in fit3_write_block()
144 w0(buf[2*k+1]); w2(0xc); in fit3_write_block()
148 case 2: w2(0xc); w0(0); w2(0x8); w2(0xc); in fit3_write_block()
149 for (k=0;k<count;k++) w4(buf[k]); in fit3_write_block()
150 w2(0xc); in fit3_write_block()
159 w2(0xc); w0(0); w2(0xa); in fit3_connect()
161 w2(0xc); w0(0x9); w2(0x8); w2(0xc); in fit3_connect()
167 { w2(0xc); w0(0xa); w2(0x8); w2(0xc); in fit3_disconnect()
176 printk("%s: fit3 %s, FIT 3000 adapter at 0x%x, " in fit3_log_adapter()