Lines Matching refs:edac_pci_ctl_info
28 struct edac_pci_ctl_info *edac_pci_alloc_ctl_info(unsigned int sz_pvt, in edac_pci_alloc_ctl_info()
31 struct edac_pci_ctl_info *pci; in edac_pci_alloc_ctl_info()
35 pci = kzalloc(sizeof(struct edac_pci_ctl_info), GFP_KERNEL); in edac_pci_alloc_ctl_info()
57 void edac_pci_free_ctl_info(struct edac_pci_ctl_info *pci) in edac_pci_free_ctl_info()
71 static struct edac_pci_ctl_info *find_edac_pci_by_dev(struct device *dev) in find_edac_pci_by_dev()
73 struct edac_pci_ctl_info *pci; in find_edac_pci_by_dev()
79 pci = list_entry(item, struct edac_pci_ctl_info, link); in find_edac_pci_by_dev()
96 static int add_edac_pci_to_global_list(struct edac_pci_ctl_info *pci) in add_edac_pci_to_global_list()
99 struct edac_pci_ctl_info *rover; in add_edac_pci_to_global_list()
112 rover = list_entry(item, struct edac_pci_ctl_info, link); in add_edac_pci_to_global_list()
146 static void del_edac_pci_from_global_list(struct edac_pci_ctl_info *pci) in del_edac_pci_from_global_list()
166 struct edac_pci_ctl_info *pci = to_edac_pci_ctl_work(d_work); in edac_pci_workq_function()
200 int edac_pci_add_device(struct edac_pci_ctl_info *pci, int edac_idx) in edac_pci_add_device()
245 struct edac_pci_ctl_info *edac_pci_del_device(struct device *dev) in edac_pci_del_device()
247 struct edac_pci_ctl_info *pci; in edac_pci_del_device()
284 static void edac_pci_generic_check(struct edac_pci_ctl_info *pci) in edac_pci_generic_check()
298 struct edac_pci_ctl_info *edac_pci_create_generic_ctl(struct device *dev, in edac_pci_create_generic_ctl()
301 struct edac_pci_ctl_info *pci; in edac_pci_create_generic_ctl()
330 void edac_pci_release_generic_ctl(struct edac_pci_ctl_info *pci) in edac_pci_release_generic_ctl()