Searched refs:instance_attribute (Results 1 – 2 of 2) sorted by relevance
74 #define to_instance_attr(a) container_of(a, struct instance_attribute, attr)93 struct instance_attribute { struct104 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_pci_instance_show() argument117 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_pci_instance_store()131 static struct instance_attribute attr_instance_##_name = { \141 static struct instance_attribute *pci_instance_attr[] = {
332 #define to_instance_attr(a) container_of(a,struct instance_attribute,attr)349 struct instance_attribute { struct360 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_dev_instance_show() argument373 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_dev_instance_store()387 static struct instance_attribute attr_instance_##_name = { \402 static struct instance_attribute *device_instance_attr[] = {