Searched refs:dst_phys_addr (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/pci/endpoint/functions/ |
D | pci-epf-test.c | 319 phys_addr_t dst_phys_addr; in pci_epf_test_copy() local 343 dst_addr = pci_epc_mem_alloc_addr(epc, &dst_phys_addr, reg->size); in pci_epf_test_copy() 351 ret = pci_epc_map_addr(epc, epf->func_no, epf->vfunc_no, dst_phys_addr, in pci_epf_test_copy() 374 ret = pci_epf_test_data_transfer(epf_test, dst_phys_addr, in pci_epf_test_copy() 396 pci_epc_unmap_addr(epc, epf->func_no, epf->vfunc_no, dst_phys_addr); in pci_epf_test_copy() 399 pci_epc_mem_free_addr(epc, dst_phys_addr, dst_addr, reg->size); in pci_epf_test_copy() 419 phys_addr_t dst_phys_addr; in pci_epf_test_read() local 458 dst_phys_addr = dma_map_single(dma_dev, buf, reg->size, in pci_epf_test_read() 460 if (dma_mapping_error(dma_dev, dst_phys_addr)) { in pci_epf_test_read() 467 ret = pci_epf_test_data_transfer(epf_test, dst_phys_addr, in pci_epf_test_read() [all …]
|
/Linux-v6.1/drivers/misc/ |
D | pci_endpoint_test.c | 362 dma_addr_t dst_phys_addr; in pci_endpoint_test_copy() local 446 dst_phys_addr = PTR_ALIGN(orig_dst_phys_addr, alignment); in pci_endpoint_test_copy() 447 offset = dst_phys_addr - orig_dst_phys_addr; in pci_endpoint_test_copy() 450 dst_phys_addr = orig_dst_phys_addr; in pci_endpoint_test_copy() 455 lower_32_bits(dst_phys_addr)); in pci_endpoint_test_copy() 457 upper_32_bits(dst_phys_addr)); in pci_endpoint_test_copy()
|