Searched refs:legacy_io (Results 1 – 5 of 5) sorted by relevance
952 b->legacy_io = kcalloc(2, sizeof(struct bin_attribute), in pci_create_legacy_files()954 if (!b->legacy_io) in pci_create_legacy_files()957 sysfs_bin_attr_init(b->legacy_io); in pci_create_legacy_files()958 b->legacy_io->attr.name = "legacy_io"; in pci_create_legacy_files()959 b->legacy_io->size = 0xffff; in pci_create_legacy_files()960 b->legacy_io->attr.mode = 0600; in pci_create_legacy_files()961 b->legacy_io->read = pci_read_legacy_io; in pci_create_legacy_files()962 b->legacy_io->write = pci_write_legacy_io; in pci_create_legacy_files()963 b->legacy_io->mmap = pci_mmap_legacy_io; in pci_create_legacy_files()964 b->legacy_io->f_mapping = iomem_get_mapping; in pci_create_legacy_files()[all …]
104 |-- legacy_io107 legacy_io文件是一个读/写文件,可以被应用程序用来做传统的端口I/O。应用程序应该打开该文件,寻
294 bus->legacy_io->size; in pci_mmap_legacy_page_range()319 bus->legacy_io->attr.name = "legacy_io_sparse"; in pci_adjust_legacy_attr()320 bus->legacy_io->size <<= 5; in pci_adjust_legacy_attr()
108 |-- legacy_io111 The legacy_io file is a read/write file that can be used by applications to
669 struct bin_attribute *legacy_io; /* Legacy I/O for this bus */ member