Searched refs:instance_attr (Results 1 – 2 of 2) sorted by relevance
101 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_pci_instance_show() local103 if (instance_attr->show) in edac_pci_instance_show()104 return instance_attr->show(pci, buffer); in edac_pci_instance_show()114 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_pci_instance_store() local116 if (instance_attr->store) in edac_pci_instance_store()117 return instance_attr->store(pci, buffer, count); in edac_pci_instance_store()
348 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_dev_instance_show() local350 if (instance_attr->show) in edac_dev_instance_show()351 return instance_attr->show(instance, buffer); in edac_dev_instance_show()361 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_dev_instance_store() local363 if (instance_attr->store) in edac_dev_instance_store()364 return instance_attr->store(instance, buffer, count); in edac_dev_instance_store()