Home
last modified time | relevance | path

Searched refs:orig_src_phys_addr (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/
H A Dpci_endpoint_test.c369 dma_addr_t orig_src_phys_addr; in pci_endpoint_test_copy() local
408 orig_src_phys_addr = dma_map_single(dev, orig_src_addr, in pci_endpoint_test_copy()
410 if (dma_mapping_error(dev, orig_src_phys_addr)) { in pci_endpoint_test_copy()
416 if (alignment && !IS_ALIGNED(orig_src_phys_addr, alignment)) { in pci_endpoint_test_copy()
417 src_phys_addr = PTR_ALIGN(orig_src_phys_addr, alignment); in pci_endpoint_test_copy()
418 offset = src_phys_addr - orig_src_phys_addr; in pci_endpoint_test_copy()
421 src_phys_addr = orig_src_phys_addr; in pci_endpoint_test_copy()
484 dma_unmap_single(dev, orig_src_phys_addr, size + alignment, in pci_endpoint_test_copy()
/kernel/linux/linux-6.6/drivers/misc/
H A Dpci_endpoint_test.c362 dma_addr_t orig_src_phys_addr; in pci_endpoint_test_copy() local
401 orig_src_phys_addr = dma_map_single(dev, orig_src_addr, in pci_endpoint_test_copy()
403 if (dma_mapping_error(dev, orig_src_phys_addr)) { in pci_endpoint_test_copy()
409 if (alignment && !IS_ALIGNED(orig_src_phys_addr, alignment)) { in pci_endpoint_test_copy()
410 src_phys_addr = PTR_ALIGN(orig_src_phys_addr, alignment); in pci_endpoint_test_copy()
411 offset = src_phys_addr - orig_src_phys_addr; in pci_endpoint_test_copy()
414 src_phys_addr = orig_src_phys_addr; in pci_endpoint_test_copy()
477 dma_unmap_single(dev, orig_src_phys_addr, size + alignment, in pci_endpoint_test_copy()

Completed in 7 milliseconds