Home
last modified time | relevance | path

Searched refs:map_mode (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/staging/media/zoran/
Dzoran_driver.c191 fh->map_mode = ZORAN_MAP_MODE_RAW; in map_mode_raw()
197 fh->map_mode = play ? ZORAN_MAP_MODE_JPG_PLAY : ZORAN_MAP_MODE_JPG_REC; in map_mode_jpg()
878 if (fh->map_mode == ZORAN_MAP_MODE_RAW) { in zoran_close_end_session()
1326 switch (fh->map_mode) { in zoran_v4l2_buffer_status()
1382 buf->type = (fh->map_mode == ZORAN_MAP_MODE_JPG_REC) ? in zoran_v4l2_buffer_status()
1413 ZR_DEVNAME(zr), __func__, buf->type, fh->map_mode); in zoran_v4l2_buffer_status()
1596 if (fh->map_mode != ZORAN_MAP_MODE_RAW) in zoran_g_fmt_vid_cap()
1858 if ((fh->map_mode != ZORAN_MAP_MODE_RAW && fh->buffers.allocated) || in zoran_s_fmt_vid_cap()
1970 if (fh->map_mode == ZORAN_MAP_MODE_RAW && in zoran_reqbufs()
1986 } else if (fh->map_mode == ZORAN_MAP_MODE_JPG_REC || in zoran_reqbufs()
[all …]
Dzoran.h220 enum zoran_map_mode map_mode; /* Flag which bufferset will map by next mmap() */ member
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c433 vsgt->mode = dev_priv->map_mode; in vmw_ttm_map_dma()
439 switch (dev_priv->map_mode) { in vmw_ttm_map_dma()
514 switch (dev_priv->map_mode) { in vmw_ttm_unmap_dma()
636 if (vmw_be->dev_priv->map_mode == vmw_dma_map_bind) in vmw_ttm_unbind()
649 if (vmw_be->dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_ttm_destroy()
672 if (dev_priv->map_mode == vmw_dma_alloc_coherent) { in vmw_ttm_populate()
703 if (dev_priv->map_mode == vmw_dma_alloc_coherent) { in vmw_ttm_unpopulate()
733 if (vmw_be->dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_ttm_tt_create()
Dvmwgfx_drv.c571 dev_priv->map_mode = vmw_dma_map_populate; in vmw_dma_select_mode()
577 dev_priv->map_mode = vmw_dma_phys; in vmw_dma_select_mode()
578 DRM_INFO("DMA map mode: %s\n", names[dev_priv->map_mode]); in vmw_dma_select_mode()
582 dev_priv->map_mode = vmw_dma_map_populate; in vmw_dma_select_mode()
585 dev_priv->map_mode = vmw_dma_alloc_coherent; in vmw_dma_select_mode()
588 dev_priv->map_mode = vmw_dma_map_populate; in vmw_dma_select_mode()
594 if (dev_priv->map_mode == vmw_dma_map_populate && in vmw_dma_select_mode()
596 dev_priv->map_mode = vmw_dma_map_bind; in vmw_dma_select_mode()
599 dev_priv->map_mode = vmw_dma_alloc_coherent; in vmw_dma_select_mode()
605 if (dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_dma_select_mode()
[all …]
Dvmwgfx_bo.c447 if (dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_bo_acc_size()
Dvmwgfx_drv.h548 enum vmw_dma_map_mode map_mode; member