Home
last modified time | relevance | path

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

/drivers/media/pci/zoran/
Dzoran_driver.c195 fh->map_mode = ZORAN_MAP_MODE_RAW; in map_mode_raw()
201 fh->map_mode = play ? ZORAN_MAP_MODE_JPG_PLAY : ZORAN_MAP_MODE_JPG_REC; in map_mode_jpg()
880 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.h224 enum zoran_map_mode map_mode; /* Flag which bufferset will map by next mmap() */ member
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c406 vsgt->mode = dev_priv->map_mode; in vmw_ttm_map_dma()
412 switch (dev_priv->map_mode) { in vmw_ttm_map_dma()
488 switch (dev_priv->map_mode) { in vmw_ttm_unmap_dma()
610 if (vmw_be->dev_priv->map_mode == vmw_dma_map_bind) in vmw_ttm_unbind()
623 if (vmw_be->dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_ttm_destroy()
646 if (dev_priv->map_mode == vmw_dma_alloc_coherent) { in vmw_ttm_populate()
676 if (dev_priv->map_mode == vmw_dma_alloc_coherent) { in vmw_ttm_unpopulate()
707 if (vmw_be->dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_ttm_tt_create()
Dvmwgfx_drv.c538 dev_priv->map_mode = vmw_dma_map_populate; in vmw_dma_select_mode()
544 dev_priv->map_mode = vmw_dma_phys; in vmw_dma_select_mode()
545 DRM_INFO("DMA map mode: %s\n", names[dev_priv->map_mode]); in vmw_dma_select_mode()
549 dev_priv->map_mode = vmw_dma_map_populate; in vmw_dma_select_mode()
552 dev_priv->map_mode = vmw_dma_alloc_coherent; in vmw_dma_select_mode()
555 dev_priv->map_mode = vmw_dma_map_populate; in vmw_dma_select_mode()
561 if (dev_priv->map_mode == vmw_dma_map_populate && in vmw_dma_select_mode()
563 dev_priv->map_mode = vmw_dma_map_bind; in vmw_dma_select_mode()
566 dev_priv->map_mode = vmw_dma_alloc_coherent; in vmw_dma_select_mode()
572 if (dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_dma_select_mode()
[all …]
Dvmwgfx_drv.h520 enum vmw_dma_map_mode map_mode; member
Dvmwgfx_resource.c388 if (dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_dmabuf_acc_size()