Lines Matching refs:drc_name

41 static struct device_node *find_vio_slot_node(char *drc_name)  in find_vio_slot_node()  argument
51 rc = rpaphp_check_drc_props(dn, drc_name, NULL); in find_vio_slot_node()
61 static struct device_node *find_php_slot_pci_node(char *drc_name, in find_php_slot_pci_node() argument
68 rc = rpaphp_check_drc_props(np, drc_name, drc_type); in find_php_slot_pci_node()
77 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument
81 dn = find_php_slot_pci_node(drc_name, "SLOT"); in find_dlpar_node()
87 dn = find_php_slot_pci_node(drc_name, "PHB"); in find_dlpar_node()
93 dn = find_vio_slot_node(drc_name); in find_dlpar_node()
169 static int dlpar_add_pci_slot(char *drc_name, struct device_node *dn) in dlpar_add_pci_slot() argument
186 drc_name); in dlpar_add_pci_slot()
192 __func__, dev->hdr_type, drc_name); in dlpar_add_pci_slot()
199 __func__, drc_name); in dlpar_add_pci_slot()
205 static int dlpar_remove_phb(char *drc_name, struct device_node *dn) in dlpar_remove_phb() argument
218 __func__, drc_name); in dlpar_remove_phb()
233 static int dlpar_add_phb(char *drc_name, struct device_node *dn) in dlpar_add_phb() argument
248 __func__, drc_name); in dlpar_add_phb()
254 static int dlpar_add_vio_slot(char *drc_name, struct device_node *dn) in dlpar_add_vio_slot() argument
267 __func__, drc_name); in dlpar_add_vio_slot()
285 int dlpar_add_slot(char *drc_name) in dlpar_add_slot() argument
295 dn = find_dlpar_node(drc_name, &node_type); in dlpar_add_slot()
303 rc = dlpar_add_vio_slot(drc_name, dn); in dlpar_add_slot()
306 rc = dlpar_add_pci_slot(drc_name, dn); in dlpar_add_slot()
309 rc = dlpar_add_phb(drc_name, dn); in dlpar_add_slot()
314 printk(KERN_INFO "%s: slot %s added\n", DLPAR_MODULE_NAME, drc_name); in dlpar_add_slot()
330 static int dlpar_remove_vio_slot(char *drc_name, struct device_node *dn) in dlpar_remove_vio_slot() argument
356 static int dlpar_remove_pci_slot(char *drc_name, struct device_node *dn) in dlpar_remove_pci_slot() argument
381 __func__, drc_name); in dlpar_remove_pci_slot()
420 int dlpar_remove_slot(char *drc_name) in dlpar_remove_slot() argument
429 dn = find_dlpar_node(drc_name, &node_type); in dlpar_remove_slot()
437 rc = dlpar_remove_vio_slot(drc_name, dn); in dlpar_remove_slot()
440 rc = dlpar_remove_phb(drc_name, dn); in dlpar_remove_slot()
443 rc = dlpar_remove_pci_slot(drc_name, dn); in dlpar_remove_slot()
449 printk(KERN_INFO "%s: slot %s removed\n", DLPAR_MODULE_NAME, drc_name); in dlpar_remove_slot()