Home
last modified time | relevance | path

Searched refs:OF_getproplen (Results 1 – 25 of 40) sorted by relevance

12

/netbsd-src/sys/dev/fdt/
H A Dfdt_pinctrl.c171 len = OF_getproplen(phandle, "pins"); in fdtbus_pinctrl_parse_pins()
184 len = OF_getproplen(phandle, "groups"); in fdtbus_pinctrl_parse_groups()
198 len = OF_getproplen(phandle, "pinmux"); in fdtbus_pinctrl_parse_pinmux()
H A Dfixedregulator.c104 len = OF_getproplen(phandle, "regulator-name"); in fixedregulator_attach()
131 sc->sc_always_on = OF_getproplen(phandle, "gpio") <= 0; in fixedregulator_attach()
H A Dpwmregulator.c107 len = OF_getproplen(phandle, "regulator-name"); in pwmregulator_attach()
142 len = OF_getproplen(phandle, "voltage-table"); in pwmregulator_attach()
H A Dfdt_reset.c91 len = OF_getproplen(phandle, "resets"); in fdtbus_reset_get_index()
H A Dfdt_phy.c91 len = OF_getproplen(phandle, "phys"); in fdtbus_phy_get_index()
H A Dfdt_dma.c91 len = OF_getproplen(phandle, "dmas"); in fdtbus_dma_get_index()
H A Dfdt_mbox.c106 len = OF_getproplen(phandle, "mboxes"); in fdtbus_mbox_get_index()
H A Dfdt_openfirm.c229 OF_getproplen(int phandle, const char *prop) in OF_getproplen() function
H A Dgpioregulator.c116 len = OF_getproplen(phandle, "regulator-name"); in gpioregulator_attach()
/netbsd-src/sys/dev/ofw/
H A Dofw_subr.c206 proplen = OF_getproplen(phandle, "compatible"); in of_compatible()
263 proplen = OF_getproplen(phandle, "compatible"); in of_compatible_match()
311 proplen = OF_getproplen(phandle, "compatible"); in of_compatible_lookup()
566 return OF_getproplen(node, prop) >= 0; in of_hasprop()
H A Dofw_network_subr.c103 len = OF_getproplen(phandle, "supported-network-types"); in of_network_decode_media()
142 len = OF_getproplen(phandle, "chosen-network-type"); in of_network_decode_media()
H A Dopenfirm.h84 int OF_getproplen(int, const char *);
H A Dofw_i2c_subr.c67 len = OF_getproplen(node, "reg"); in of_enter_i2c_devs()
H A Dofw_spi_subr.c61 len = OF_getproplen(node, "reg"); in of_enter_spi_devs()
H A Dopenfirmio.c168 len = OF_getproplen(node, name); in openfirmioctl()
/netbsd-src/sys/dev/ofisa/
H A Dofisa.c155 len = OF_getproplen(phandle, "reg"); in ofisa_reg_count()
225 len = OF_getproplen(phandle, "interrupts"); in ofisa_intr_count()
307 len = OF_getproplen(phandle, "dma"); in ofisa_dma_count()
402 int n = OF_getproplen(phandle, "model"); in ofisa_print_model()
H A Dcom_ofisa.c137 if (OF_getproplen(aa->oba.oba_phandle, "clock-frequency") != 4 || in com_ofisa_attach()
/netbsd-src/sys/arch/shark/ofw/
H A Dofw.c438 if ((dhcplen = OF_getproplen(chosen, "bootp-response")) > 0) { in get_fw_dhcp_data()
529 bp_len = OF_getproplen(chosen, "bootpath"); in ofw_getbootinfo()
530 ba_len = OF_getproplen(chosen, "bootargs"); in ofw_getbootinfo()
692 (size = OF_getproplen(root, "dma-ranges")) <= 0 || in ofw_configisadma()
1462 (mem_len = OF_getproplen(phandle, "reg")) <= 0 || in ofw_getphysmeminfo()
1465 (avail_len = OF_getproplen(phandle, "available")) <= 0 || in ofw_getphysmeminfo()
1558 (len = OF_getproplen(mmu_phandle, "translations")) <= 0 || in ofw_getvirttranslations()
H A Dif_cs_ofisa_machdep.c161 if (OF_getproplen(aa->oba.oba_phandle, "no-dma") >= 0) in cs_ofisa_md_dma_fixup()
H A Dofrom.c108 if (OF_getproplen(oba->oba_phandle, "reg") != 8) { in ofromattach()
/netbsd-src/sys/arch/sparc/sparc/
H A Dpci_fixup.c113 len = OF_getproplen(node, "reg"); in mspcic_pci_scan()
249 len = OF_getproplen(node, "class-code"); in mspcic_pci_scan()
259 len = OF_getproplen(node, "reg"); in mspcic_pci_scan()
H A Dpci_machdep.c266 len = OF_getproplen(node, "reg"); in pci_make_tag()
275 len = OF_getproplen(node, "class-code"); in pci_make_tag()
/netbsd-src/sys/arch/macppc/macppc/
H A Dmemory.c100 sc->sc_len = OF_getproplen(ca->ca_node, "dimm-info"); in memory_attach()
/netbsd-src/sys/arch/arm/samsung/
H A Dexynos_pinctrl.c170 int pins_len = OF_getproplen(pc->pc_phandle, "samsung,pins"); in exynos_do_config()
/netbsd-src/sys/arch/sparc64/dev/
H A Dvbus.c159 len = OF_getproplen(parent, "interrupt-map-mask"); in vbus_intr_map()

12