Lines Matching refs:w2
52 case 0: w0(regr|0x18|s); w2(4); w2(6); w2(4); w2(1); w0(8); in kbic_read_regr()
53 a = r1(); w0(0x28); b = r1(); w2(4); in kbic_read_regr()
56 case 1: w0(regr|0x38|s); w2(4); w2(6); w2(4); w2(5); w0(8); in kbic_read_regr()
57 a = r12w(); w2(4); in kbic_read_regr()
60 case 2: w0(regr|0x08|s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr()
61 a = r0(); w2(4); in kbic_read_regr()
66 case 5: w0(0x20|s); w2(4); w2(6); w2(4); w3(regr); in kbic_read_regr()
67 a = r4(); b = r4(); w2(4); w2(0); w2(4); in kbic_read_regr()
84 case 2: w0(regr|0x10|s); w2(4); w2(6); w2(4); in kbic_write_regr()
85 w0(val); w2(5); w2(4); in kbic_write_regr()
90 case 5: w0(0x20|s); w2(4); w2(6); w2(4); w3(regr); in kbic_write_regr()
92 w2(4); w2(0); w2(4); in kbic_write_regr()
102 w2(4); in k951_connect()
108 w2(pi->saved_r2); in k951_disconnect()
111 #define CCP(x) w2(0xc4);w0(0xaa);w0(0x55);w0(0);w0(0xff);w0(0x87);\
112 w0(0x78);w0(x);w2(0xc5);w2(0xc4);w0(0xff);
119 w2(4); in k971_connect()
126 w2(pi->saved_r2); in k971_disconnect()
139 case 0: w0(0x98); w2(4); w2(6); w2(4); in kbic_read_block()
141 w2(1); w0(8); a = r1(); in kbic_read_block()
144 w2(5); b = r1(); in kbic_read_block()
147 w2(4); in kbic_read_block()
151 case 1: w0(0xb8); w2(4); w2(6); w2(4); in kbic_read_block()
154 w2(4); w2(5); in kbic_read_block()
157 w2(4); w2(5); in kbic_read_block()
161 w2(4); in kbic_read_block()
164 case 2: w0(0x88); w2(4); w2(6); w2(4); in kbic_read_block()
166 w2(0xa0); w2(0xa1); buf[2*k] = r0(); in kbic_read_block()
167 w2(0xa5); buf[2*k+1] = r0(); in kbic_read_block()
169 w2(4); in kbic_read_block()
172 case 3: w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_read_block()
174 w2(4); w2(0); w2(4); in kbic_read_block()
177 case 4: w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_read_block()
179 w2(4); w2(0); w2(4); in kbic_read_block()
182 case 5: w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_read_block()
184 w2(4); w2(0); w2(4); in kbic_read_block()
199 case 2: w0(0x90); w2(4); w2(6); w2(4); in kbic_write_block()
201 w0(buf[2*k+1]); w2(0); w2(4); in kbic_write_block()
202 w0(buf[2*k]); w2(5); w2(4); in kbic_write_block()
206 case 3: w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_write_block()
211 w2(4); w2(0); w2(4); in kbic_write_block()
214 case 4: w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_write_block()
216 w2(4); w2(0); w2(4); in kbic_write_block()
219 case 5: w0(0xa0); w2(4); w2(6); w2(4); w3(0); in kbic_write_block()
221 w2(4); w2(0); w2(4); in kbic_write_block()