Searched refs:to_instance (Results 1 – 2 of 2) sorted by relevance
70 #define to_instance(k) container_of(k, struct edac_pci_ctl_info, kobj) macro81 pci = to_instance(kobj); in edac_pci_instance_release()100 struct edac_pci_ctl_info *pci = to_instance(kobj); in edac_pci_instance_show()113 struct edac_pci_ctl_info *pci = to_instance(kobj); in edac_pci_instance_store()
321 #define to_instance(k) container_of(k, struct edac_device_instance, kobj) macro334 instance = to_instance(kobj); in edac_device_ctrl_instance_release()349 struct edac_device_instance *instance = to_instance(kobj); in edac_dev_instance_show()362 struct edac_device_instance *instance = to_instance(kobj); in edac_dev_instance_store()