io_write_and_or
io_write_and_or(sd, 0x02, 0x0f, 0x10);
io_write_and_or(sd, 0x02, 0x0f, 0xf0);
io_write_and_or(sd, 0x02, 0x0f, 0xf0);
io_write_and_or(sd, 0x02, 0x0f, 0x00);
io_write_and_or(sd, 0x02, 0x0f, 0x10);
io_write_and_or(sd, 0x02, 0x0f, 0x20);
io_write_and_or(sd, 0x02, 0x0f, 0x00);
io_write_and_or(sd, 0x02, 0x0f, 0x60);
io_write_and_or(sd, 0x02, 0x0f, 0x10);
io_write_and_or(sd, 0x02, 0x0f, 0x60);
io_write_and_or(sd, 0x02, 0x0f, 0x10);
io_write_and_or(sd, 0x02, 0x0f, 0xf0);
io_write_and_or(sd, 0x05, 0xf0, pdata->blank_data << 3 |
io_write_and_or(sd, 0x14, 0xc0,
io_write_and_or(sd, 0x30, ~(1 << 4), pdata->output_bus_lsb_to_msb << 4);
io_write_and_or(sd, 0x20, 0xcf, 0x00);
io_write_and_or(sd, 0x20, 0xcf, mask);
io_write_and_or(sd, 0x20, 0xcf, 0x00);
io_write_and_or(sd, 0x20, 0xcf, 0x00);