Home
last modified time | relevance | path

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

/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c323 phys_addr_t src_phys_addr; in pci_epf_test_copy() local
330 src_addr = pci_epc_mem_alloc_addr(epc, &src_phys_addr, reg->size); in pci_epf_test_copy()
338 ret = pci_epc_map_addr(epc, epf->func_no, epf->vfunc_no, src_phys_addr, in pci_epf_test_copy()
371 src_phys_addr, reg->size, 0, in pci_epf_test_copy()
399 pci_epc_unmap_addr(epc, epf->func_no, epf->vfunc_no, src_phys_addr); in pci_epf_test_copy()
402 pci_epc_mem_free_addr(epc, src_phys_addr, src_addr, reg->size); in pci_epf_test_copy()
503 phys_addr_t src_phys_addr; in pci_epf_test_write() local
536 src_phys_addr = dma_map_single(dma_dev, buf, reg->size, in pci_epf_test_write()
538 if (dma_mapping_error(dma_dev, src_phys_addr)) { in pci_epf_test_write()
547 src_phys_addr, reg->size, in pci_epf_test_write()
[all …]
/linux/drivers/misc/
H A Dpci_endpoint_test.c388 dma_addr_t src_phys_addr; in pci_endpoint_test_copy() local
441 src_phys_addr = PTR_ALIGN(orig_src_phys_addr, alignment); in pci_endpoint_test_copy()
442 offset = src_phys_addr - orig_src_phys_addr; in pci_endpoint_test_copy()
445 src_phys_addr = orig_src_phys_addr; in pci_endpoint_test_copy()
450 lower_32_bits(src_phys_addr)); in pci_endpoint_test_copy()
453 upper_32_bits(src_phys_addr)); in pci_endpoint_test_copy()