search for: pci_epc_unmap_addr

Displaying 2 results from an estimated 2 matches for "pci_epc_unmap_addr".

Did you mean: pci_epc_map_addr
2023 Apr 27
1
[RFC PATCH v2 1/3] PCI: endpoint: introduce a helper to implement pci ep virtio function
...gt; + if (IS_ERR(dst)) { > + pr_err("failed to map pci mmoery spact to local\n"); s/pci/PCI/ s/mmoery/memory/ s/spact/space/ ? Also below. IIRC some previous messages started with a capital letter. Please make them all consistent. > + if (dir == DMA_MEM_TO_DEV) { > + pci_epc_unmap_addr(epf->epc, epf->func_no, > + epf->vfunc_no, phys, dst, slen); > + } else { > + pci_epc_unmap_addr(epf->epc, epf->func_no, > + epf->vfunc_no, phys, src, slen); > + } > + } > + > + return 1; I guess this function returns either a negative er...
2023 Apr 27
4
[RFC PATCH v2 0/3] Introduce a PCIe endpoint virtio console
PCIe endpoint framework provides APIs to implement PCIe endpoint function. This framework allows defining various PCIe endpoint function behaviors in software. This patch extend the framework for virtio pci device. The virtio is defined to communicate guest on virtual machine and host side. Advantage of the virtio is the efficiency of data transfer and the conciseness of implementation device