Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/pci/zoran/
Dzoran_driver.c194 fh->map_mode = ZORAN_MAP_MODE_RAW; in map_mode_raw()
200 fh->map_mode = play ? ZORAN_MAP_MODE_JPG_PLAY : ZORAN_MAP_MODE_JPG_REC; in map_mode_jpg()
872 if (fh->map_mode == ZORAN_MAP_MODE_RAW) { in zoran_close_end_session()
1339 switch (fh->map_mode) { in zoran_v4l2_buffer_status()
1395 buf->type = (fh->map_mode == ZORAN_MAP_MODE_JPG_REC) ? in zoran_v4l2_buffer_status()
1426 ZR_DEVNAME(zr), __func__, buf->type, fh->map_mode); in zoran_v4l2_buffer_status()
1614 if (fh->map_mode != ZORAN_MAP_MODE_RAW) in zoran_g_fmt_vid_cap()
1903 if ((fh->map_mode != ZORAN_MAP_MODE_RAW && fh->buffers.allocated) || in zoran_s_fmt_vid_cap()
2026 if (fh->map_mode == ZORAN_MAP_MODE_RAW && in zoran_reqbufs()
2042 } else if (fh->map_mode == ZORAN_MAP_MODE_JPG_REC || in zoran_reqbufs()
[all …]
Dzoran.h221 enum zoran_map_mode map_mode; /* Flag which bufferset will map by next mmap() */ member
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c393 vsgt->mode = dev_priv->map_mode; in vmw_ttm_map_dma()
399 switch (dev_priv->map_mode) { in vmw_ttm_map_dma()
475 switch (dev_priv->map_mode) { in vmw_ttm_unmap_dma()
597 if (vmw_be->dev_priv->map_mode == vmw_dma_map_bind) in vmw_ttm_unbind()
610 if (vmw_be->dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_ttm_destroy()
633 if (dev_priv->map_mode == vmw_dma_alloc_coherent) { in vmw_ttm_populate()
663 if (dev_priv->map_mode == vmw_dma_alloc_coherent) { in vmw_ttm_unpopulate()
694 if (vmw_be->dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_ttm_tt_create()
Dvmwgfx_drv.c506 dev_priv->map_mode = vmw_dma_map_populate; in vmw_dma_select_mode()
512 dev_priv->map_mode = vmw_dma_phys; in vmw_dma_select_mode()
513 DRM_INFO("DMA map mode: %s\n", names[dev_priv->map_mode]); in vmw_dma_select_mode()
517 dev_priv->map_mode = vmw_dma_map_populate; in vmw_dma_select_mode()
520 dev_priv->map_mode = vmw_dma_alloc_coherent; in vmw_dma_select_mode()
523 dev_priv->map_mode = vmw_dma_map_populate; in vmw_dma_select_mode()
529 if (dev_priv->map_mode == vmw_dma_map_populate && in vmw_dma_select_mode()
531 dev_priv->map_mode = vmw_dma_map_bind; in vmw_dma_select_mode()
534 dev_priv->map_mode = vmw_dma_alloc_coherent; in vmw_dma_select_mode()
540 if (dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_dma_select_mode()
[all …]
Dvmwgfx_drv.h529 enum vmw_dma_map_mode map_mode; member
Dvmwgfx_resource.c390 if (dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_dmabuf_acc_size()