Lines Matching refs:pci_config_attr
35 #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()
1553 sysfs_remove_bin_file(&pdev->dev.kobj, &pci_config_attr); in pci_create_sysfs_dev_files()
1584 sysfs_remove_bin_file(&pdev->dev.kobj, &pci_config_attr); in pci_remove_sysfs_dev_files()