Home
last modified time | relevance | path

Searched refs:dac_index (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/display/
H A Dcg3.c85 uint8_t dac_index, dac_state; member
209 s->dac_index = val; in cg3_reg_write()
223 s->r[s->dac_index] = regval; in cg3_reg_write()
227 s->g[s->dac_index] = regval; in cg3_reg_write()
231 s->b[s->dac_index] = regval; in cg3_reg_write()
233 s->dac_index = (s->dac_index + 1) & 0xff; in cg3_reg_write()
344 VMSTATE_UINT8(dac_index, CG3State),
H A Dtcx.c91 uint8_t dac_index, dac_state; member
354 VMSTATE_UINT8(dac_index, TCXState),
375 s->dac_index = 0; in tcx_reset()
389 val = s->r[s->dac_index] << 24; in tcx_dac_readl()
393 val = s->g[s->dac_index] << 24; in tcx_dac_readl()
397 val = s->b[s->dac_index] << 24; in tcx_dac_readl()
398 s->dac_index = (s->dac_index + 1) & 0xff; /* Index autoincrement */ in tcx_dac_readl()
416 s->dac_index = val >> 24; in tcx_dac_writel()
422 index = (s->dac_index & 3) + 256; in tcx_dac_writel()
424 index = s->dac_index; in tcx_dac_writel()
[all …]