Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/
H A Dpci_endpoint_test.c364 dma_addr_t orig_dst_phys_addr; in pci_endpoint_test_copy() local
433 orig_dst_phys_addr = dma_map_single(dev, orig_dst_addr, in pci_endpoint_test_copy()
435 if (dma_mapping_error(dev, orig_dst_phys_addr)) { in pci_endpoint_test_copy()
441 if (alignment && !IS_ALIGNED(orig_dst_phys_addr, alignment)) { in pci_endpoint_test_copy()
442 dst_phys_addr = PTR_ALIGN(orig_dst_phys_addr, alignment); in pci_endpoint_test_copy()
443 offset = dst_phys_addr - orig_dst_phys_addr; in pci_endpoint_test_copy()
446 dst_phys_addr = orig_dst_phys_addr; in pci_endpoint_test_copy()
466 dma_unmap_single(dev, orig_dst_phys_addr, size + alignment, in pci_endpoint_test_copy()