Searched refs:orig_dst_phys_addr (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | pci_endpoint_test.c | 371 dma_addr_t orig_dst_phys_addr; in pci_endpoint_test_copy() local 440 orig_dst_phys_addr = dma_map_single(dev, orig_dst_addr, in pci_endpoint_test_copy() 442 if (dma_mapping_error(dev, orig_dst_phys_addr)) { in pci_endpoint_test_copy() 448 if (alignment && !IS_ALIGNED(orig_dst_phys_addr, alignment)) { in pci_endpoint_test_copy() 449 dst_phys_addr = PTR_ALIGN(orig_dst_phys_addr, alignment); in pci_endpoint_test_copy() 450 offset = dst_phys_addr - orig_dst_phys_addr; in pci_endpoint_test_copy() 453 dst_phys_addr = orig_dst_phys_addr; in pci_endpoint_test_copy() 473 dma_unmap_single(dev, orig_dst_phys_addr, size + alignment, in pci_endpoint_test_copy()
|
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | pci_endpoint_test.c | 364 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()
|
Completed in 3 milliseconds