Searched refs:legacy_mem (Results 1 – 6 of 6) sorted by relevance
105 `-- legacy_mem108 找所需的端口(例如0x3e8),并进行1、2或4字节的读或写。legacy_mem文件应该被mmapped,其偏移
293 res_size = (mmap_type == pci_mmap_mem) ? bus->legacy_mem->size : in pci_mmap_legacy_page_range()316 bus->legacy_mem->attr.name = "legacy_mem_sparse"; in pci_adjust_legacy_attr()317 bus->legacy_mem->size <<= 5; in pci_adjust_legacy_attr()
971 b->legacy_mem = b->legacy_io + 1; in pci_create_legacy_files()972 sysfs_bin_attr_init(b->legacy_mem); in pci_create_legacy_files()973 b->legacy_mem->attr.name = "legacy_mem"; in pci_create_legacy_files()974 b->legacy_mem->size = 1024*1024; in pci_create_legacy_files()975 b->legacy_mem->attr.mode = 0600; in pci_create_legacy_files()976 b->legacy_mem->mmap = pci_mmap_legacy_mem; in pci_create_legacy_files()977 b->legacy_mem->f_mapping = iomem_get_mapping; in pci_create_legacy_files()979 error = device_create_bin_file(&b->dev, b->legacy_mem); in pci_create_legacy_files()998 device_remove_bin_file(&b->dev, b->legacy_mem); in pci_remove_legacy_files()
111 mmap of /sys/class/pci_bus/.../legacy_mem114 This is very similar to mmap of /dev/mem, except that legacy_mem120 "X" uses this to access VGA frame buffers. Using legacy_mem205 mmap of 0x0-0xFFFFF legacy_mem by "X"221 mmap of 0xA0000-0xBFFFF legacy_mem by "X" on HP sx1000 with VGA disabled
109 `-- legacy_mem113 port (e.g. 0x3e8) and do a read or a write of 1, 2 or 4 bytes. The legacy_mem
670 struct bin_attribute *legacy_mem; /* Legacy mem */ member