Searched refs:legacy_io (Results 1 – 2 of 2) sorted by relevance
1081 b->legacy_io = kcalloc(2, sizeof(struct bin_attribute), in pci_create_legacy_files()1083 if (!b->legacy_io) in pci_create_legacy_files()1086 sysfs_bin_attr_init(b->legacy_io); in pci_create_legacy_files()1087 b->legacy_io->attr.name = "legacy_io"; in pci_create_legacy_files()1088 b->legacy_io->size = 0xffff; in pci_create_legacy_files()1089 b->legacy_io->attr.mode = S_IRUSR | S_IWUSR; in pci_create_legacy_files()1090 b->legacy_io->read = pci_read_legacy_io; in pci_create_legacy_files()1091 b->legacy_io->write = pci_write_legacy_io; in pci_create_legacy_files()1092 b->legacy_io->mmap = pci_mmap_legacy_io; in pci_create_legacy_files()1094 error = device_create_bin_file(&b->dev, b->legacy_io); in pci_create_legacy_files()[all …]
582 struct bin_attribute *legacy_io; /* Legacy I/O for this bus */ member