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()
350 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_dev_instance_show() local352 if (instance_attr->show) in edac_dev_instance_show()353 return instance_attr->show(instance, buffer); in edac_dev_instance_show()363 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_dev_instance_store() local365 if (instance_attr->store) in edac_dev_instance_store()366 return instance_attr->store(instance, buffer, count); in edac_dev_instance_store()