Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
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 …]
Dhw.c681 nvif_wr32(device, NV_PVIDEO_STOP, 1); in nv_load_state_ext()
682 nvif_wr32(device, NV_PVIDEO_INTR_EN, 0); in nv_load_state_ext()
683 nvif_wr32(device, NV_PVIDEO_OFFSET_BUFF(0), 0); in nv_load_state_ext()
684 nvif_wr32(device, NV_PVIDEO_OFFSET_BUFF(1), 0); in nv_load_state_ext()
685 nvif_wr32(device, NV_PVIDEO_LIMIT(0), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
686 nvif_wr32(device, NV_PVIDEO_LIMIT(1), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
687 nvif_wr32(device, NV_PVIDEO_UVPLANE_LIMIT(0), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
688 nvif_wr32(device, NV_PVIDEO_UVPLANE_LIMIT(1), drm->client.device.info.ram_size - 1); in nv_load_state_ext()
689 nvif_wr32(device, NV_PBUS_POWERCTRL_2, 0); in nv_load_state_ext()
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()
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()
/kernel/linux/linux-5.10/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.c87 nvif_wr32(device, NV40_PMC_BACKLIGHT, in nv40_set_intensity()
141 nvif_wr32(device, NV50_PDISP_SOR_PWM_CTL(or), in nv50_set_intensity()
182 nvif_wr32(device, NV50_PDISP_SOR_PWM_CTL(or), in nva3_set_intensity()
Dnouveau_dma.h80 nvif_wr32(&chan->user, chan->user_put, ((val) << 2) + chan->push.addr);\
Dnouveau_dma.c89 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.c652 nvif_wr32(device, buffer->getaddr, buffer->get); in nouveau_svm_fault()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
Dobject.h64 #define nvif_wr32(a,b,c) nvif_wr((a), iowrite32_native, 4, (b), (u32)(c)) macro
68 nvif_wr32(__object, _addr, (_data & ~(c)) | (d)); \
120 #define NVIF_WR32_(p,o,dr,f) nvif_wr32((p), (o) + (dr), (f))
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/
Duserc361.c40 nvif_wr32(&user->object, 0x90, token); in nvif_userc361_doorbell()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c140 nvif_wr32(&device->object, 0x070000, 0x00000001); in nv50_dmac_kick()