io_write_clr_set
io_write_clr_set(sd, 0x02, 0x04, rgb_output ? 0 : 4);
io_write_clr_set(sd, 0x02, 0xf0, 0x10);
io_write_clr_set(sd, 0x02, 0xf0, 0xf0);
io_write_clr_set(sd, 0x02, 0xf0, 0xf0);
io_write_clr_set(sd, 0x02, 0xf0, 0x00);
io_write_clr_set(sd, 0x02, 0xf0, 0x10);
io_write_clr_set(sd, 0x02, 0xf0, 0x20);
io_write_clr_set(sd, 0x02, 0xf0, 0x00);
io_write_clr_set(sd, 0x02, 0xf0, 0x60);
io_write_clr_set(sd, 0x02, 0xf0, 0x10);
io_write_clr_set(sd, 0x02, 0x02,
io_write_clr_set(sd, 0x04, 0xe0, adv76xx_op_ch_sel(state));
io_write_clr_set(sd, 0x05, 0x01,
io_write_clr_set(sd, info->cec_irq_status + 3, 0x0f, 0x0f);
io_write_clr_set(sd, info->cec_irq_status + 3, 0x0f, 0x00);
io_write_clr_set(sd, 0x20, 0xc0, 0);
io_write_clr_set(sd, 0x02, 0x0f, pdata->alt_gamma << 3);
io_write_clr_set(sd, 0x05, 0x0e, pdata->blank_data << 3 |
io_write_clr_set(sd, 0x30, 1 << 4, pdata->output_bus_lsb_to_msb << 4);
io_write_clr_set(&state->sd, 0x20, 0x80 >> i,
io_write_clr_set(sd, 0x02, 0x04, rgb_output ? 0 : 4);
io_write_clr_set(sd, 0x02, 0x02,
io_write_clr_set(sd, 0x04, 0xe0, adv7842_op_ch_sel(state));
io_write_clr_set(sd, 0x05, 0x01,
io_write_clr_set(sd, 0x96, 0x0f, 0x0f);
io_write_clr_set(sd, 0x96, 0x0f, 0x00);