Home
last modified time | relevance | path

Searched refs:sarea (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/via/
Dvia_map.c34 dev_priv->sarea = drm_legacy_getsarea(dev); in via_do_init_map()
35 if (!dev_priv->sarea) { in via_do_init_map()
58 (drm_via_sarea_t *) ((u8 *) dev_priv->sarea->handle + in via_do_init_map()
Dvia_drv.h64 drm_local_map_t *sarea; member
/drivers/gpu/drm/mga/
Dmga_dma.c813 dev_priv->sarea = drm_legacy_getsarea(dev); in mga_do_init_dma()
814 if (!dev_priv->sarea) { in mga_do_init_dma()
858 (drm_mga_sarea_t *) ((u8 *) dev_priv->sarea->handle + in mga_do_init_dma()
973 dev_priv->sarea = NULL; in mga_do_cleanup_dma()
Dmga_drv.h143 drm_local_map_t *sarea; member
/drivers/gpu/drm/r128/
Dr128_cce.c455 dev_priv->sarea = drm_legacy_getsarea(dev); in r128_do_init_cce()
456 if (!dev_priv->sarea) { in r128_do_init_cce()
505 (drm_r128_sarea_t *) ((u8 *) dev_priv->sarea->handle + in r128_do_init_cce()
Dr128_drv.h121 drm_local_map_t *sarea; member
/drivers/gpu/drm/radeon/
Dradeon_cp.c1301 master_priv->sarea = drm_legacy_getsarea(dev); in radeon_do_init_cp()
1302 if (!master_priv->sarea) { in radeon_do_init_cp()
2139 &master_priv->sarea); in radeon_master_create()
2145 master_priv->sarea_priv = master_priv->sarea->handle + sizeof(struct drm_sarea); in radeon_master_create()
2164 if (master_priv->sarea) in radeon_master_destroy()
2165 drm_legacy_rmmap_locked(dev, master_priv->sarea); in radeon_master_destroy()
Dradeon_state.c1455 struct drm_sarea *sarea = (struct drm_sarea *)master_priv->sarea->handle; in radeon_cp_dispatch_flip() local
1475 ((sarea->frame.y * dev_priv->front_pitch + in radeon_cp_dispatch_flip()
1476 sarea->frame.x * (dev_priv->color_fmt - 2)) & ~7) in radeon_cp_dispatch_flip()
Dradeon_drv.h195 drm_local_map_t *sarea; member
257 drm_local_map_t *sarea; member
Dr600_cp.c2055 master_priv->sarea = drm_legacy_getsarea(dev); in r600_do_init_cp()
2056 if (!master_priv->sarea) { in r600_do_init_cp()
/drivers/gpu/drm/savage/
Dsavage_bci.c702 dev_priv->sarea = drm_legacy_getsarea(dev); in savage_do_init_bci()
703 if (!dev_priv->sarea) { in savage_do_init_bci()
807 (drm_savage_sarea_t *) ((uint8_t *) dev_priv->sarea->handle + in savage_do_init_bci()
Dsavage_drv.h156 drm_local_map_t *sarea; member
/drivers/gpu/drm/i915/
Di915_dma.c201 master_priv->sarea = drm_legacy_getsarea(dev); in i915_initialize()
202 if (master_priv->sarea) { in i915_initialize()
204 ((u8 *)master_priv->sarea->handle + init->sarea_priv_offset); in i915_initialize()
Di915_drv.h296 struct drm_local_map *sarea; member