Home
last modified time | relevance | path

Searched +full:used +full:- +full:by +full:- +full:rtas (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/powerpc/ofw/
H A Drtas.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
45 #include <machine/rtas.h>
50 static MALLOC_DEFINE(M_RTAS, "rtas", "Run Time Abstraction Service");
58 static phandle_t rtas; variable
66 * After the VM is up, allocate RTAS memory and instantiate it
81 rtas = OF_finddevice("/rtas"); in rtas_setup()
82 if (rtas == -1) { in rtas_setup()
83 rtas = 0; in rtas_setup()
[all …]
H A Dofwcall64.S1 /*-
2 * Copyright (C) 2009-2011 Nathan Whitehorn
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
47 .llong 0, 0, 0, 0, 0 /* msr/sprg0-3 used in Open Firmware */
53 .llong 0 /* RTAS entry point */
63 * Open Firmware Real-mode Entry Point. This is a huge pain.
69 stdu %r1,-208(%r1)
74 * at most 32 bits wide: lr, cr, r2, r13-r31, the old MSR. These
111 addi %r7,%r7,OFWSTKSZ-40
131 * use the 32-bit ABI stack frame format. The pointer to the current
[all …]
H A Dofwcall32.S1 /*-
2 * Copyright (C) 2009-2011 Nathan Whitehorn
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
40 .long 0, 0, 0, 0, 0 /* msr/sprg0-3 used in Open Firmware */
46 .long 0 /* RTAS entry point */
71 addis %r7,%r7,(_GLOBAL_OFFSET_TABLE_-1b)@ha
72 addi %r7,%r7,(_GLOBAL_OFFSET_TABLE_-1b)@l
96 addi %r1,%r1,(OFWSTKSZ-32)
124 * RTAS Entry Point. Similar to the OF one, but simpler (no separate stack)
137 addis %r7,%r7,(_GLOBAL_OFFSET_TABLE_-1b)@ha
[all …]
/freebsd/sys/powerpc/pseries/
H A Drtas_pci.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
51 #include <machine/rtas.h>
114 if (OF_getproplen(ofw_bus_get_node(dev), "used-by-rtas") < 0) in rtaspci_probe()
119 device_set_desc(dev, "RTAS Host-PCI bridge"); in rtaspci_probe()
130 if (OF_getencprop(ofw_bus_get_node(dev), "reg", (pcell_t *)&sc->sc_pcir, in rtaspci_attach()
131 sizeof(sc->sc_pcir)) == -1) in rtaspci_attach()
134 sc->read_pci_config = rtas_token_lookup("read-pci-config"); in rtaspci_attach()
135 sc->write_pci_config = rtas_token_lookup("write-pci-config"); in rtaspci_attach()
[all …]
H A Dxics.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
48 #include <machine/rtas.h>
57 #include "phyp-hvcall.h"
60 #define XICP_PRIORITY 5 /* Random non-zero number */
62 #define MAX_XICP_IRQS (1<<24) /* 24-bit XIRR field */
124 /* XXX: inefficient -- hash table? tree? */
149 * real address by nature that the bus width is smaller than 64-bits. Placing
156 EARLY_DRIVER_MODULE(xicp, ofwbus, xicp_driver, 0, 0, BUS_PASS_INTERRUPT - 1);
[all …]
/freebsd/sys/contrib/device-tree/Bindings/serial/
H A D8250.yaml3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - devicetree@vger.kernel.org
13 - $ref: serial.yaml#
14 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
15 - if:
17 - required:
18 - aspeed,lpc-io-reg
19 - required:
20 - aspeed,lpc-interrupts
[all …]
/freebsd/sys/arm/allwinner/
H A Daw_rsb.c1 /*-
13 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
27 * Allwinner RSB (Reduced Serial Bus) and P2WI (Push-Pull Two Wire Interface)
103 { "allwinner,sun6i-a31-p2wi", A31_P2WI },
104 { "allwinner,sun8i-a23-rsb", A23_RSB },
110 { -1, 0 }
114 * Device address to Run-time address mappings.
116 * Run-time address (RTA) is an 8-bit value used to address the device during
117 * a read or write transaction. The following are valid RTAs:
147 #define RSB_LOCK(sc) mtx_lock(&(sc)->mtx)
[all …]