Lines Matching +full:dbg +full:- +full:halt
1 // SPDX-License-Identifier: GPL-2.0-or-later
47 #include <asm/pci-bridge.h>
61 #define DBG(fmt...) udbg_printf(fmt) macro
63 #define DBG(fmt...) macro
103 sp = of_find_node_by_name(NULL, "service-processor"); in maple_restart()
108 maple_nvram_offset = of_get_property(sp, "restart-addr", NULL); in maple_restart()
109 maple_nvram_command = of_get_property(sp, "restart-value", NULL); in maple_restart()
131 sp = of_find_node_by_name(NULL, "service-processor"); in maple_power_off()
136 maple_nvram_offset = of_get_property(sp, "power-off-addr", NULL); in maple_power_off()
137 maple_nvram_command = of_get_property(sp, "power-off-value", NULL); in maple_power_off()
144 printk(KERN_EMERG "Maple: Manual Power-Down Required\n"); in maple_power_off()
170 ppc_md.halt = rtas_halt; in maple_use_rtas_reboot_and_halt_if_present()
192 * code generic at one point, with appropriate bits in the device-tree to
204 /* Locate MPIC in the device-tree. Note that there is a bug in maple_init_IRQ()
205 * in Maple device-tree where the type of the controller is in maple_init_IRQ()
206 * open-pic and not interrupt-controller in maple_init_IRQ()
209 for_each_node_by_type(np, "interrupt-controller") in maple_init_IRQ()
210 if (of_device_is_compatible(np, "open-pic")) { in maple_init_IRQ()
215 for_each_node_by_type(np, "open-pic") { in maple_init_IRQ()
225 /* Find address list in /platform-open-pic */ in maple_init_IRQ()
228 opprop = of_get_property(root, "platform-open-pic", &opplen); in maple_init_IRQ()
239 if (of_property_read_bool(np, "big-endian")) in maple_init_IRQ()
244 /* All U3/U4 are big-endian, older SLOF firmware doesn't encode this */ in maple_init_IRQ()
247 /* Setup the openpic driver. More device-tree junks, we hard code no in maple_init_IRQ()
276 * Called very early, MMU is off, device-tree isn't unflattened
305 np = of_find_node_by_type(NULL, "memory-controller"); in maple_cpc925_edac_setup()
307 printk(KERN_ERR "%s: Unable to find memory-controller node\n", in maple_cpc925_edac_setup()
309 return -ENODEV; in maple_cpc925_edac_setup()
316 printk(KERN_ERR "%s: Unable to get memory-controller reg\n", in maple_cpc925_edac_setup()
318 return -ENODEV; in maple_cpc925_edac_setup()
323 printk(KERN_ERR "%s: Unable to map memory-controller memory\n", in maple_cpc925_edac_setup()
325 return -ENOMEM; in maple_cpc925_edac_setup()
332 printk(KERN_ERR "%s: Non-CPC925(U3H) bridge revision: %02x\n", in maple_cpc925_edac_setup()
357 .halt = maple_halt, in define_machine()