Home
last modified time | relevance | path

Searched refs:nvif_wr32 (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c154 nvif_wr32(dev, NV_PVIDEO_BASE(flip), 0); in nv10_update_plane()
155 nvif_wr32(dev, NV_PVIDEO_OFFSET_BUFF(flip), nvbo->offset); in nv10_update_plane()
156 nvif_wr32(dev, NV_PVIDEO_SIZE_IN(flip), src_h << 16 | src_w); in nv10_update_plane()
157 nvif_wr32(dev, NV_PVIDEO_POINT_IN(flip), src_y << 16 | src_x); in nv10_update_plane()
158 nvif_wr32(dev, NV_PVIDEO_DS_DX(flip), (src_w << 20) / crtc_w); in nv10_update_plane()
159 nvif_wr32(dev, NV_PVIDEO_DT_DY(flip), (src_h << 20) / crtc_h); in nv10_update_plane()
160 nvif_wr32(dev, NV_PVIDEO_POINT_OUT(flip), crtc_y << 16 | crtc_x); in nv10_update_plane()
161 nvif_wr32(dev, NV_PVIDEO_SIZE_OUT(flip), crtc_h << 16 | crtc_w); in nv10_update_plane()
175 nvif_wr32(dev, NV_PVIDEO_UVPLANE_BASE(flip), 0); in nv10_update_plane()
176 nvif_wr32(dev, NV_PVIDEO_UVPLANE_OFFSET_BUFF(flip), in nv10_update_plane()
[all …]
H A Dhw.c682 nvif_wr32(device, NV_PVIDEO_STOP, 1); in nv_load_state_ext()
683 nvif_wr32(device, NV_PVIDEO_INTR_EN, 0); in nv_load_state_ext()
684 nvif_wr32(device, NV_PVIDEO_OFFSET_BUFF(0), 0); in nv_load_state_ext()
685 nvif_wr32(device, NV_PVIDEO_OFFSET_BUFF(1), 0); in nv_load_state_ext()
686 nvif_wr32(device, NV_PVIDEO_LIMIT(0), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
687 nvif_wr32(device, NV_PVIDEO_LIMIT(1), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
688 nvif_wr32(device, NV_PVIDEO_UVPLANE_LIMIT(0), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
689 nvif_wr32(device, NV_PVIDEO_UVPLANE_LIMIT(1), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
690 nvif_wr32(device, NV_PBUS_POWERCTRL_2, 0); in nv_load_state_ext()
H A Ddac.c266 nvif_wr32(device, NV_PBUS_POWERCTRL_2, saved_powerctrl_2 & 0xd7ffffff); in nv17_dac_sample_load()
269 nvif_wr32(device, NV_PBUS_POWERCTRL_4, saved_powerctrl_4 & 0xffffffcf); in nv17_dac_sample_load()
324 nvif_wr32(device, NV_PBUS_POWERCTRL_4, saved_powerctrl_4); in nv17_dac_sample_load()
325 nvif_wr32(device, NV_PBUS_POWERCTRL_2, saved_powerctrl_2); in nv17_dac_sample_load()
H A Dtvnv17.h134 nvif_wr32(&device->object, reg, val); in nv_write_ptv()
H A Dhw.h76 nvif_wr32(device, reg, val); in NVWriteCRTC()
96 nvif_wr32(device, reg, val); in NVWriteRAMDAC()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_vga.c19 nvif_wr32(device, 0x088060, state); in nouveau_vga_set_decode()
22 nvif_wr32(device, 0x088054, state); in nouveau_vga_set_decode()
24 nvif_wr32(device, 0x001854, state); in nouveau_vga_set_decode()
H A Dnouveau_led.c72 nvif_wr32(device, 0x61c880, div); in nouveau_led_set_brightness()
73 nvif_wr32(device, 0x61c884, 0xc0000000 | duty); in nouveau_led_set_brightness()
H A Dnouveau_dma.h87 nvif_wr32(&chan->user, chan->user_put, ((val) << 2) + chan->push.addr);\
H A Dnouveau_dma.c92 nvif_wr32(chan->userd, 0x8c, chan->dma.ib_put); in nv50_dma_push()
H A Dnouveau_backlight.c84 nvif_wr32(device, NV40_PMC_BACKLIGHT, in nv40_set_intensity()
H A Dnouveau_bios.c252 nvif_wr32(device, NV_PBUS_POWERCTRL_2, 0); in call_lvds_script()
1947 nvif_wr32(device, 0x00001304, ROM32(bios->data[hwsq_entry_offset])); in load_nv17_hwsq_ucode_entry()
1952 nvif_wr32(device, 0x00001400 + i, ROM32(bios->data[hwsq_entry_offset + i + 4])); in load_nv17_hwsq_ucode_entry()
1955 nvif_wr32(device, NV_PBUS_DEBUG_4, nvif_rd32(device, NV_PBUS_DEBUG_4) | 0x18); in load_nv17_hwsq_ucode_entry()
H A Dnouveau_svm.c746 nvif_wr32(device, buffer->getaddr, buffer->get); in nouveau_svm_fault()
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dobject.h59 #define nvif_wr32(a,b,c) nvif_wr((a), iowrite32_native, 4, (b), (u32)(c)) macro
63 nvif_wr32(__object, _addr, (_data & ~(c)) | (d)); \
115 #define NVIF_WR32_(p,o,dr,f) nvif_wr32((p), (o) + (dr), (f))
/linux/drivers/gpu/drm/nouveau/nvif/
H A Duserc361.c40 nvif_wr32(&user->object, 0x90, token); in nvif_userc361_doorbell()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c145 nvif_wr32(&device->object, 0x070000, 0x00000001); in nv50_dmac_kick()