/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A 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() 204 dlpar_remove_phb(char *drc_name, struct device_node *dn) dlpar_remove_phb() argument 232 dlpar_add_phb(char *drc_name, struct device_node *dn) dlpar_add_phb() argument 253 dlpar_add_vio_slot(char *drc_name, struct device_node *dn) dlpar_add_vio_slot() argument 284 dlpar_add_slot(char *drc_name) dlpar_add_slot() argument 329 dlpar_remove_vio_slot(char *drc_name, struct device_node *dn) dlpar_remove_vio_slot() argument 355 dlpar_remove_pci_slot(char *drc_name, struct device_node *dn) dlpar_remove_pci_slot() argument 419 dlpar_remove_slot(char *drc_name) dlpar_remove_slot() argument [all...] |
H A 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()
|
H A D | rpaphp_core.c | 187 /* Verify the existence of 'drc_name' and/or 'drc_type' within the 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 337 char drc_name[MAX_DRC_NAME_LEN]; rpaphp_drc_info_add_slot() local [all...] |
H A D | rpadlpar.h | 17 int dlpar_add_slot(char *drc_name); 18 int dlpar_remove_slot(char *drc_name);
|
H A 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_domain);
|
H A D | rpaphp_slot.c | 30 int drc_index, char *drc_name, int power_domain) in alloc_slot_struct() 37 slot->name = kstrdup(drc_name, GFP_KERNEL); in alloc_slot_struct() 29 alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain) alloc_slot_struct() argument
|
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A 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() 205 dlpar_remove_phb(char *drc_name, struct device_node *dn) dlpar_remove_phb() argument 233 dlpar_add_phb(char *drc_name, struct device_node *dn) dlpar_add_phb() argument 254 dlpar_add_vio_slot(char *drc_name, struct device_node *dn) dlpar_add_vio_slot() argument 285 dlpar_add_slot(char *drc_name) dlpar_add_slot() argument 330 dlpar_remove_vio_slot(char *drc_name, struct device_node *dn) dlpar_remove_vio_slot() argument 356 dlpar_remove_pci_slot(char *drc_name, struct device_node *dn) dlpar_remove_pci_slot() argument 420 dlpar_remove_slot(char *drc_name) dlpar_remove_slot() argument [all...] |
H A 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()
|
H A D | rpaphp_core.c | 189 /* Verify the existence of 'drc_name' and/or 'drc_type' within the 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 339 char drc_name[MAX_DRC_NAME_LEN]; rpaphp_drc_info_add_slot() local [all...] |
H A D | rpadlpar.h | 17 int dlpar_add_slot(char *drc_name); 18 int dlpar_remove_slot(char *drc_name);
|
H A 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_domain);
|
H A D | rpaphp_slot.c | 31 int drc_index, char *drc_name, int power_domain) in alloc_slot_struct() 38 slot->name = kstrdup(drc_name, GFP_KERNEL); in alloc_slot_struct() 30 alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain) alloc_slot_struct() argument
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | rtas-types.h | 120 char drc_name[1]; member
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | rtas-types.h | 110 char drc_name[1]; member
|
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.h | 175 u8 drc_name[IBMVFC_MAX_NAME]; member 225 u8 drc_name[IBMVFC_MAX_NAME]; member
|
H A 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()
|
/kernel/linux/linux-6.6/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.h | 184 u8 drc_name[IBMVFC_MAX_NAME]; member 236 u8 drc_name[IBMVFC_MAX_NAME]; member
|
H A 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()
|