Home
last modified time | relevance | path

Searched refs:hp_elog (Results 1 – 5 of 5) sorted by relevance

/linux/arch/powerpc/platforms/pseries/
H A Ddlpar.c589 int handle_dlpar_errorlog(struct pseries_hp_errorlog *hp_elog) in handle_dlpar_errorlog() argument
593 switch (hp_elog->resource) { in handle_dlpar_errorlog()
595 rc = dlpar_memory(hp_elog); in handle_dlpar_errorlog()
598 rc = dlpar_cpu(hp_elog); in handle_dlpar_errorlog()
601 rc = dlpar_hp_pmem(hp_elog); in handle_dlpar_errorlog()
604 rc = dlpar_hp_dt(hp_elog); in handle_dlpar_errorlog()
609 hp_elog->resource); in handle_dlpar_errorlog()
646 static int dlpar_parse_resource(char **cmd, struct pseries_hp_errorlog *hp_elog) in dlpar_parse_resource() argument
655 hp_elog->resource = PSERIES_HP_ELOG_RESOURCE_MEM; in dlpar_parse_resource()
657 hp_elog in dlpar_parse_resource()
668 dlpar_parse_action(char ** cmd,struct pseries_hp_errorlog * hp_elog) dlpar_parse_action() argument
688 dlpar_parse_id_type(char ** cmd,struct pseries_hp_errorlog * hp_elog) dlpar_parse_id_type() argument
762 struct pseries_hp_errorlog hp_elog; dlpar_store() local
[all...]
H A Dpseries.h63 int dlpar_memory(struct pseries_hp_errorlog *hp_elog);
64 int dlpar_hp_pmem(struct pseries_hp_errorlog *hp_elog);
66 static inline int dlpar_memory(struct pseries_hp_errorlog *hp_elog) in dlpar_memory() argument
70 static inline int dlpar_hp_pmem(struct pseries_hp_errorlog *hp_elog) in dlpar_hp_pmem() argument
77 int dlpar_cpu(struct pseries_hp_errorlog *hp_elog);
80 static inline int dlpar_cpu(struct pseries_hp_errorlog *hp_elog) in dlpar_cpu() argument
H A Dhotplug-memory.c809 int dlpar_memory(struct pseries_hp_errorlog *hp_elog) in dlpar_memory() argument
816 switch (hp_elog->action) { in dlpar_memory()
818 switch (hp_elog->id_type) { in dlpar_memory()
820 count = be32_to_cpu(hp_elog->_drc_u.drc_count); in dlpar_memory()
824 drc_index = be32_to_cpu(hp_elog->_drc_u.drc_index); in dlpar_memory()
828 count = be32_to_cpu(hp_elog->_drc_u.ic.count); in dlpar_memory()
829 drc_index = be32_to_cpu(hp_elog->_drc_u.ic.index); in dlpar_memory()
839 switch (hp_elog->id_type) { in dlpar_memory()
841 count = be32_to_cpu(hp_elog->_drc_u.drc_count); in dlpar_memory()
845 drc_index = be32_to_cpu(hp_elog in dlpar_memory()
[all...]
H A Dras.c295 struct pseries_hp_errorlog *hp_elog; in ras_hotplug_interrupt() local
306 hp_elog = (struct pseries_hp_errorlog *)pseries_log->data; in ras_hotplug_interrupt()
312 if (hp_elog->resource == PSERIES_HP_ELOG_RESOURCE_MEM || in ras_hotplug_interrupt()
313 hp_elog->resource == PSERIES_HP_ELOG_RESOURCE_CPU || in ras_hotplug_interrupt()
314 hp_elog->resource == PSERIES_HP_ELOG_RESOURCE_PMEM) in ras_hotplug_interrupt()
315 queue_hotplug_event(hp_elog); in ras_hotplug_interrupt()
H A Dhotplug-cpu.c758 int dlpar_cpu(struct pseries_hp_errorlog *hp_elog) in dlpar_cpu() argument
763 drc_index = be32_to_cpu(hp_elog->_drc_u.drc_index); in dlpar_cpu()
767 switch (hp_elog->action) { in dlpar_cpu()
769 if (hp_elog->id_type == PSERIES_HP_ELOG_ID_DRC_INDEX) { in dlpar_cpu()
783 if (hp_elog->id_type == PSERIES_HP_ELOG_ID_DRC_INDEX) in dlpar_cpu()
789 pr_err("Invalid action (%d) specified\n", hp_elog->action); in dlpar_cpu()