Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_object.c416 void *src_map; in i915_gem_object_read_from_page_kmap() local
419 src_map = kmap_atomic(i915_gem_object_get_page(obj, offset >> PAGE_SHIFT)); in i915_gem_object_read_from_page_kmap()
421 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_kmap()
426 kunmap_atomic(src_map); in i915_gem_object_read_from_page_kmap()
432 void __iomem *src_map; in i915_gem_object_read_from_page_iomap() local
436 src_map = io_mapping_map_wc(&obj->mm.region->iomap, in i915_gem_object_read_from_page_iomap()
440 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_iomap()
444 io_mapping_unmap(src_map); in i915_gem_object_read_from_page_iomap()
/linux-6.1.9/drivers/gpu/drm/tiny/
Dgm12u320.c100 struct iosys_map src_map; member
270 vaddr = gm12u320->fb_update.src_map.vaddr; /* TODO: Use mapping abstraction properly */ in gm12u320_copy_fb_to_blocks()
415 gm12u320->fb_update.src_map = *map; in gm12u320_fb_mark_dirty()
444 iosys_map_clear(&gm12u320->fb_update.src_map); in gm12u320_stop_fb_update()
/linux-6.1.9/drivers/gpu/drm/ttm/
Dttm_bo_util.c96 struct iosys_map src_map, dst_map; in ttm_move_memcpy() local
119 src_ops->map_local(src_iter, &src_map, i); in ttm_move_memcpy()
121 drm_memcpy_from_wc(&dst_map, &src_map, PAGE_SIZE); in ttm_move_memcpy()
124 src_ops->unmap_local(src_iter, &src_map); in ttm_move_memcpy()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Db44.c657 struct ring_info *src_map, *map; in b44_alloc_rx_skb() local
664 src_map = NULL; in b44_alloc_rx_skb()
666 src_map = &bp->rx_buffers[src_idx]; in b44_alloc_rx_skb()
710 if (src_map != NULL) in b44_alloc_rx_skb()
711 src_map->skb = NULL; in b44_alloc_rx_skb()
732 struct ring_info *src_map, *dest_map; in b44_recycle_rx() local
741 src_map = &bp->rx_buffers[src_idx]; in b44_recycle_rx()
743 dest_map->skb = src_map->skb; in b44_recycle_rx()
744 rh = (struct rx_header *) src_map->skb->data; in b44_recycle_rx()
747 dest_map->mapping = src_map->mapping; in b44_recycle_rx()
[all …]
Dtg3.c6738 struct ring_info *src_map, *dest_map; in tg3_recycle_rx() local
6748 src_map = &spr->rx_std_buffers[src_idx]; in tg3_recycle_rx()
6756 src_map = &spr->rx_jmb_buffers[src_idx]; in tg3_recycle_rx()
6763 dest_map->data = src_map->data; in tg3_recycle_rx()
6765 dma_unmap_addr(src_map, mapping)); in tg3_recycle_rx()
6774 src_map->data = NULL; in tg3_recycle_rx()
/linux-6.1.9/drivers/gpu/drm/ast/
Dast_mode.c821 struct iosys_map src_map = shadow_plane_state->data[0]; in ast_cursor_plane_helper_atomic_update() local
829 src = src_map.vaddr; /* TODO: Use mapping abstraction properly */ in ast_cursor_plane_helper_atomic_update()