Searched refs:OF_getprop (Results 51 - 75 of 129) sorted by relevance

123456

/freebsd-13-stable/sys/dev/ofw/
H A Dopenfirm.c387 OF_getprop(phandle_t package, const char *propname, void *buf, size_t buflen) function
404 retval = OF_getprop(node, propname, buf, len);
425 if ((rv = OF_getprop(node, propname, buf, len)) != -1)
456 if (OF_getprop(package, propname, *buf, len) == -1) {
482 if (OF_getprop(package, propname, *buf, len) == -1) {
H A Dofw_console.c100 OF_getprop(options, "output-device", output,
H A Dofw_disk.c155 OF_getprop(ofd, "file", fname, sizeof(fname));
H A Dopenfirm.h109 ssize_t OF_getprop(phandle_t node, const char *propname, void *buf,
H A Dofw_cpu.c366 rv = OF_getprop(child, "device_type", device_type,
383 OF_getprop(child, "status", status, sizeof(status));
/freebsd-13-stable/sys/arm/xilinx/
H A Dzy7_qspi.c546 if (OF_getprop(node, "ref-clock", &cell, sizeof(cell)) > 0)
552 if (OF_getprop(node, "spi-clock", &cell, sizeof(cell)) > 0)
556 if (OF_getprop(node, "is-stacked", &cell, sizeof(cell)) > 0 &&
560 } else if (OF_getprop(node, "is-dual", &cell, sizeof(cell)) > 0 &&
563 if (OF_getprop(node, "is-dio", &cell, sizeof(cell)) > 0 &&
H A Dzy7_ehci.c162 if (OF_getprop(node, "phy_type", buf, sizeof(buf)) > 0) {
180 if (OF_getprop(node, "phy_vbus_ext", buf, sizeof(buf)) >= 0) {
H A Dzy7_spi.c395 if (OF_getprop(node, "ref-clock", &cell, sizeof(cell)) > 0)
401 if (OF_getprop(node, "spi-clock", &cell, sizeof(cell)) > 0)
/freebsd-13-stable/sys/dev/iicbus/mux/
H A Dltc430x.c179 if (OF_getprop(node, "freebsd,ctlreg2", &val, sizeof(val)) > 0) {
/freebsd-13-stable/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c115 if (OF_getprop(chosen, "stdout-path", buf, sizeof(buf)) > 0)
124 OF_getprop(node, "device_type", buf, sizeof(buf));
407 if (OF_getprop(chosen, "stdout-path", buf, sizeof(buf)) > 0) {
420 OF_getprop(node, "device_type", buf, sizeof(buf));
/freebsd-13-stable/sys/mips/ingenic/
H A Djz4780_machdep.c233 if (OF_getprop(chosen, "bootargs", buf, sizeof(buf)) != -1)
/freebsd-13-stable/sys/powerpc/powermac/
H A Dnvbl.c106 if (OF_getprop(handle, "backlight-control", &control, sizeof(control)) < 0)
H A Dfcu.c464 prop_len = OF_getprop(child, "hwctrl-location", location,
481 prop_len = OF_getprop(child, "hwctrl-type", type, sizeof(type));
493 prop_len = OF_getprop(child, "hwctrl-id", id, sizeof(id));
498 prop_len = OF_getprop(child, "hwctrl-zone", id, sizeof(id));
/freebsd-13-stable/sys/riscv/riscv/
H A Didentcpu.c154 len = OF_getprop(node, "riscv,isa", isa, sizeof(isa));
/freebsd-13-stable/sys/dev/usb/controller/
H A Ddwc_otg_fdt.c108 if (OF_getprop(ofw_bus_get_node(dev), "dr_mode",
/freebsd-13-stable/sys/dev/sound/macio/
H A Di2s.c176 if (subchild != 0 && OF_getprop(subchild, "name", subchildname,
329 if (OF_getprop(node, "audio-gpio", bname, sizeof(bname)) > 2)
345 OF_getprop(node, "audio-gpio-active-state",
591 OF_getprop(n, "name", name, sizeof(name));
H A Ddavbus.c543 OF_getprop(sc->soundnode, "compatible", compat, sizeof(compat));
544 OF_getprop(sc->soundnode, "device-id", &sc->device_id, sizeof(u_int));
/freebsd-13-stable/sys/arm/rockchip/
H A Drk32xx_mp.c147 rv = OF_getprop(node, "enable-method", method, sizeof(method));
/freebsd-13-stable/stand/libofw/
H A Dopenfirm.c86 if (OF_getprop(chosen, "memory", &memory, sizeof(memory)) == -1) {
93 if (OF_getprop(chosen, "mmu", &mmu, sizeof(mmu)) == -1)
101 if (OF_getprop(options, "real-mode?", mode, sizeof(mode)) > 0 &&
269 OF_getprop(phandle_t package, const char *propname, void *buf, int buflen) function
/freebsd-13-stable/sys/powerpc/ofw/
H A Dofw_machdep.c437 fdtmapsize = OF_getprop(chosen, "fdtmemreserv", fdtmap, sizeof(fdtmap));
479 if (OF_getprop(phandle, "name", name, sizeof(name)) <= 0)
520 if (OF_getprop(phandle, "name", name, sizeof(name)) <= 0)
838 OF_getprop(node, "local-mac-address", addr, ETHER_ADDR_LEN);
/freebsd-13-stable/share/man/man9/
H A DMakefile229 OF_getprop.9 \
1653 MLINKS+=OF_getprop.9 OF_getencprop.9 \
1654 OF_getprop.9 OF_getencprop_alloc.9 \
1655 OF_getprop.9 OF_getencprop_alloc_multi.9 \
1656 OF_getprop.9 OF_getprop_alloc.9 \
1657 OF_getprop.9 OF_getprop_alloc_multi.9 \
1658 OF_getprop.9 OF_getproplen.9 \
1659 OF_getprop.9 OF_hasprop.9 \
1660 OF_getprop.9 OF_nextprop.9 \
1661 OF_getprop
[all...]
/freebsd-13-stable/sys/powerpc/powernv/
H A Dopal_console.c202 if (OF_getprop(node, "device_type", buf, sizeof(buf)) <= 0)
214 if (OF_getprop(node, "compatible", buf, sizeof(buf)) <= 0)
257 if (OF_getprop(chosen, "linux,stdout-path", buf, sizeof(buf)) <= 0)
/freebsd-13-stable/sys/powerpc/powerpc/
H A Dcpu.c416 res = OF_getprop(dev, "name", buf, sizeof(buf));
423 res = OF_getprop(cpu, "device_type", buf,
431 if (OF_getprop(cpu, "ibm,extended-clock-frequency",
/freebsd-13-stable/sys/mips/nlm/
H A Dxlp_machdep.c293 if (OF_getprop(chosen, "cpumask", &mask, sizeof(mask)) != -1) {
297 if (OF_getprop(chosen, "bootargs", buf, sizeof(buf)) != -1)
/freebsd-13-stable/sys/dev/tsec/
H A Dif_tsec_fdt.c369 i = OF_getprop(sc->node, "local-mac-address", (void *)hw.addr, 6);
376 i = OF_getprop(sc->node, "mac-address", (void *)hw.addr, 6);

Completed in 270 milliseconds

123456