Searched refs:src_phys_addr (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/pci/endpoint/functions/ |
D | pci-epf-test.c | 233 phys_addr_t src_phys_addr; in pci_epf_test_copy() local 242 src_addr = pci_epc_mem_alloc_addr(epc, &src_phys_addr, reg->size); in pci_epf_test_copy() 250 ret = pci_epc_map_addr(epc, epf->func_no, epf->vfunc_no, src_phys_addr, in pci_epf_test_copy() 284 src_phys_addr, reg->size); in pci_epf_test_copy() 310 pci_epc_unmap_addr(epc, epf->func_no, epf->vfunc_no, src_phys_addr); in pci_epf_test_copy() 313 pci_epc_mem_free_addr(epc, src_phys_addr, src_addr, reg->size); in pci_epf_test_copy() 415 phys_addr_t src_phys_addr; in pci_epf_test_write() local 457 src_phys_addr = dma_map_single(dma_dev, buf, reg->size, in pci_epf_test_write() 459 if (dma_mapping_error(dma_dev, src_phys_addr)) { in pci_epf_test_write() 467 src_phys_addr, reg->size); in pci_epf_test_write() [all …]
|
/linux-5.19.10/drivers/misc/ |
D | pci_endpoint_test.c | 345 dma_addr_t src_phys_addr; in pci_endpoint_test_copy() local 396 src_phys_addr = PTR_ALIGN(orig_src_phys_addr, alignment); in pci_endpoint_test_copy() 397 offset = src_phys_addr - orig_src_phys_addr; in pci_endpoint_test_copy() 400 src_phys_addr = orig_src_phys_addr; in pci_endpoint_test_copy() 405 lower_32_bits(src_phys_addr)); in pci_endpoint_test_copy() 408 upper_32_bits(src_phys_addr)); in pci_endpoint_test_copy()
|