Home
last modified time | relevance | path

Searched refs:nvif_wr08 (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.h123 nvif_wr08(device, NV_PRMCIO_CRX__COLOR + head * NV_PRMCIO_SIZE, index); in NVWriteVgaCrtc()
124 nvif_wr08(device, NV_PRMCIO_CR__COLOR + head * NV_PRMCIO_SIZE, value); in NVWriteVgaCrtc()
132 nvif_wr08(device, NV_PRMCIO_CRX__COLOR + head * NV_PRMCIO_SIZE, index); in NVReadVgaCrtc()
191 nvif_wr08(device, reg, value); in NVWritePRMVIO()
198 nvif_wr08(device, NV_PRMCIO_ARX + head * NV_PRMCIO_SIZE, enable ? 0 : 0x20); in NVSetEnablePalette()
218 nvif_wr08(device, NV_PRMCIO_ARX + head * NV_PRMCIO_SIZE, index); in NVWriteVgaAttr()
219 nvif_wr08(device, NV_PRMCIO_AR__WRITE + head * NV_PRMCIO_SIZE, value); in NVWriteVgaAttr()
233 nvif_wr08(device, NV_PRMCIO_ARX + head * NV_PRMCIO_SIZE, index); in NVReadVgaAttr()
H A Ddac.c172 nvif_wr08(device, NV_PRMDIO_READ_MODE_ADDRESS, 0x0); in nv04_dac_detect()
176 nvif_wr08(device, NV_PRMDIO_PIXEL_MASK, 0); in nv04_dac_detect()
189 nvif_wr08(device, NV_PRMDIO_WRITE_MODE_ADDRESS, 0); in nv04_dac_detect()
190 nvif_wr08(device, NV_PRMDIO_PALETTE_DATA, 0); in nv04_dac_detect()
191 nvif_wr08(device, NV_PRMDIO_PALETTE_DATA, 0); in nv04_dac_detect()
193 nvif_wr08(device, NV_PRMDIO_PALETTE_DATA, blue); in nv04_dac_detect()
216 nvif_wr08(device, NV_PRMDIO_PIXEL_MASK, saved_palette_mask); in nv04_dac_detect()
218 nvif_wr08(device, NV_PRMDIO_WRITE_MODE_ADDRESS, 0); in nv04_dac_detect()
220 nvif_wr08(device, NV_PRMDIO_PALETTE_DATA, saved_palette0[i]); in nv04_dac_detect()
H A Dhw.c782 nvif_wr08(device, NV_PRMDIO_PIXEL_MASK + head_offset, in nv_save_state_palette()
784 nvif_wr08(device, NV_PRMDIO_READ_MODE_ADDRESS + head_offset, 0x0); in nv_save_state_palette()
801 nvif_wr08(device, NV_PRMDIO_PIXEL_MASK + head_offset, in nouveau_hw_load_state_palette()
803 nvif_wr08(device, NV_PRMDIO_WRITE_MODE_ADDRESS + head_offset, 0x0); in nouveau_hw_load_state_palette()
806 nvif_wr08(device, NV_PRMDIO_PALETTE_DATA + head_offset, in nouveau_hw_load_state_palette()
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dobject.h57 #define nvif_wr08(a,b,c) nvif_wr((a), iowrite8, 1, (b), (u8)(c)) macro