Lines Matching refs:w2
30 #undef w2
35 #define w2(byte) {out_p(2,byte); PC = byte;} macro
71 case 4: w0(r); w2(9); w2(0); w2(0x20); in bpck_read_regr()
73 w2(0); in bpck_read_regr()
97 case 4: w0(r); w2(9); w2(0); in bpck_write_regr()
98 w0(val); w2(1); w2(3); w2(0); in bpck_write_regr()
128 w0(0x40); w2(9); w2(0); w2(1); in bpck_write_block()
130 w2(0); in bpck_write_block()
135 w0(0x40); w2(9); w2(0); w2(1); in bpck_write_block()
137 w2(0); in bpck_write_block()
142 w0(0x40); w2(9); w2(0); w2(1); in bpck_write_block()
144 w2(0); in bpck_write_block()
174 w0(0x40); w2(9); w2(0); w2(0x20); in bpck_read_block()
176 w2(0); in bpck_read_block()
181 w0(0x40); w2(9); w2(0); w2(0x20); in bpck_read_block()
183 w2(0); in bpck_read_block()
188 w0(0x40); w2(9); w2(0); w2(0x20); in bpck_read_block()
190 w2(0); in bpck_read_block()
204 w2(4); w2(0xe); r2(); t2(2); in bpck_probe_unit()
207 w0(255-id); w2(4); w0(id); in bpck_probe_unit()
213 w2(0x4c); w0(o0); in bpck_probe_unit()
216 t2(8); w0(0); t2(2); w2(0x4c); w0(o0); in bpck_probe_unit()
223 w0(0xff-pi->unit); w2(4); w0(pi->unit); in bpck_connect()
237 case 4: w2(0); WR(4,8); in bpck_connect()
257 if (pi->mode >= 2) { w2(9); w2(0); } else t2(2); in bpck_disconnect()
258 w2(0x4c); w0(pi->saved_r0); in bpck_disconnect()
266 w0(0xff-pi->unit); w2(4); w0(pi->unit); in bpck_force_spp()
270 w2(0); in bpck_force_spp()
271 w0(4); w2(9); w2(0); in bpck_force_spp()
272 w0(0); w2(1); w2(3); w2(0); in bpck_force_spp()
273 w0(0); w2(9); w2(0); in bpck_force_spp()
274 w2(0x4c); w0(pi->saved_r0); in bpck_force_spp()
318 w0(0x13); w2(9); w2(1); w0(0); w2(3); w2(0); w2(0xe0); in bpck_test_proto()
329 w2(0); in bpck_test_proto()
404 w2(0x2c); i = r0(); w0(255-i); r = r0(); w0(i); in bpck_test_port()
409 w2(0xc); i = r0(); w0(255-i); r = r0(); w0(i); in bpck_test_port()
412 if (m == 0) { w2(6); w2(0xc); r = r0(); w0(0xaa); w0(r); w0(0xaa); } in bpck_test_port()
413 if (m == 2) { w2(0x26); w2(0xc); } in bpck_test_port()