/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 40 static struct device_node *find_vio_slot_node(char *drc_name) in find_vio_slot_node() argument 50 rc = rpaphp_check_drc_props(dn, drc_name, NULL); in find_vio_slot_node() 60 static struct device_node *find_php_slot_pci_node(char *drc_name, in find_php_slot_pci_node() argument 67 rc = rpaphp_check_drc_props(np, drc_name, drc_type); in find_php_slot_pci_node() 76 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument 80 dn = find_php_slot_pci_node(drc_name, "SLOT"); in find_dlpar_node() 86 dn = find_php_slot_pci_node(drc_name, "PHB"); in find_dlpar_node() 92 dn = find_vio_slot_node(drc_name); in find_dlpar_node() 168 static int dlpar_add_pci_slot(char *drc_name, struct device_node *dn) in dlpar_add_pci_slot() argument 185 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 | 193 static int rpaphp_check_drc_props_v1(struct device_node *dn, char *drc_name, in rpaphp_check_drc_props_v1() argument 218 if (((drc_name == NULL) || (drc_name && !strcmp(drc_name, name_tmp))) && in rpaphp_check_drc_props_v1() 225 static int rpaphp_check_drc_props_v2(struct device_node *dn, char *drc_name, in rpaphp_check_drc_props_v2() argument 259 if (((drc_name == NULL) || in rpaphp_check_drc_props_v2() 260 (drc_name && !strcmp(drc_name, cell_drc_name))) && in rpaphp_check_drc_props_v2() 268 int rpaphp_check_drc_props(struct device_node *dn, char *drc_name, in rpaphp_check_drc_props() argument 280 return rpaphp_check_drc_props_v2(dn, drc_name, drc_type, in rpaphp_check_drc_props() 283 return rpaphp_check_drc_props_v1(dn, drc_name, drc_type, in rpaphp_check_drc_props() 337 char drc_name[MAX_DRC_NAME_LEN]; in rpaphp_drc_info_add_slot() local 356 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 | 30 int drc_index, char *drc_name, int power_domain) in alloc_slot_struct() argument 37 slot->name = kstrdup(drc_name, GFP_KERNEL); in alloc_slot_struct()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | rtas-types.h | 120 char drc_name[1]; member
|
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/ |
D | ibmvfc.h | 175 u8 drc_name[IBMVFC_MAX_NAME]; member 225 u8 drc_name[IBMVFC_MAX_NAME]; member
|
D | ibmvfc.c | 1244 strncpy(login_info->drc_name, location, IBMVFC_MAX_NAME); in ibmvfc_set_login_info() 3030 vhost->login_buf->resp.drc_name); in ibmvfc_show_host_drc_name() 3096 static DEVICE_ATTR(drc_name, S_IRUGO, ibmvfc_show_host_drc_name, NULL); 4352 rsp->drc_name, npiv_max_sectors); in ibmvfc_npiv_login_done()
|