Searched refs:opal_node (Results 1 – 5 of 5) sorted by relevance
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-irqchip.c | 176 struct device_node *dn, *opal_node; in opal_event_init() local 180 opal_node = of_find_node_by_path("/ibm,opal"); in opal_event_init() 181 if (!opal_node) { in opal_event_init() 204 opal_irq_count = of_irq_count(opal_node); in opal_event_init() 209 rc = of_property_count_u32_elems(opal_node, "opal-interrupts"); in opal_event_init() 238 rc = of_property_read_u32_index(opal_node, "opal-interrupts", in opal_event_init() 244 of_property_read_string_index(opal_node, "opal-interrupts-names", in opal_event_init() 257 rc = of_irq_to_resource_table(opal_node, opal_irqs, opal_irq_count); in opal_event_init() 291 of_node_put(opal_node); in opal_event_init()
|
H A D | opal-async.c | 248 struct device_node *opal_node; in opal_async_comp_init() local 252 opal_node = of_find_node_by_path("/ibm,opal"); in opal_async_comp_init() 253 if (!opal_node) { in opal_async_comp_init() 259 async = of_get_property(opal_node, "opal-msg-async-num", NULL); in opal_async_comp_init() 262 __func__, opal_node); in opal_async_comp_init() 287 of_node_put(opal_node); in opal_async_comp_init()
|
H A D | opal-msglog.c | 143 opal_memcons = memcons_init(opal_node, "ibm,opal-memcons"); in opal_msglog_init()
|
/linux/arch/powerpc/boot/ |
H A D | opal.c | 67 void *opal_node; in opal_init() local 69 opal_node = finddevice("/ibm,opal"); in opal_init() 70 if (!opal_node) in opal_init() 72 if (getprop(opal_node, "opal-base-address", &opal.base, sizeof(u64)) < 0) in opal_init() 75 if (getprop(opal_node, "opal-entry-address", &opal.entry, sizeof(u64)) < 0) in opal_init()
|
/linux/arch/powerpc/include/asm/ |
H A D | opal.h | 27 extern struct device_node *opal_node;
|