Searched refs:drc_name (Results 1 – 8 of 8) sorted by relevance
/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 43 static struct device_node *find_vio_slot_node(char *drc_name) in find_vio_slot_node() argument 55 if ((rc == 0) && (!strcmp(drc_name, name))) in find_vio_slot_node() 63 static struct device_node *find_php_slot_pci_node(char *drc_name, in find_php_slot_pci_node() argument 74 if (!strcmp(drc_name, name) && !strcmp(drc_type, type)) in find_php_slot_pci_node() 81 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument 85 dn = find_php_slot_pci_node(drc_name, "SLOT"); in find_dlpar_node() 91 dn = find_php_slot_pci_node(drc_name, "PHB"); in find_dlpar_node() 97 dn = find_vio_slot_node(drc_name); in find_dlpar_node() 175 static int dlpar_add_pci_slot(char *drc_name, struct device_node *dn) in dlpar_add_pci_slot() argument 192 drc_name); in dlpar_add_pci_slot() [all …]
|
D | rpadlpar_sysfs.c | 35 char drc_name[MAX_DRC_NAME_LEN]; in add_slot_store() local 42 memcpy(drc_name, buf, nbytes); in add_slot_store() 44 end = strchr(drc_name, '\n'); in add_slot_store() 46 end = &drc_name[nbytes]; in add_slot_store() 49 rc = dlpar_add_slot(drc_name); in add_slot_store() 66 char drc_name[MAX_DRC_NAME_LEN]; in remove_slot_store() local 73 memcpy(drc_name, buf, nbytes); in remove_slot_store() 75 end = strchr(drc_name, '\n'); in remove_slot_store() 77 end = &drc_name[nbytes]; in remove_slot_store() 80 rc = dlpar_remove_slot(drc_name); in remove_slot_store()
|
D | rpadlpar.h | 21 extern int dlpar_add_slot(char *drc_name); 22 extern int dlpar_remove_slot(char *drc_name);
|
D | rpaphp.h | 95 char **drc_name, char **drc_type, int *drc_power_domain); 99 extern struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int po…
|
D | rpaphp_core.c | 203 char **drc_name, char **drc_type, int *drc_power_domain) in rpaphp_get_drc_props() argument 228 if (drc_name) in rpaphp_get_drc_props() 229 *drc_name = name_tmp; in rpaphp_get_drc_props()
|
D | rpaphp_slot.c | 51 int drc_index, char *drc_name, int power_domain) in alloc_slot_struct() argument 65 slot->name = kstrdup(drc_name, GFP_KERNEL); in alloc_slot_struct()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvfc.h | 177 u8 drc_name[IBMVFC_MAX_NAME]; member 225 u8 drc_name[IBMVFC_MAX_NAME]; member
|
D | ibmvfc.c | 1195 strncpy(login_info->drc_name, location, IBMVFC_MAX_NAME); in ibmvfc_set_login_info() 2910 vhost->login_buf->resp.drc_name); in ibmvfc_show_host_drc_name() 2976 static DEVICE_ATTR(drc_name, S_IRUGO, ibmvfc_show_host_drc_name, NULL); 4021 rsp->drc_name, npiv_max_sectors); in ibmvfc_npiv_login_done()
|