| /openbsd-src/sys/dev/ofw/ |
| H A D | ofw_clock.c | 153 OF_getpropintarray(node, "clocks", clocks, len); in clock_get_frequency_idx() 194 OF_getpropintarray(node, "clocks", clocks, len); in clock_set_frequency_idx() 234 OF_getpropintarray(node, "clocks", clocks, len); in clock_do_enable_idx() 300 OF_getpropintarray(node, "assigned-clocks", clocks, clen); in clock_set_assigned() 305 OF_getpropintarray(node, "assigned-clock-parents", parents, plen); in clock_set_assigned() 310 OF_getpropintarray(node, "assigned-clock-rates", rates, rlen); in clock_set_assigned() 393 OF_getpropintarray(node, "resets", resets, len); in reset_do_assert_idx()
|
| H A D | ofw_regulator.c | 149 OF_getpropintarray(node, prop, gpio, len); in regulator_fixed_set() 389 OF_getpropintarray(node, "gpios", gpios, glen); in regulator_gpio_get() 390 OF_getpropintarray(node, "states", states, slen); in regulator_gpio_get() 454 OF_getpropintarray(node, "gpios", gpios, glen); in regulator_gpio_set() 455 OF_getpropintarray(node, "states", states, slen); in regulator_gpio_set()
|
| H A D | ofw_misc.c | 201 OF_getpropintarray(node, "reset-gpios", gpio, len); in phy_usb_nop_enable() 265 OF_getpropintarray(node, prop, phys, len); in phy_enable_prop_idx() 579 if (OF_getpropintarray(node, "reg", reg, sizeof(reg)) != sizeof(reg)) in nvmem_register_child() 582 OF_getpropintarray(node, "bits", bits, sizeof(bits)); in nvmem_register_child() 643 OF_getpropintarray(node, "nvmem-cells", phandles, len); in nvmem_read_cell() 718 OF_getpropintarray(node, "nvmem-cells", phandles, len); in nvmem_write_cell() 1086 OF_getpropintarray(node, "iommus", map, len); in iommu_device_lookup() 1133 OF_getpropintarray(node, "iommu-map", map, len); in iommu_device_lookup_pci() 1298 OF_getpropintarray(node, "mboxes", mboxes, len); in mbox_channel_idx() 1408 OF_getpropintarray(node, "hwlocks", hwlocks, len); in hwlock_do_lock_idx()
|
| /openbsd-src/sys/dev/fdt/ |
| H A D | imxehci.c | 133 if (OF_getpropintarray(faa->fa_node, "phys", in imxehci_attach() 135 if (OF_getpropintarray(faa->fa_node, "fsl,usbphy", in imxehci_attach() 140 if (OF_getpropintarray(faa->fa_node, "fsl,usbmisc", in imxehci_attach() 148 if (OF_getpropintarray(misc_node, "reg", misc_reg, in imxehci_attach() 349 if (OF_getpropintarray(node, "reg", phy_reg, in imx23_usb_init() 360 if (OF_getpropintarray(node, "fsl,anatop", in imx23_usb_init()
|
| H A D | pinctrl.c | 113 if (OF_getpropintarray(node, setting, values, sizeof(values)) != in pinctrl_set2() 127 if (OF_getpropintarray(node, setting, values, sizeof(values)) != in pinctrl_set4() 152 OF_getpropintarray(node, "pinctrl-single,pins", pins, len); in pinctrl_pinctrl()
|
| H A D | pwmbl.c | 88 OF_getpropintarray(faa->fa_node, "pwms", sc->sc_pwm, len); in pwmbl_attach() 94 OF_getpropintarray(faa->fa_node, "enable-gpios", gpios, len); in pwmbl_attach() 103 OF_getpropintarray(faa->fa_node, "brightness-levels", in pwmbl_attach()
|
| H A D | pwmfan.c | 80 OF_getpropintarray(faa->fa_node, "pwms", sc->sc_pwm, len); in pwmfan_attach() 91 OF_getpropintarray(faa->fa_node, "cooling-levels", in pwmfan_attach()
|
| H A D | pwmreg.c | 84 OF_getpropintarray(faa->fa_node, "pwms", sc->sc_pwm, len); in pwmreg_attach() 90 OF_getpropintarray(faa->fa_node, "pwm-dutycycle-range", in pwmreg_attach()
|
| H A D | if_dwqe_fdt.c | 256 OF_getpropintarray(node, "snps,blen", sc->sc_blen, sizeof(sc->sc_blen)); in dwqe_fdt_attach() 299 OF_getpropintarray(node, "reset-gpios", gpio, len); in dwqe_reset_phy() 311 OF_getpropintarray(sc->sc_node, "snps,reset-gpio", gpio, len); in dwqe_reset_phy() 315 OF_getpropintarray(sc->sc_node, "snps,reset-delays-us", delays, in dwqe_reset_phy() 377 if (OF_getpropintarray(sc->sc_node, "starfive,syscon", cells, in dwqe_setup_jh7110()
|
| H A D | rkpciephy.c | 130 OF_getpropintarray(node, "data-lanes", data_lanes, sizeof(data_lanes)); in rk3568_pciephy_enable() 182 num_lanes = OF_getpropintarray(node, "data-lanes", data_lanes, in rk3588_pciephy_enable()
|
| H A D | imxtmu.c | 144 if (OF_getpropintarray(faa->fa_node, "fsl,tmu-range", range, in imxtmu_attach() 158 OF_getpropintarray(faa->fa_node, "fsl,tmu-calibration", calibration, in imxtmu_attach()
|
| H A D | hidwusb.c | 76 if (OF_getpropintarray(node, "typc_vbus_int_gpio,typec-gpios", in hidwusb_attach()
|
| /openbsd-src/sys/arch/arm64/dev/ |
| H A D | aplpcie.c | 280 sc->sc_msi_rangelen = OF_getpropintarray(sc->sc_node, "msi-ranges", in aplpcie_attach() 321 OF_getpropintarray(sc->sc_node, "ranges", ranges, in aplpcie_attach() 378 if (OF_getpropintarray(sc->sc_node, "bus-range", bus_range, in aplpcie_attach() 455 if (OF_getpropintarray(node, "reg", reg, sizeof(reg)) != sizeof(reg)) in aplpcie_init_port() 491 OF_getpropintarray(node, "reset-gpios", reset_gpio, reset_gpiolen); in aplpcie_init_port() 498 OF_getpropintarray(node, "pwren-gpios", in aplpcie_init_port() 578 if (OF_getpropintarray(node, "reg", reg, sizeof(reg)) != sizeof(reg)) in aplpcie_t6020_init_port() 618 OF_getpropintarray(node, "reset-gpios", reset_gpio, reset_gpiolen); in aplpcie_t6020_init_port() 625 OF_getpropintarray(node, "pwren-gpios", in aplpcie_t6020_init_port() 710 if (OF_getpropintarray(child, "reg", in aplpcie_find_node() [all …]
|
| H A D | simplebus.c | 107 OF_getpropintarray(sc->sc_node, "ranges", sc->sc_ranges, in simplebus_attach() 121 OF_getpropintarray(sc->sc_node, "dma-ranges", in simplebus_attach() 220 OF_getpropintarray(node, "reg", reg, len); in simplebus_attach_node() 251 OF_getpropintarray(node, "interrupts", fa.fa_intr, len); in simplebus_attach_node()
|
| /openbsd-src/sys/arch/powerpc64/powerpc64/ |
| H A D | intr.c | 280 OF_getpropintarray(node, "interrupts-extended", cells, len); in fdt_intr_establish_idx_cpu() 282 OF_getpropintarray(node, "interrupts", cells, len); in fdt_intr_establish_idx_cpu() 352 if (OF_getpropintarray(node, "interrupt-map-mask", map_mask, in fdt_intr_establish_imap_cpu() 361 OF_getpropintarray(node, "interrupt-map", map, len); in fdt_intr_establish_imap_cpu()
|
| /openbsd-src/sys/arch/riscv64/dev/ |
| H A D | simplebus.c | 97 OF_getpropintarray(sc->sc_node, "ranges", sc->sc_ranges, in simplebus_attach() 110 OF_getpropintarray(sc->sc_node, "dma-ranges", in simplebus_attach() 195 OF_getpropintarray(node, "reg", reg, len); in simplebus_attach_node() 226 OF_getpropintarray(node, "interrupts", fa.fa_intr, len); in simplebus_attach_node()
|
| H A D | mainbus.c | 129 OF_getpropintarray(OF_peer(0), "ranges", sc->sc_ranges, in mainbus_attach() 210 OF_getpropintarray(node, "reg", reg, len); in mainbus_attach_node() 241 OF_getpropintarray(node, "interrupts", fa.fa_intr, len); in mainbus_attach_node()
|
| /openbsd-src/sys/arch/octeon/dev/ |
| H A D | simplebus.c | 99 OF_getpropintarray(sc->sc_node, "ranges", sc->sc_ranges, in simplebus_attach() 175 OF_getpropintarray(node, "reg", reg, len); in simplebus_attach_node() 206 OF_getpropintarray(node, "interrupts", fa.fa_intr, len); in simplebus_attach_node()
|
| /openbsd-src/sys/arch/powerpc64/dev/ |
| H A D | phb.c | 231 OF_getpropintarray(sc->sc_node, "ranges", ranges, rangeslen); in phb_attach() 269 if (OF_getpropintarray(sc->sc_node, "ibm,opal-m64-window", in phb_attach() 284 OF_getpropintarray(sc->sc_node, "ibm,opal-available-m64-ranges", in phb_attach() 315 OF_getpropintarray(sc->sc_node, "ibm,opal-msi-ranges", in phb_attach() 327 if (OF_getpropintarray(sc->sc_node, "bus-range", bus_range, in phb_attach() 440 OF_getpropintarray(sc->sc_node, "ibm,supported-tce-sizes", in phb_setup_tce_table() 513 if (OF_getpropintarray(child, "reg", in phb_find_node()
|
| H A D | mainbus.c | 150 OF_getpropintarray(OF_peer(0), "ranges", sc->sc_ranges, in mainbus_attach() 229 OF_getpropintarray(node, "reg", reg, len); in mainbus_attach_node() 260 OF_getpropintarray(node, "interrupts", fa.fa_intr, len); in mainbus_attach_node()
|
| /openbsd-src/sys/arch/riscv64/riscv64/ |
| H A D | intr.c | 115 OF_getpropintarray(node, "msi-map", map, len); in riscv_intr_map_msi() 356 OF_getpropintarray(node, "interrupts-extended", cells, len); in riscv_intr_establish_fdt_idx_cpu() 358 OF_getpropintarray(node, "interrupts", cells, len); in riscv_intr_establish_fdt_idx_cpu() 420 if (OF_getpropintarray(node, "interrupt-map-mask", map_mask, in riscv_intr_establish_fdt_imap_cpu() 429 OF_getpropintarray(node, "interrupt-map", map, len); in riscv_intr_establish_fdt_imap_cpu()
|
| /openbsd-src/sys/arch/arm/mainbus/ |
| H A D | mainbus.c | 131 OF_getpropintarray(OF_peer(0), "ranges", sc->sc_ranges, in mainbus_attach() 175 OF_getpropintarray(node, "reg", reg, len); in mainbus_attach_node() 206 OF_getpropintarray(node, "interrupts", fa.fa_intr, len); in mainbus_attach_node()
|
| /openbsd-src/sys/arch/arm/simplebus/ |
| H A D | simplebus.c | 98 OF_getpropintarray(sc->sc_node, "ranges", sc->sc_ranges, in simplebus_attach() 112 OF_getpropintarray(sc->sc_node, "dma-ranges", in simplebus_attach() 202 OF_getpropintarray(node, "reg", reg, len); in simplebus_attach_node() 233 OF_getpropintarray(node, "interrupts", fa.fa_intr, len); in simplebus_attach_node()
|
| /openbsd-src/sys/arch/armv7/marvell/ |
| H A D | mvmbus.c | 152 OF_getpropintarray(faa->fa_node, "pcie-mem-aperture", in mvmbus_attach() 154 OF_getpropintarray(faa->fa_node, "pcie-io-aperture", in mvmbus_attach() 189 OF_getpropintarray(faa->fa_node, "ranges", ranges, rangeslen); in mvmbus_parse_ranges()
|
| /openbsd-src/sys/arch/arm64/arm64/ |
| H A D | intr.c | 135 OF_getpropintarray(node, "msi-map", map, len); in arm_intr_map_msi() 374 OF_getpropintarray(node, "interrupts-extended", cells, len); in arm_intr_establish_fdt_idx_cpu() 376 OF_getpropintarray(node, "interrupts", cells, len); in arm_intr_establish_fdt_idx_cpu() 446 if (OF_getpropintarray(node, "interrupt-map-mask", map_mask, in arm_intr_establish_fdt_imap_cpu() 455 OF_getpropintarray(node, "interrupt-map", map, len); in arm_intr_establish_fdt_imap_cpu()
|