Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pci/
Dpci-sysfs.c35 #define pci_config_attr(field, format_string) \ macro
46 pci_config_attr(vendor, "0x%04x\n");
47 pci_config_attr(device, "0x%04x\n");
48 pci_config_attr(subsystem_vendor, "0x%04x\n");
49 pci_config_attr(subsystem_device, "0x%04x\n");
50 pci_config_attr(revision, "0x%02x\n");
51 pci_config_attr(class, "0x%06x\n");
52 pci_config_attr(irq, "%u\n");
1426 static const struct bin_attribute pci_config_attr = { variable
1502 retval = sysfs_create_bin_file(&pdev->dev.kobj, &pci_config_attr); in pci_create_sysfs_dev_files()
[all …]