Home
last modified time | relevance | path

Searched refs:legacy_mem (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/Documentation/translations/zh_CN/PCI/
Dsysfs-pci.rst105 `-- legacy_mem
108 找所需的端口(例如0x3e8),并进行1、2或4字节的读或写。legacy_mem文件应该被mmapped,其偏移
/linux-6.1.9/arch/alpha/kernel/
Dpci-sysfs.c293 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()
/linux-6.1.9/drivers/pci/
Dpci-sysfs.c971 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()
/linux-6.1.9/Documentation/ia64/
Daliasing.rst111 mmap of /sys/class/pci_bus/.../legacy_mem
114 This is very similar to mmap of /dev/mem, except that legacy_mem
120 "X" uses this to access VGA frame buffers. Using legacy_mem
205 mmap of 0x0-0xFFFFF legacy_mem by "X"
221 mmap of 0xA0000-0xBFFFF legacy_mem by "X" on HP sx1000 with VGA disabled
/linux-6.1.9/Documentation/PCI/
Dsysfs-pci.rst109 `-- legacy_mem
113 port (e.g. 0x3e8) and do a read or a write of 1, 2 or 4 bytes. The legacy_mem
/linux-6.1.9/include/linux/
Dpci.h670 struct bin_attribute *legacy_mem; /* Legacy mem */ member