Searched refs:head_offset (Results 1 – 1 of 1) sorted by relevance
/drivers/gpu/drm/nouveau/dispnv04/ |
D | hw.c | 771 int head_offset = head * NV_PRMDIO_SIZE, i; in nv_save_state_palette() local 773 nv_wr08(device, NV_PRMDIO_PIXEL_MASK + head_offset, in nv_save_state_palette() 775 nv_wr08(device, NV_PRMDIO_READ_MODE_ADDRESS + head_offset, 0x0); in nv_save_state_palette() 779 NV_PRMDIO_PALETTE_DATA + head_offset); in nv_save_state_palette() 790 int head_offset = head * NV_PRMDIO_SIZE, i; in nouveau_hw_load_state_palette() local 792 nv_wr08(device, NV_PRMDIO_PIXEL_MASK + head_offset, in nouveau_hw_load_state_palette() 794 nv_wr08(device, NV_PRMDIO_WRITE_MODE_ADDRESS + head_offset, 0x0); in nouveau_hw_load_state_palette() 797 nv_wr08(device, NV_PRMDIO_PALETTE_DATA + head_offset, in nouveau_hw_load_state_palette()
|