Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c440 vsgt->mode = dev_priv->map_mode; in vmw_ttm_map_dma()
446 switch (dev_priv->map_mode) { in vmw_ttm_map_dma()
523 switch (dev_priv->map_mode) { in vmw_ttm_unmap_dma()
622 if (vmw_be->dev_priv->map_mode == vmw_dma_map_bind) in vmw_ttm_unbind()
636 if (vmw_be->dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_ttm_destroy()
660 if (dev_priv->map_mode == vmw_dma_alloc_coherent) { in vmw_ttm_populate()
692 if (dev_priv->map_mode == vmw_dma_alloc_coherent) { in vmw_ttm_unpopulate()
715 if (vmw_be->dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_ttm_tt_create()
Dvmwgfx_drv.c586 dev_priv->map_mode = vmw_dma_alloc_coherent; in vmw_dma_select_mode()
588 dev_priv->map_mode = vmw_dma_map_bind; in vmw_dma_select_mode()
590 dev_priv->map_mode = vmw_dma_map_populate; in vmw_dma_select_mode()
593 (dev_priv->map_mode == vmw_dma_alloc_coherent)) in vmw_dma_select_mode()
596 DRM_INFO("DMA map mode: %s\n", names[dev_priv->map_mode]); in vmw_dma_select_mode()
614 if (dev_priv->map_mode != vmw_dma_phys && in vmw_dma_masks()
Dvmwgfx_bo.c449 if (dev_priv->map_mode == vmw_dma_alloc_coherent) in vmw_bo_acc_size()
Dvmwgfx_drv.h643 enum vmw_dma_map_mode map_mode; member
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
Dzoran_driver.c330 if (zr->map_mode != ZORAN_MAP_MODE_RAW) in zoran_g_fmt_vid_cap()
499 zr->map_mode = ZORAN_MAP_MODE_JPG_REC; in zoran_s_fmt_vid_out()
501 zr->map_mode = ZORAN_MAP_MODE_JPG_PLAY; in zoran_s_fmt_vid_out()
552 zr->map_mode = ZORAN_MAP_MODE_RAW; in zoran_s_fmt_vid_cap()
713 if (zr->map_mode == ZORAN_MAP_MODE_RAW) { in zoran_s_selection()
937 if (zr->map_mode != ZORAN_MAP_MODE_RAW) { in zr_vb2_start_streaming()
941 if (zr->map_mode == ZORAN_MAP_MODE_JPG_REC) in zr_vb2_start_streaming()
947 zr->running = zr->map_mode; in zr_vb2_start_streaming()
958 zr->running = zr->map_mode; in zr_vb2_start_streaming()
971 if (zr->map_mode != ZORAN_MAP_MODE_RAW) in zr_vb2_stop_streaming()
[all …]
Dzoran.h295 enum zoran_map_mode map_mode; member
Dzoran_card.c1275 zr->map_mode = ZORAN_MAP_MODE_RAW; in zoran_probe()