Home
last modified time | relevance | path

Searched refs:opal_node (Results 1 – 6 of 6) sorted by relevance

/arch/powerpc/boot/
Dopal.c67 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()
/arch/powerpc/platforms/powernv/
Dopal-irqchip.c179 struct device_node *dn, *opal_node; in opal_event_init() local
183 opal_node = of_find_node_by_path("/ibm,opal"); in opal_event_init()
184 if (!opal_node) { in opal_event_init()
207 opal_irq_count = of_irq_count(opal_node); in opal_event_init()
212 rc = of_property_count_u32_elems(opal_node, "opal-interrupts"); in opal_event_init()
241 rc = of_property_read_u32_index(opal_node, "opal-interrupts", in opal_event_init()
247 of_property_read_string_index(opal_node, "opal-interrupts-names", in opal_event_init()
260 rc = of_irq_to_resource_table(opal_node, opal_irqs, opal_irq_count); in opal_event_init()
293 of_node_put(opal_node); in opal_event_init()
Dopal-async.c248 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()
Dopal.c56 struct device_node *opal_node; variable
306 static int __init opal_message_init(struct device_node *opal_node) in opal_message_init() argument
310 ret = of_property_read_u32(opal_node, "opal-msg-size", &opal_msg_size); in opal_message_init()
897 if (of_property_read_u32(opal_node, "ibm,heartbeat-ms", in opal_init_heartbeat()
910 opal_node = of_find_node_by_path("/ibm,opal"); in opal_init()
911 if (!opal_node) { in opal_init()
928 opal_message_init(opal_node); in opal_init()
Dopal-msglog.c141 opal_memcons = memcons_init(opal_node, "ibm,opal-memcons"); in opal_msglog_init()
/arch/powerpc/include/asm/
Dopal.h27 extern struct device_node *opal_node;