Home
last modified time | relevance | path

Searched refs:phandle (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/netbsd-src/sys/dev/fdt/
H A Dfdt_pinctrl.c55 fdtbus_register_pinctrl_config(device_t dev, int phandle, in fdtbus_register_pinctrl_config() argument
62 pc->pc_phandle = phandle; in fdtbus_register_pinctrl_config()
71 fdtbus_pinctrl_lookup(int phandle) in fdtbus_pinctrl_lookup() argument
76 if (pc->pc_phandle == phandle) in fdtbus_pinctrl_lookup()
84 fdtbus_pinctrl_set_config_index(int phandle, u_int index) in fdtbus_pinctrl_set_config_index() argument
94 pinctrl_data = fdtbus_get_prop(phandle, buf, &len); in fdtbus_pinctrl_set_config_index()
119 fdtbus_pinctrl_set_config(int phandle, const char *cfgname) in fdtbus_pinctrl_set_config() argument
124 err = fdtbus_get_index(phandle, "pinctrl-names", cfgname, &index); in fdtbus_pinctrl_set_config()
128 return fdtbus_pinctrl_set_config_index(phandle, index); in fdtbus_pinctrl_set_config()
132 fdtbus_pinctrl_has_config(int phandle, const char *cfgname) in fdtbus_pinctrl_has_config() argument
[all …]
H A Dfdt_subr.c78 fdtbus_phandle2offset(int phandle) in fdtbus_phandle2offset() argument
82 if (phandle == -1) in fdtbus_phandle2offset()
83 phandle = dtoff; in fdtbus_phandle2offset()
85 if (phandle < dtoff) in fdtbus_phandle2offset()
88 return phandle - dtoff; in fdtbus_phandle2offset()
100 fdtbus_get_addr_cells(int phandle) in fdtbus_get_addr_cells() argument
104 if (of_getprop_uint32(phandle, "#address-cells", &addr_cells)) in fdtbus_get_addr_cells()
111 fdtbus_get_size_cells(int phandle) in fdtbus_get_size_cells() argument
115 if (of_getprop_uint32(phandle, "#size-cells", &size_cells)) in fdtbus_get_size_cells()
122 fdtbus_get_phandle(int phandle, const char *prop) in fdtbus_get_phandle() argument
[all …]
H A Dfdt_intr.c87 fdtbus_get_interrupt_parent(int phandle) in fdtbus_get_interrupt_parent() argument
89 int iparent = phandle; in fdtbus_get_interrupt_parent()
97 if (phandle != iparent && of_hasprop(iparent, "interrupt-controller")) in fdtbus_get_interrupt_parent()
110 if (phandle != iparent && of_hasprop(iparent, "interrupt-map")) in fdtbus_get_interrupt_parent()
123 fdtbus_get_interrupt_controller(int phandle) in fdtbus_get_interrupt_controller() argument
127 if (ic->ic_phandle == phandle) in fdtbus_get_interrupt_controller()
134 fdtbus_register_interrupt_controller(device_t dev, int phandle, in fdtbus_register_interrupt_controller() argument
141 ic->ic_phandle = phandle; in fdtbus_register_interrupt_controller()
181 fdtbus_intr_parent(int phandle) in fdtbus_intr_parent() argument
183 return fdtbus_get_interrupt_parent(phandle); in fdtbus_intr_parent()
[all …]
H A Dfdt_clock.c54 fdtbus_register_clock_controller(device_t dev, int phandle, in fdtbus_register_clock_controller() argument
61 cc->cc_phandle = phandle; in fdtbus_register_clock_controller()
66 fdtbus_clock_assign(phandle); in fdtbus_register_clock_controller()
72 fdtbus_get_clock_controller(int phandle) in fdtbus_get_clock_controller() argument
77 if (cc->cc_phandle == phandle) in fdtbus_get_clock_controller()
85 fdtbus_clock_get_index_prop(int phandle, u_int index, const char *prop) in fdtbus_clock_get_index_prop() argument
93 p = fdtbus_get_prop(phandle, prop, &len); in fdtbus_clock_get_index_prop()
118 fdtbus_clock_get_index(int phandle, u_int index) in fdtbus_clock_get_index() argument
120 return fdtbus_clock_get_index_prop(phandle, index, "clocks"); in fdtbus_clock_get_index()
124 fdtbus_clock_get_prop(int phandle, const char *clkname, const char *prop) in fdtbus_clock_get_prop() argument
[all …]
H A Dfdt_openfirm.c38 OF_peer(int phandle) in OF_peer() argument
47 if (phandle == 0) { in OF_peer()
51 off = fdtbus_phandle2offset(phandle); in OF_peer()
69 OF_child(int phandle) in OF_child() argument
78 off = fdtbus_phandle2offset(phandle); in OF_child()
96 OF_parent(int phandle) in OF_parent() argument
105 off = fdtbus_phandle2offset(phandle); in OF_parent()
119 OF_nextprop(int phandle, const char *prop, void *nextprop) in OF_nextprop() argument
130 off = fdtbus_phandle2offset(phandle); in OF_nextprop()
169 OF_getprop(int phandle, const char *prop, void *buf, int buflen) in OF_getprop() argument
[all …]
H A Ddw_apb_uart.c79 const int phandle = faa->faa_phandle; in dw_apb_uart_attach() local
88 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in dw_apb_uart_attach()
93 if (of_getprop_uint32(phandle, "reg-shift", &reg_shift)) { in dw_apb_uart_attach()
97 if (of_getprop_uint32(phandle, "reg-io-width", &reg_iowidth)) { in dw_apb_uart_attach()
104 ssc->ssc_clk = fdtbus_clock_get_index(phandle, 0); in dw_apb_uart_attach()
114 ssc->ssc_pclk = fdtbus_clock_get(phandle, "apb_pclk"); in dw_apb_uart_attach()
120 ssc->ssc_rst = fdtbus_reset_get_index(phandle, 0); in dw_apb_uart_attach()
139 if (!fdtbus_intr_str(phandle, 0, intrstr, sizeof(intrstr))) { in dw_apb_uart_attach()
144 ssc->ssc_ih = fdtbus_intr_establish_xname(phandle, 0, in dw_apb_uart_attach()
158 dw_apb_uart_console_match(int phandle) in dw_apb_uart_console_match() argument
[all …]
H A Dfixedregulator.c95 const int phandle = faa->faa_phandle; in fixedregulator_attach() local
100 sc->sc_phandle = phandle; in fixedregulator_attach()
104 len = OF_getproplen(phandle, "regulator-name"); in fixedregulator_attach()
107 if (OF_getprop(phandle, "regulator-name", name, len) == len) { in fixedregulator_attach()
118 if (of_getprop_bool(phandle, "gpio-open-drain")) in fixedregulator_attach()
121 sc->sc_always_on = of_getprop_bool(phandle, "regulator-always-on"); in fixedregulator_attach()
122 sc->sc_boot_on = of_getprop_bool(phandle, "regulator-boot-on"); in fixedregulator_attach()
123 sc->sc_enable_val = of_getprop_bool(phandle, "enable-active-high"); in fixedregulator_attach()
124 if (of_getprop_uint32(phandle, "startup-delay-us", &sc->sc_delay) != 0) in fixedregulator_attach()
126 of_getprop_uint32(phandle, "regulator-min-microvolt", &sc->sc_min_uvol); in fixedregulator_attach()
[all …]
H A Dfdt_powerdomain.c62 fdtbus_register_powerdomain_controller(device_t dev, int phandle, in fdtbus_register_powerdomain_controller() argument
68 if (of_getprop_uint32(phandle, "#power-domain-cells", &cells) != 0) { in fdtbus_register_powerdomain_controller()
75 pdc->pdc_phandle = phandle; in fdtbus_register_powerdomain_controller()
85 fdtbus_powerdomain_lookup(int phandle) in fdtbus_powerdomain_lookup() argument
90 if (pdc->pdc_phandle == phandle) in fdtbus_powerdomain_lookup()
98 fdtbus_powerdomain_enable_internal(int phandle, int index, bool enable) in fdtbus_powerdomain_enable_internal() argument
101 const uint32_t *pds = fdtbus_get_prop(phandle, "power-domains", &len); in fdtbus_powerdomain_enable_internal()
127 fdtbus_powerdomain_enable_index(int phandle, int index) in fdtbus_powerdomain_enable_index() argument
129 return fdtbus_powerdomain_enable_internal(phandle, index, true); in fdtbus_powerdomain_enable_index()
133 fdtbus_powerdomain_disable_index(int phandle, int index) in fdtbus_powerdomain_disable_index() argument
[all …]
H A Dfdt_i2c.c51 fdtbus_register_i2c_controller(i2c_tag_t tag, int phandle) in fdtbus_register_i2c_controller() argument
57 i2c->i2c_phandle = phandle; in fdtbus_register_i2c_controller()
65 fdtbus_get_i2c_controller(int phandle) in fdtbus_get_i2c_controller() argument
70 if (i2c->i2c_phandle == phandle) in fdtbus_get_i2c_controller()
78 fdtbus_i2c_get_tag(int phandle) in fdtbus_i2c_get_tag() argument
82 i2c = fdtbus_get_i2c_controller(phandle); in fdtbus_i2c_get_tag()
90 fdtbus_i2c_acquire(int phandle, const char *prop) in fdtbus_i2c_acquire() argument
94 i2c_phandle = fdtbus_get_phandle(phandle, prop); in fdtbus_i2c_acquire()
102 fdtbus_attach_i2cbus(device_t dev, int phandle, i2c_tag_t tag, cfprint_t print) in fdtbus_attach_i2cbus() argument
110 if (of_getprop_uint32(phandle, "#address-cells", &address_cells)) in fdtbus_attach_i2cbus()
[all …]
H A Ddwcmmc_fdt.c109 const int phandle = faa->faa_phandle; in dwcmmc_fdt_attach()
116 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in dwcmmc_fdt_attach()
121 if (of_getprop_uint32(phandle, "fifo-depth", &fifo_depth)) in dwcmmc_fdt_attach()
124 fdtbus_clock_assign(phandle); in dwcmmc_fdt_attach()
126 esc->sc_clk_biu = fdtbus_clock_get(phandle, "biu"); in dwcmmc_fdt_attach()
131 esc->sc_clk_ciu = fdtbus_clock_get(phandle, "ciu"); in dwcmmc_fdt_attach()
148 esc->sc_vqmmc = fdtbus_regulator_acquire(phandle, "vqmmc-supply"); in dwcmmc_fdt_attach()
149 esc->sc_pwrseq = fdtbus_mmc_pwrseq_get(phandle); in dwcmmc_fdt_attach()
160 esc->sc_conf = of_compatible_lookup(phandle, compat_data)->data; in dwcmmc_fdt_attach()
162 if (of_getprop_uint32(phandle, "ma in dwcmmc_fdt_attach()
108 const int phandle = faa->faa_phandle; dwcmmc_fdt_attach() local
[all...]
H A Dfdtbus.c103 const int phandle = faa->faa_phandle; in fdt_match() local
107 match = of_compatible_match(phandle, compat_data); in fdt_match()
112 if (!of_hasprop(phandle, "compatible")) { in fdt_match()
113 if (OF_finddevice("/clocks") == phandle) in fdt_match()
115 if (OF_finddevice("/chosen") == phandle) in fdt_match()
120 return OF_finddevice("/") == phandle; in fdt_match()
128 const int phandle = faa->faa_phandle; in fdt_attach() local
132 sc->sc_phandle = phandle; in fdt_attach()
137 descr = fdtbus_get_string(phandle, "model"); in fdt_attach()
144 fdt_add_bus(self, phandle, &sc->sc_faa); in fdt_attach()
[all …]
H A Ddwc3_fdt.c126 dwc3_fdt_enable_phy(struct xhci_softc *sc, const int phandle, u_int rev) in dwc3_fdt_enable_phy() argument
133 if (of_getprop_uint32(phandle, "snps,phyif-utmi-bits", &phyif_utmi_bits) != 0) { in dwc3_fdt_enable_phy()
134 phy_type = fdtbus_get_string(phandle, "phy_type"); in dwc3_fdt_enable_phy()
151 if (of_hasprop(phandle, "snps,dis-enblslpm-quirk") || in dwc3_fdt_enable_phy()
152 of_hasprop(phandle, "snps,dis_enblslpm_quirk")) in dwc3_fdt_enable_phy()
154 if (of_hasprop(phandle, "snps,dis-u2-freeclk-exists-quirk")) in dwc3_fdt_enable_phy()
156 if (of_hasprop(phandle, "snps,dis_u2_susphy_quirk")) in dwc3_fdt_enable_phy()
162 if (of_hasprop(phandle, "snps,dis_u3_susphy_quirk")) in dwc3_fdt_enable_phy()
164 if (of_hasprop(phandle, "snps,dis-del-phy-power-chg-quirk")) in dwc3_fdt_enable_phy()
170 if (of_hasprop(phandle, "snps,dis-tx-ipgap-linecheck-quirk")) in dwc3_fdt_enable_phy()
[all …]
/netbsd-src/sys/arch/arm/amlogic/
H A Dmeson_dwmac.c69 meson_dwmac_reset_eth(const int phandle) in meson_dwmac_reset_eth() argument
76 pin_reset = fdtbus_gpio_acquire(phandle, "snps,reset-gpio", in meson_dwmac_reset_eth()
81 reset_delay_us = fdtbus_get_prop(phandle, "snps,reset-delays-us", &len); in meson_dwmac_reset_eth()
85 reset_active_low = of_hasprop(phandle, "snps,reset-active-low"); in meson_dwmac_reset_eth()
100 meson_dwmac_reset_phy(const int phandle) in meson_dwmac_reset_phy() argument
107 pin_reset = fdtbus_gpio_acquire(phandle, "reset-gpios", in meson_dwmac_reset_phy()
112 reset_assert_us = fdtbus_get_prop(phandle, "reset-assert-us", &len); in meson_dwmac_reset_phy()
115 reset_deassert_us = fdtbus_get_prop(phandle, "reset-deassert-us", &len); in meson_dwmac_reset_phy()
118 reset_gpios = fdtbus_get_prop(phandle, "reset-gpios", &len); in meson_dwmac_reset_phy()
135 meson_dwmac_set_mode_rgmii(int phandle, bus_space_tag_ argument
159 meson_dwmac_set_mode_rmii(int phandle,bus_space_tag_t bst,bus_space_handle_t bsh) meson_dwmac_set_mode_rmii() argument
193 const int phandle = faa->faa_phandle; meson_dwmac_attach() local
[all...]
/netbsd-src/sys/arch/arm/nxp/
H A Dif_enet_imx.c79 const int phandle = faa->faa_phandle; in enet_attach() local
86 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in enet_attach()
97 sc->sc_clk_ipg = fdtbus_clock_get(phandle, "ipg"); in enet_attach()
102 sc->sc_clk_enet = fdtbus_clock_get(phandle, "ahb"); in enet_attach()
107 sc->sc_clk_enet_ref = fdtbus_clock_get(phandle, "ptp"); in enet_attach()
113 if (fdtbus_clock_enable(phandle, "enet_clk_ref", false) != 0) { in enet_attach()
117 if (fdtbus_clock_enable(phandle, "enet_out", false) != 0) { in enet_attach()
130 sc->sc_imxtype = of_compatible_lookup(phandle, compat_data)->value; in enet_attach()
132 sc->sc_phyid = enet_phy_id(sc, phandle); in enet_attach()
134 const char *phy_mode = fdtbus_get_string(phandle, "phy-mode"); in enet_attach()
[all …]
H A Dimx6_pcie.c113 const int phandle = faa->faa_phandle; in imx6_pcie_attach() local
131 (bool)of_compatible_lookup(phandle, compat_data)->value; in imx6_pcie_attach()
133 if (fdtbus_get_reg_byname(phandle, "dbi", &addr, &size) != 0) { in imx6_pcie_attach()
141 if (fdtbus_get_reg_byname(phandle, "config", &addr, &size) != 0) { in imx6_pcie_attach()
155 ifsc->sc_pin_reset = fdtbus_gpio_acquire(phandle, "reset-gpio", in imx6_pcie_attach()
162 sc->sc_clk_pcie = fdtbus_clock_get(phandle, "pcie"); in imx6_pcie_attach()
167 sc->sc_clk_pcie_bus = fdtbus_clock_get(phandle, "pcie_bus"); in imx6_pcie_attach()
172 sc->sc_clk_pcie_phy = fdtbus_clock_get(phandle, "pcie_phy"); in imx6_pcie_attach()
178 if (of_hasprop(phandle, "vpcie-supply")) { in imx6_pcie_attach()
179 ifsc->sc_reg_vpcie = fdtbus_regulator_acquire(phandle, "vpcie-supply"); in imx6_pcie_attach()
[all …]
/netbsd-src/sys/arch/arm/rockchip/
H A Drk_eqos.c180 rk3588_eqos_clock_selection(struct rk_eqos_softc *rk_sc, int phandle) in rk3588_eqos_clock_selection() argument
185 clock_in_out = fdtbus_get_string(phandle, "clock_in_out"); in rk3588_eqos_clock_selection()
212 rk3588_eqos_get_unit(struct rk_eqos_softc *rk_sc, int phandle) in rk3588_eqos_get_unit() argument
217 fdtbus_get_reg(phandle, 0, &addr, &size); in rk3588_eqos_get_unit()
236 rk_eqos_reset_gpio(const int phandle) in rk_eqos_reset_gpio() argument
243 if (!of_hasprop(phandle, "snps,reset-gpio")) in rk_eqos_reset_gpio()
246 pin_reset = fdtbus_gpio_acquire(phandle, "snps,reset-gpio", in rk_eqos_reset_gpio()
251 reset_delay_us = fdtbus_get_prop(phandle, "snps,reset-delays-us", &len); in rk_eqos_reset_gpio()
255 reset_active_low = of_hasprop(phandle, "snps,reset-active-low"); in rk_eqos_reset_gpio()
268 rk_eqos_init_props(struct eqos_softc *sc, int phandle) in rk_eqos_init_props() argument
[all …]
H A Drk3399_pcie.c171 clock_enable_all(int phandle) in clock_enable_all() argument
174 struct clk * clk = fdtbus_clock_get_index(phandle, i); in clock_enable_all()
183 reset_assert(int phandle, const char *name) in reset_assert() argument
187 rst = fdtbus_reset_get(phandle, name); in reset_assert()
193 reset_deassert(int phandle, const char *name) in reset_deassert() argument
197 rst = fdtbus_reset_get(phandle, name); in reset_deassert()
222 const int phandle = phsc->sc_phandle; in rkpcie_attach() local
247 regulator = fdtbus_regulator_acquire(phandle, "vpcie3v3-supply"); in rkpcie_attach()
253 fdtbus_clock_assign(phandle); in rkpcie_attach()
254 clock_enable_all(phandle); in rkpcie_attach()
[all...]
/netbsd-src/sys/arch/arm/sunxi/
H A Dsunxi_gmac.c61 sunxi_gmac_reset(const int phandle) in sunxi_gmac_reset() argument
68 pin_reset = fdtbus_gpio_acquire(phandle, "snps,reset-gpio", GPIO_PIN_OUTPUT); in sunxi_gmac_reset()
72 reset_delay_us = fdtbus_get_prop(phandle, "snps,reset-delays-us", &len); in sunxi_gmac_reset()
76 reset_active_low = of_hasprop(phandle, "snps,reset-active-low"); in sunxi_gmac_reset()
97 sunxi_gmac_get_phyid(int phandle) in sunxi_gmac_get_phyid() argument
102 phy_phandle = fdtbus_get_phandle(phandle, "phy"); in sunxi_gmac_get_phyid()
104 phy_phandle = fdtbus_get_phandle(phandle, "phy-handle"); in sunxi_gmac_get_phyid()
127 const int phandle = faa->faa_phandle; in sunxi_gmac_attach() local
136 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) { in sunxi_gmac_attach()
149 if (!fdtbus_intr_str(phandle, in sunxi_gmac_attach()
[all...]
/netbsd-src/sys/arch/arm/ofw/
H A Dopenfirm.c89 OF_peer(int phandle) in OF_peer() argument
95 int phandle; in OF_peer() member
103 args.phandle = phandle; in OF_peer()
110 OF_child(int phandle) in OF_child() argument
116 int phandle; in OF_child() member
124 args.phandle = phandle; in OF_child()
131 OF_parent(int phandle) in OF_parent() argument
137 int phandle; in OF_parent() member
145 args.phandle = phandle; in OF_parent()
159 int phandle; in OF_instance_to_package() member
[all …]
/netbsd-src/sys/arch/arm/nvidia/
H A Dtegra_pinmux.c101 tegra_pinmux_lookup_func(const struct tegra_pinmux_pins *pin_def, const int phandle) in tegra_pinmux_lookup_func() argument
106 func = fdtbus_get_string(phandle, "nvidia,function"); in tegra_pinmux_lookup_func()
127 const struct tegra_pinmux_pins *pin_def, const int phandle) in tegra_pinmux_pin_config() argument
136 const int func = tegra_pinmux_lookup_func(pin_def, phandle); in tegra_pinmux_pin_config()
141 if (of_getprop_uint32(phandle, "nvidia,pull", &val) == 0) { in tegra_pinmux_pin_config()
145 if (of_getprop_uint32(phandle, "nvidia,tristate", &val) == 0) { in tegra_pinmux_pin_config()
149 if (of_getprop_uint32(phandle, "nvidia,open-drain", &val) == 0) { in tegra_pinmux_pin_config()
153 if (of_getprop_uint32(phandle, "nvidia,lock", &val) == 0) { in tegra_pinmux_pin_config()
157 if (of_getprop_uint32(phandle, "nvidia,io-hv", &val) == 0) { in tegra_pinmux_pin_config()
161 if (of_getprop_uint32(phandle, "nvidia,high-speed-mode", &val) == 0) { in tegra_pinmux_pin_config()
[all …]
/netbsd-src/sys/arch/arm/fdt/
H A Dcpu_fdt.c68 const int phandle = faa->faa_phandle; in cpu_fdt_match() local
71 device_type = fdtbus_get_string(phandle, "device_type"); in cpu_fdt_match()
80 const int phandle = faa->faa_phandle; in cpu_fdt_attach() local
85 cap_ptr = fdtbus_get_prop(phandle, "capacity-dmips-mhz", &len); in cpu_fdt_attach()
94 if (fdtbus_get_reg(phandle, 0, &cpuid, NULL) != 0) in cpu_fdt_attach()
200 arm_fdt_cpu_enable_method(int phandle) in arm_fdt_cpu_enable_method() argument
204 method = fdtbus_get_string(phandle, "enable-method"); in arm_fdt_cpu_enable_method()
212 arm_fdt_cpu_enable(int phandle, struct arm_cpu_method *acm) in arm_fdt_cpu_enable() argument
214 return acm->acm_enable(phandle); in arm_fdt_cpu_enable()
285 cpu_enable_nullop(int phandle) in cpu_enable_nullop() argument
[all …]
H A Dpsci_fdt.c92 const int phandle = faa->faa_phandle; in psci_fdt_attach() local
94 psci_fdt_init(phandle); in psci_fdt_attach()
103 fdtbus_register_power_controller(self, phandle, in psci_fdt_attach()
108 psci_fdt_init(const int phandle) in psci_fdt_init() argument
113 method = fdtbus_get_string(phandle, "method"); in psci_fdt_init()
114 psciver = fdtbus_get_string(phandle, "compatible"); in psci_fdt_init()
135 if (of_getprop_uint32(phandle, "cpu_on", &val) == 0) in psci_fdt_init()
147 const int phandle = OF_finddevice("/psci"); in psci_fdt_preinit() local
148 if (phandle == -1) { in psci_fdt_preinit()
153 return psci_fdt_init(phandle); in psci_fdt_preinit()
/netbsd-src/sys/arch/powerpc/powerpc/
H A Dopenfirm.c86 OF_peer(int phandle) in OF_peer() argument
92 int phandle; in OF_peer() member
103 args.phandle = phandle; in OF_peer()
114 OF_child(int phandle) in OF_child() argument
120 int phandle; in OF_child() member
131 args.phandle = phandle; in OF_child()
142 OF_parent(int phandle) in OF_parent() argument
148 int phandle; in OF_parent() member
159 args.phandle = phandle; in OF_parent()
177 int phandle; in OF_instance_to_package() member
[all …]
/netbsd-src/external/gpl2/dtc/dist/tests/
H A Dget_phandle.c23 uint32_t phandle; in check_phandle() local
29 phandle = fdt_get_phandle(fdt, offset); in check_phandle()
30 if (phandle != checkhandle) in check_phandle()
32 path, phandle, checkhandle); in check_phandle()
37 uint32_t phandle; in check_phandle_unique() local
49 phandle = fdt_get_phandle(fdt, offset); in check_phandle_unique()
51 if (phandle == checkhandle) in check_phandle_unique()
58 uint32_t max, phandle; in main() local
82 err = fdt_generate_phandle(fdt, &phandle); in main()
86 check_phandle_unique(fdt, phandle); in main()
/netbsd-src/sys/arch/ofppc/stand/ofwboot/
H A DLocore.c119 int phandle; in OF_finddevice() member
129 return args.phandle; in OF_finddevice()
140 int phandle; in OF_instance_to_package() member
150 return args.phandle; in OF_instance_to_package()
160 int phandle; in OF_getprop() member
171 args.phandle = handle; in OF_getprop()
188 int phandle; in OF_setprop() member
199 args.phandle = handle; in OF_setprop()
566 OF_peer(int phandle) in OF_peer() argument
572 int phandle; in OF_peer() member
[all …]

12345678910>>...19