Home
last modified time | relevance | path

Searched refs:vmw_write (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ldu.c111 vmw_write(dev_priv, SVGA_REG_NUM_GUEST_DISPLAYS, in vmw_ldu_commit_list()
118 vmw_write(dev_priv, SVGA_REG_DISPLAY_ID, i); in vmw_ldu_commit_list()
119 vmw_write(dev_priv, SVGA_REG_DISPLAY_IS_PRIMARY, !i); in vmw_ldu_commit_list()
120 vmw_write(dev_priv, SVGA_REG_DISPLAY_POSITION_X, crtc->x); in vmw_ldu_commit_list()
121 vmw_write(dev_priv, SVGA_REG_DISPLAY_POSITION_Y, crtc->y); in vmw_ldu_commit_list()
122 vmw_write(dev_priv, SVGA_REG_DISPLAY_WIDTH, crtc->mode.hdisplay); in vmw_ldu_commit_list()
123 vmw_write(dev_priv, SVGA_REG_DISPLAY_HEIGHT, crtc->mode.vdisplay); in vmw_ldu_commit_list()
124 vmw_write(dev_priv, SVGA_REG_DISPLAY_ID, SVGA_ID_INVALID); in vmw_ldu_commit_list()
Dvmwgfx_fifo.c110 vmw_write(dev_priv, SVGA_REG_ENABLE, 1); in vmw_fifo_init()
128 vmw_write(dev_priv, SVGA_REG_CONFIG_DONE, 1); in vmw_fifo_init()
154 vmw_write(dev_priv, SVGA_REG_SYNC, reason); in vmw_fifo_ping_host()
167 vmw_write(dev_priv, SVGA_REG_SYNC, SVGA_SYNC_GENERIC); in vmw_fifo_release()
171 vmw_write(dev_priv, SVGA_REG_CONFIG_DONE, in vmw_fifo_release()
173 vmw_write(dev_priv, SVGA_REG_ENABLE, in vmw_fifo_release()
175 vmw_write(dev_priv, SVGA_REG_TRACES, in vmw_fifo_release()
257 vmw_write(dev_priv, SVGA_REG_IRQMASK, dev_priv->irq_mask); in vmw_fifo_wait()
280 vmw_write(dev_priv, SVGA_REG_IRQMASK, dev_priv->irq_mask); in vmw_fifo_wait()
Dvmwgfx_irq.c195 vmw_write(dev_priv, SVGA_REG_IRQMASK, dev_priv->irq_mask); in vmw_seqno_waiter_add()
209 vmw_write(dev_priv, SVGA_REG_IRQMASK, dev_priv->irq_mask); in vmw_seqno_waiter_remove()
226 vmw_write(dev_priv, SVGA_REG_IRQMASK, dev_priv->irq_mask); in vmw_goal_waiter_add()
240 vmw_write(dev_priv, SVGA_REG_IRQMASK, dev_priv->irq_mask); in vmw_goal_waiter_remove()
319 vmw_write(dev_priv, SVGA_REG_IRQMASK, 0); in vmw_irq_uninstall()
Dvmwgfx_gmr.c205 vmw_write(dev_priv, SVGA_REG_GMR_ID, gmr_id); in vmw_gmr_fire_descriptors()
207 vmw_write(dev_priv, SVGA_REG_GMR_DESCRIPTOR, page_to_pfn(page)); in vmw_gmr_fire_descriptors()
275 vmw_write(dev_priv, SVGA_REG_GMR_ID, gmr_id); in vmw_gmr_unbind()
277 vmw_write(dev_priv, SVGA_REG_GMR_DESCRIPTOR, 0); in vmw_gmr_unbind()
Dvmwgfx_fb.c173 vmw_write(vmw_priv, SVGA_REG_NUM_GUEST_DISPLAYS, 1); in vmw_fb_set_par()
174 vmw_write(vmw_priv, SVGA_REG_DISPLAY_ID, 0); in vmw_fb_set_par()
175 vmw_write(vmw_priv, SVGA_REG_DISPLAY_IS_PRIMARY, true); in vmw_fb_set_par()
176 vmw_write(vmw_priv, SVGA_REG_DISPLAY_POSITION_X, info->var.xoffset); in vmw_fb_set_par()
177 vmw_write(vmw_priv, SVGA_REG_DISPLAY_POSITION_Y, info->var.yoffset); in vmw_fb_set_par()
178 vmw_write(vmw_priv, SVGA_REG_DISPLAY_WIDTH, info->var.xres); in vmw_fb_set_par()
179 vmw_write(vmw_priv, SVGA_REG_DISPLAY_HEIGHT, info->var.yres); in vmw_fb_set_par()
180 vmw_write(vmw_priv, SVGA_REG_DISPLAY_ID, SVGA_ID_INVALID); in vmw_fb_set_par()
Dvmwgfx_kms.c1531 vmw_write(vmw_priv, SVGA_REG_PITCHLOCK, pitch); in vmw_kms_write_svga()
1534 vmw_write(vmw_priv, SVGA_REG_WIDTH, width); in vmw_kms_write_svga()
1535 vmw_write(vmw_priv, SVGA_REG_HEIGHT, height); in vmw_kms_write_svga()
1536 vmw_write(vmw_priv, SVGA_REG_BITS_PER_PIXEL, bpp); in vmw_kms_write_svga()
1573 vmw_write(vmw_priv, SVGA_REG_DISPLAY_ID, i); in vmw_kms_save_vga()
1579 vmw_write(vmw_priv, SVGA_REG_DISPLAY_ID, SVGA_ID_INVALID); in vmw_kms_save_vga()
1601 vmw_write(vmw_priv, SVGA_REG_WIDTH, vmw_priv->vga_width); in vmw_kms_restore_vga()
1602 vmw_write(vmw_priv, SVGA_REG_HEIGHT, vmw_priv->vga_height); in vmw_kms_restore_vga()
1603 vmw_write(vmw_priv, SVGA_REG_BITS_PER_PIXEL, vmw_priv->vga_bpp); in vmw_kms_restore_vga()
1605 vmw_write(vmw_priv, SVGA_REG_PITCHLOCK, in vmw_kms_restore_vga()
[all …]
Dvmwgfx_drv.c355 vmw_write(dev_priv, SVGA_REG_ENABLE, in vmw_3d_resource_inc()
383 vmw_write(dev_priv, SVGA_REG_ENABLE, in vmw_3d_resource_dec()
474 vmw_write(dev_priv, SVGA_REG_ID, SVGA_ID_2); in vmw_driver_load()
887 vmw_write(dev_priv, SVGA_REG_TRACES, 0); in vmw_master_set()
923 vmw_write(dev_priv, SVGA_REG_TRACES, 1); in vmw_master_set()
961 vmw_write(dev_priv, SVGA_REG_TRACES, 1); in vmw_master_drop()
1096 vmw_write(dev_priv, SVGA_REG_ID, SVGA_ID_2); in vmw_pm_complete()
Dvmwgfx_drv.h384 static inline void vmw_write(struct vmw_private *dev_priv, in vmw_write() function