Query: pci_mmap_resource
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PCI_MMAP_RESOURCE(9) Hardware Interfaces PCI_MMAP_RESOURCE(9)NAMEpci_mmap_resource - map a PCI resource into user memory spaceSYNOPSISint pci_mmap_resource(struct kobject * kobj, struct bin_attribute * attr, struct vm_area_struct * vma, int write_combine);ARGUMENTSkobj kobject for mapping attr struct bin_attribute for the file being mapped vma struct vm_area_struct passed into the mmap write_combine 1 for write_combine mappingDESCRIPTIONUse the regular PCI mapping routines to map a PCI resource into userspace.COPYRIGHTKernel Hackers Manual 3.10 June 2014 PCI_MMAP_RESOURCE(9)