Searched refs:drc_name (Results 1 – 8 of 8) sorted by relevance
/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 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() [all …]
|
D | rpadlpar_sysfs.c | 30 char drc_name[MAX_DRC_NAME_LEN]; in add_slot_store() local 37 strscpy(drc_name, buf, nbytes + 1); in add_slot_store() 39 end = strchr(drc_name, '\n'); in add_slot_store() 43 rc = dlpar_add_slot(drc_name); in add_slot_store() 60 char drc_name[MAX_DRC_NAME_LEN]; in remove_slot_store() local 67 strscpy(drc_name, buf, nbytes + 1); in remove_slot_store() 69 end = strchr(drc_name, '\n'); in remove_slot_store() 73 rc = dlpar_remove_slot(drc_name); in remove_slot_store()
|
D | rpaphp_core.c | 195 static int rpaphp_check_drc_props_v1(struct device_node *dn, char *drc_name, in rpaphp_check_drc_props_v1() argument 220 if (((drc_name == NULL) || (drc_name && !strcmp(drc_name, name_tmp))) && in rpaphp_check_drc_props_v1() 227 static int rpaphp_check_drc_props_v2(struct device_node *dn, char *drc_name, in rpaphp_check_drc_props_v2() argument 261 if (((drc_name == NULL) || in rpaphp_check_drc_props_v2() 262 (drc_name && !strcmp(drc_name, cell_drc_name))) && in rpaphp_check_drc_props_v2() 270 int rpaphp_check_drc_props(struct device_node *dn, char *drc_name, in rpaphp_check_drc_props() argument 282 return rpaphp_check_drc_props_v2(dn, drc_name, drc_type, in rpaphp_check_drc_props() 285 return rpaphp_check_drc_props_v1(dn, drc_name, drc_type, in rpaphp_check_drc_props() 339 char drc_name[MAX_DRC_NAME_LEN]; in rpaphp_drc_info_add_slot() local 358 sprintf(drc_name, "%s%d", drc.drc_name_prefix, drc.drc_name_suffix_start); in rpaphp_drc_info_add_slot() [all …]
|
D | rpadlpar.h | 17 int dlpar_add_slot(char *drc_name); 18 int dlpar_remove_slot(char *drc_name);
|
D | rpaphp.h | 90 int rpaphp_check_drc_props(struct device_node *dn, char *drc_name, 95 struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_dom…
|
D | rpaphp_slot.c | 31 int drc_index, char *drc_name, int power_domain) in alloc_slot_struct() argument 38 slot->name = kstrdup(drc_name, GFP_KERNEL); in alloc_slot_struct()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvfc.h | 184 u8 drc_name[IBMVFC_MAX_NAME]; member 236 u8 drc_name[IBMVFC_MAX_NAME]; member
|
D | ibmvfc.c | 1506 strncpy(login_info->drc_name, location, IBMVFC_MAX_NAME); in ibmvfc_set_login_info() 3484 vhost->login_buf->resp.drc_name); in ibmvfc_show_host_drc_name() 3584 static DEVICE_ATTR(drc_name, S_IRUGO, ibmvfc_show_host_drc_name, NULL); 5205 rsp->drc_name, npiv_max_sectors); in ibmvfc_npiv_login_done()
|