Home
last modified time | relevance | path

Searched refs:opal (Results 1 - 25 of 167) sorted by relevance

1234567

/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A DMakefile11 obj-y += setup.o opal-call.o opal-wrappers.o opal.o opal-async.o
12 obj-y += idle.o opal-rtc.o opal-nvram.o opal-lpc.o opal-flash.o
13 obj-y += rng.o opal-elog.o opal
[all...]
H A Dopal.c8 #define pr_fmt(fmt) "opal: " fmt
30 #include <asm/opal.h>
48 /* /sys/firmware/opal */
51 struct opal { struct
55 } opal; variable
116 if (depth != 1 || strcmp(uname, "ibm,opal") != 0) in early_init_dt_scan_opal()
119 basep = of_get_flat_dt_prop(node, "opal-base-address", &basesz); in early_init_dt_scan_opal()
120 entryp = of_get_flat_dt_prop(node, "opal-entry-address", &entrysz); in early_init_dt_scan_opal()
121 sizep = of_get_flat_dt_prop(node, "opal-runtime-size", &runtimesz); in early_init_dt_scan_opal()
126 opal in early_init_dt_scan_opal()
[all...]
H A Dopal-kmsg.c12 #include <asm/opal.h>
13 #include <asm/opal-api.h>
46 pr_err("opal: kmsg_dump_register failed; returned %d\n", rc); in opal_kmsg_init()
H A Dopal-wrappers.S12 #include <asm/opal.h>
31 LOAD_REG_ADDR(r11, opal)
/kernel/linux/linux-5.10/arch/powerpc/boot/
H A Dopal.c10 #include "../include/asm/opal-api.h"
12 /* Global OPAL struct used by opal-call.S */
13 struct opal { struct
16 } opal; variable
20 /* see opal-wrappers.S */
69 opal_node = finddevice("/ibm,opal"); in opal_init()
72 if (getprop(opal_node, "opal-base-address", &opal.base, sizeof(u64)) < 0) in opal_init()
74 opal.base = be64_to_cpu(opal in opal_init()
[all...]
H A Dopal-calls.S7 #include "../include/asm/opal-api.h"
19 ld r11,opal@got(r2)
37 /* Set opal return address */
47 /* load the opal call entry point and base */
48 ld r11,opal@got(r2)
/kernel/linux/linux-6.6/arch/powerpc/boot/
H A Dopal.c10 #include "../include/asm/opal-api.h"
12 /* Global OPAL struct used by opal-call.S */
13 struct opal { struct
16 } opal; variable
20 /* see opal-wrappers.S */
69 opal_node = finddevice("/ibm,opal"); in opal_init()
72 if (getprop(opal_node, "opal-base-address", &opal.base, sizeof(u64)) < 0) in opal_init()
74 opal.base = be64_to_cpu(opal in opal_init()
[all...]
H A Dopal-calls.S7 #include "../include/asm/opal-api.h"
19 LOAD_REG_ADDR(r11, opal)
37 /* Set opal return address */
47 /* load the opal call entry point and base */
48 LOAD_REG_ADDR(r11, opal)
/kernel/linux/linux-5.10/drivers/tty/hvc/
H A Dhvc_opal.c3 * opal driver interface to hvc_console.c
25 #include <asm/opal.h>
32 { .name = "serial", .compatible = "ibm,opal-console-raw" },
33 { .name = "serial", .compatible = "ibm,opal-console-hvsi" },
162 if (of_device_is_compatible(dev->dev.of_node, "ibm,opal-console-raw")) { in hvc_opal_probe()
166 "ibm,opal-console-hvsi")) { in hvc_opal_probe()
337 /* If the console wasn't in /chosen, try /ibm,opal */ in hvc_opal_init_early()
339 struct device_node *opal, *np; in hvc_opal_init_early() local
344 opal = of_find_node_by_path("/ibm,opal/console in hvc_opal_init_early()
[all...]
/kernel/linux/linux-6.6/drivers/tty/hvc/
H A Dhvc_opal.c3 * opal driver interface to hvc_console.c
25 #include <asm/opal.h>
32 { .name = "serial", .compatible = "ibm,opal-console-raw" },
33 { .name = "serial", .compatible = "ibm,opal-console-hvsi" },
162 if (of_device_is_compatible(dev->dev.of_node, "ibm,opal-console-raw")) { in hvc_opal_probe()
166 "ibm,opal-console-hvsi")) { in hvc_opal_probe()
337 /* If the console wasn't in /chosen, try /ibm,opal */ in hvc_opal_init_early()
339 struct device_node *opal, *np; in hvc_opal_init_early() local
344 opal = of_find_node_by_path("/ibm,opal/console in hvc_opal_init_early()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dopal.c8 #define pr_fmt(fmt) "opal: " fmt
30 #include <asm/opal.h>
48 /* /sys/firmware/opal */
51 struct opal { struct
55 } opal; variable
116 if (depth != 1 || strcmp(uname, "ibm,opal") != 0) in early_init_dt_scan_opal()
119 basep = of_get_flat_dt_prop(node, "opal-base-address", &basesz); in early_init_dt_scan_opal()
120 entryp = of_get_flat_dt_prop(node, "opal-entry-address", &entrysz); in early_init_dt_scan_opal()
121 sizep = of_get_flat_dt_prop(node, "opal-runtime-size", &runtimesz); in early_init_dt_scan_opal()
126 opal in early_init_dt_scan_opal()
[all...]
H A Dopal-kmsg.c12 #include <asm/opal.h>
13 #include <asm/opal-api.h>
46 pr_err("opal: kmsg_dump_register failed; returned %d\n", rc); in opal_kmsg_init()
H A Dopal-wrappers.S12 #include <asm/opal.h>
31 LOAD_REG_ADDR(r11, opal)
H A Dopal-nvram.c15 #include <asm/opal.h>
95 np = of_find_compatible_node(NULL, NULL, "ibm,opal-nvram"); in opal_nvram_init()
H A Dopal-power.c8 #define pr_fmt(fmt) "opal-power: " fmt
15 #include <asm/opal.h>
149 np = of_find_node_by_path("/ibm,opal/epow"); in opal_power_control_init()
151 supported = of_device_is_compatible(np, "ibm,opal-v3-epow"); in opal_power_control_init()
H A Dopal-secvar.c17 #include <asm/opal.h>
H A Dopal-sensor.c10 #include <asm/opal.h>
120 sensor = of_find_node_by_path("/ibm,opal/sensors"); in opal_sensor_init()
126 pdev = of_platform_device_create(sensor, "opal-sensor", NULL); in opal_sensor_init()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dibmpowernv.c19 #include <asm/opal.h>
53 "ibm,opal-sensor-cooling-fan",
54 "ibm,opal-sensor-amb-temp",
55 "ibm,opal-sensor-power-supply",
56 "ibm,opal-sensor-power"
304 if (!of_device_is_compatible(np, "ibm,opal-sensor")) in get_sensor_type()
342 groups = of_find_compatible_node(NULL, NULL, "ibm,opal-sensor-group"); in init_sensor_group_data()
394 groups = of_find_compatible_node(NULL, NULL, "ibm,opal-sensor-group"); in get_sensor_group()
436 struct device_node *opal, *np; in populate_attr_groups() local
444 opal in populate_attr_groups()
556 struct device_node *opal, *np; create_device_attrs() local
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dibmpowernv.c19 #include <asm/opal.h>
53 "ibm,opal-sensor-cooling-fan",
54 "ibm,opal-sensor-amb-temp",
55 "ibm,opal-sensor-power-supply",
56 "ibm,opal-sensor-power"
304 if (!of_device_is_compatible(np, "ibm,opal-sensor")) in get_sensor_type()
342 groups = of_find_compatible_node(NULL, NULL, "ibm,opal-sensor-group"); in init_sensor_group_data()
394 groups = of_find_compatible_node(NULL, NULL, "ibm,opal-sensor-group"); in get_sensor_group()
436 struct device_node *opal, *np; in populate_attr_groups() local
444 opal in populate_attr_groups()
556 struct device_node *opal, *np; create_device_attrs() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_hv_rm_xive.c17 #include <asm/opal.h>
/kernel/linux/linux-5.10/include/linux/
H A Dsed-opal.h13 #include <uapi/linux/sed-opal.h>
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dimc-pmu.h17 #include <asm/opal.h>
22 #define IMC_DTB_COMPAT "ibm,opal-in-memory-counters"
H A Dpnv-pci.h13 #include <asm/opal-api.h>
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dimc-pmu.h17 #include <asm/opal.h>
22 #define IMC_DTB_COMPAT "ibm,opal-in-memory-counters"
/kernel/linux/linux-6.6/include/linux/
H A Dsed-opal.h13 #include <uapi/linux/sed-opal.h>
28 #define OPAL_AUTH_KEY "opal-boot-pin"
29 #define OPAL_AUTH_KEY_PREV "opal-boot-pin-prev"

Completed in 10 milliseconds

1234567