Home
last modified time | relevance | path

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

/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c358 struct pci_epc_map src_map, dst_map; in pci_epf_test_copy() local
386 src_addr, copy_size, &src_map); in pci_epf_test_copy()
399 &src_map); in pci_epf_test_copy()
403 map_size = min_t(size_t, dst_map.pci_size, src_map.pci_size); in pci_epf_test_copy()
408 dst_map.phys_addr, src_map.phys_addr, in pci_epf_test_copy()
415 memcpy_fromio(buf, src_map.virt_addr, map_size); in pci_epf_test_copy()
426 pci_epc_mem_unmap(epc, epf->func_no, epf->vfunc_no, &src_map); in pci_epf_test_copy()
436 pci_epc_mem_unmap(epc, epf->func_no, epf->vfunc_no, &src_map); in pci_epf_test_copy()
/linux/drivers/net/ethernet/broadcom/
H A Db44.c636 struct ring_info *src_map, *map; in b44_alloc_rx_skb() local
643 src_map = NULL; in b44_alloc_rx_skb()
645 src_map = &bp->rx_buffers[src_idx]; in b44_alloc_rx_skb()
689 if (src_map != NULL) in b44_alloc_rx_skb()
690 src_map->skb = NULL; in b44_alloc_rx_skb()
711 struct ring_info *src_map, *dest_map; in b44_recycle_rx() local
720 src_map = &bp->rx_buffers[src_idx]; in b44_recycle_rx()
722 dest_map->skb = src_map->skb; in b44_recycle_rx()
723 rh = (struct rx_header *) src_map->skb->data; in b44_recycle_rx()
726 dest_map->mapping = src_map->mapping; in b44_recycle_rx()
[all …]
H A Dtg3.c6766 struct ring_info *src_map, *dest_map; in tg3_recycle_rx() local
6776 src_map = &spr->rx_std_buffers[src_idx]; in tg3_recycle_rx()
6784 src_map = &spr->rx_jmb_buffers[src_idx]; in tg3_recycle_rx()
6791 dest_map->data = src_map->data; in tg3_recycle_rx()
6793 dma_unmap_addr(src_map, mapping)); in tg3_recycle_rx()
6802 src_map->data = NULL; in tg3_recycle_rx()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_blit.c467 struct iosys_map src_map = {0}; in vmw_external_bo_copy() local
473 vsrc = map_external(src, &src_map); in vmw_external_bo_copy()
511 unmap_external(src, &src_map); in vmw_external_bo_copy()
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo_util.c95 struct iosys_map src_map, dst_map; in ttm_move_memcpy() local
118 src_ops->map_local(src_iter, &src_map, i); in ttm_move_memcpy()
120 drm_memcpy_from_wc(&dst_map, &src_map, PAGE_SIZE); in ttm_move_memcpy()
123 src_ops->unmap_local(src_iter, &src_map); in ttm_move_memcpy()