Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c152 nvif_wr32(dev, NV_PVIDEO_BASE(flip), 0); in nv10_update_plane()
153 nvif_wr32(dev, NV_PVIDEO_OFFSET_BUFF(flip), nv_fb->nvbo->bo.offset); in nv10_update_plane()
154 nvif_wr32(dev, NV_PVIDEO_SIZE_IN(flip), src_h << 16 | src_w); in nv10_update_plane()
155 nvif_wr32(dev, NV_PVIDEO_POINT_IN(flip), src_y << 16 | src_x); in nv10_update_plane()
156 nvif_wr32(dev, NV_PVIDEO_DS_DX(flip), (src_w << 20) / crtc_w); in nv10_update_plane()
157 nvif_wr32(dev, NV_PVIDEO_DT_DY(flip), (src_h << 20) / crtc_h); in nv10_update_plane()
158 nvif_wr32(dev, NV_PVIDEO_POINT_OUT(flip), crtc_y << 16 | crtc_x); in nv10_update_plane()
159 nvif_wr32(dev, NV_PVIDEO_SIZE_OUT(flip), crtc_h << 16 | crtc_w); in nv10_update_plane()
173 nvif_wr32(dev, NV_PVIDEO_UVPLANE_BASE(flip), 0); in nv10_update_plane()
174 nvif_wr32(dev, NV_PVIDEO_UVPLANE_OFFSET_BUFF(flip), in nv10_update_plane()
[all …]
Dhw.c680 nvif_wr32(device, NV_PVIDEO_STOP, 1); in nv_load_state_ext()
681 nvif_wr32(device, NV_PVIDEO_INTR_EN, 0); in nv_load_state_ext()
682 nvif_wr32(device, NV_PVIDEO_OFFSET_BUFF(0), 0); in nv_load_state_ext()
683 nvif_wr32(device, NV_PVIDEO_OFFSET_BUFF(1), 0); in nv_load_state_ext()
684 nvif_wr32(device, NV_PVIDEO_LIMIT(0), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
685 nvif_wr32(device, NV_PVIDEO_LIMIT(1), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
686 nvif_wr32(device, NV_PVIDEO_UVPLANE_LIMIT(0), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
687 nvif_wr32(device, NV_PVIDEO_UVPLANE_LIMIT(1), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
688 nvif_wr32(device, NV_PBUS_POWERCTRL_2, 0); in nv_load_state_ext()
Ddac.c265 nvif_wr32(device, NV_PBUS_POWERCTRL_2, saved_powerctrl_2 & 0xd7ffffff); in nv17_dac_sample_load()
268 nvif_wr32(device, NV_PBUS_POWERCTRL_4, saved_powerctrl_4 & 0xffffffcf); in nv17_dac_sample_load()
323 nvif_wr32(device, NV_PBUS_POWERCTRL_4, saved_powerctrl_4); in nv17_dac_sample_load()
324 nvif_wr32(device, NV_PBUS_POWERCTRL_2, saved_powerctrl_2); in nv17_dac_sample_load()
Dtvnv17.h134 nvif_wr32(&device->object, reg, val); in nv_write_ptv()
Dhw.h76 nvif_wr32(device, reg, val); in NVWriteCRTC()
96 nvif_wr32(device, reg, val); in NVWriteRAMDAC()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_vga.c21 nvif_wr32(device, 0x088060, state); in nouveau_vga_set_decode()
24 nvif_wr32(device, 0x088054, state); in nouveau_vga_set_decode()
26 nvif_wr32(device, 0x001854, state); in nouveau_vga_set_decode()
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()
Dnouveau_backlight.c86 nvif_wr32(device, NV40_PMC_BACKLIGHT, in nv40_set_intensity()
140 nvif_wr32(device, NV50_PDISP_SOR_PWM_CTL(or), in nv50_set_intensity()
181 nvif_wr32(device, NV50_PDISP_SOR_PWM_CTL(or), in nva3_set_intensity()
Dnouveau_dma.h141 nvif_wr32(&chan->user, chan->user_put, ((val) << 2) + chan->push.addr);\
Dnouveau_dma.c102 nvif_wr32(&chan->user, 0x8c, chan->dma.ib_put); in nv50_dma_push()
Dnouveau_bios.c251 nvif_wr32(device, NV_PBUS_POWERCTRL_2, 0); in call_lvds_script()
1944 nvif_wr32(device, 0x00001304, ROM32(bios->data[hwsq_entry_offset])); in load_nv17_hwsq_ucode_entry()
1949 nvif_wr32(device, 0x00001400 + i, ROM32(bios->data[hwsq_entry_offset + i + 4])); in load_nv17_hwsq_ucode_entry()
1952 nvif_wr32(device, NV_PBUS_DEBUG_4, nvif_rd32(device, NV_PBUS_DEBUG_4) | 0x18); in load_nv17_hwsq_ucode_entry()
Dnouveau_svm.c558 nvif_wr32(device, buffer->getaddr, buffer->get); in nouveau_svm_fault()
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv50/
Dcursc37a.c28 nvif_wr32(&wndw->wimm.base.user, 0x0200, 0x00000001); in cursc37a_update()
34 nvif_wr32(&wndw->wimm.base.user, 0x0208, asyw->point.y << 16 | in cursc37a_point()
Dcurs507a.c34 nvif_wr32(&wndw->wimm.base.user, 0x0080, 0x00000000); in curs507a_update()
40 nvif_wr32(&wndw->wimm.base.user, 0x0084, asyw->point.y << 16 | in curs507a_point()
Ddisp.c209 nvif_wr32(&device->object, 0x070000, 0x00000001); in evo_flush()
229 nvif_wr32(&dmac->base.user, 0x0000, 0x00000000); in evo_wait()
252 nvif_wr32(&dmac->base.user, 0x0000, (push - dmac->ptr) << 2); in evo_kick()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvif/
Duserc361.c27 nvif_wr32(&user->object, 0x90, token); in nvif_userc361_doorbell()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvif/
Dobject.h63 #define nvif_wr32(a,b,c) nvif_wr((a), iowrite32_native, 4, (b), (u32)(c)) macro
67 nvif_wr32(__object, _addr, (_data & ~(c)) | (d)); \