Searched refs:to_instance (Results 1 – 3 of 3) 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()
319 #define to_instance(k) container_of(k, struct edac_device_instance, kobj) macro332 instance = to_instance(kobj); in edac_device_ctrl_instance_release()347 struct edac_device_instance *instance = to_instance(kobj); in edac_dev_instance_show()360 struct edac_device_instance *instance = to_instance(kobj); in edac_dev_instance_store()
726 static struct venus_inst *to_instance(struct venus_core *core, u32 session_id) in to_instance() function774 inst = to_instance(core, pkt->shdr.session_id); in hfi_process_msg_packet()