Home
last modified time | relevance | path

Searched refs:drc_type (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/pci/hotplug/
H A Drpaphp_core.c196 char *drc_type, unsigned int my_index) in rpaphp_check_drc_props_v1() argument
221 ((drc_type == NULL) || (drc_type && !strcmp(drc_type, type_tmp)))) in rpaphp_check_drc_props_v1()
228 char *drc_type, unsigned int my_index) in rpaphp_check_drc_props_v2() argument
263 ((drc_type == NULL) || in rpaphp_check_drc_props_v2()
264 (drc_type && !strcmp(drc_type, drc.drc_type)))) in rpaphp_check_drc_props_v2()
271 char *drc_type) 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()
291 static int is_php_type(char *drc_type) in is_php_type() argument
296 simple_strtoul(drc_type, &endptr, 10); in is_php_type()
[all …]
H A Drpaphp.h91 char *drc_type);
H A Drpadlpar_core.c62 char *drc_type) in find_php_slot_pci_node() argument
68 rc = rpaphp_check_drc_props(np, drc_name, drc_type); in find_php_slot_pci_node()
/openbmc/qemu/hw/ppc/
H A Dspapr_events.c585 SpaprDrcType drc_type, in spapr_hotplug_req_event() argument
628 switch (drc_type) { in spapr_hotplug_req_event()
674 SpaprDrcType drc_type = spapr_drc_type(drc); in spapr_hotplug_req_add_by_index() local
679 RTAS_LOG_V6_HP_ACTION_ADD, drc_type, &drc_id); in spapr_hotplug_req_add_by_index()
684 SpaprDrcType drc_type = spapr_drc_type(drc); in spapr_hotplug_req_remove_by_index() local
689 RTAS_LOG_V6_HP_ACTION_REMOVE, drc_type, &drc_id); in spapr_hotplug_req_remove_by_index()
692 void spapr_hotplug_req_add_by_count(SpaprDrcType drc_type, in spapr_hotplug_req_add_by_count() argument
699 RTAS_LOG_V6_HP_ACTION_ADD, drc_type, &drc_id); in spapr_hotplug_req_add_by_count()
702 void spapr_hotplug_req_remove_by_count(SpaprDrcType drc_type, in spapr_hotplug_req_remove_by_count() argument
709 RTAS_LOG_V6_HP_ACTION_REMOVE, drc_type, &drc_id); in spapr_hotplug_req_remove_by_count()
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dpseries_energy.c67 if (strncmp(drc.drc_type, "CPU", 3)) in cpu_to_drc_index()
136 if (strncmp(drc.drc_type, "CPU", 3)) in drc_index_to_cpu()
H A Dof_helpers.c55 data->drc_type = (char *)p; in of_read_drc_info_cell()
H A Dhotplug-cpu.c481 if (strncmp(drc.drc_type, "CPU", 3)) in drc_info_valid_index()
/openbmc/linux/arch/powerpc/include/asm/
H A Dprom.h75 char *drc_type; member
/openbmc/qemu/include/hw/ppc/
H A Dspapr.h916 void spapr_hotplug_req_add_by_count(SpaprDrcType drc_type,
918 void spapr_hotplug_req_remove_by_count(SpaprDrcType drc_type,
920 void spapr_hotplug_req_add_by_count_indexed(SpaprDrcType drc_type,
922 void spapr_hotplug_req_remove_by_count_indexed(SpaprDrcType drc_type,