Lines Matching defs:handle
225 cycv_clkmgr_clock_parse(struct cycv_clkmgr_softc *sc, int handle, u_int clkno)
233 clk->base.name = fdtbus_get_string(handle, "name");
236 clk->id = handle;
242 of_compatible_lookup(handle, clock_types);
248 if (of_getprop_uint32(handle, "clock-frequency",
253 if (fdtbus_get_reg(handle, 0, &clk->u.pll_addr, NULL) != 0)
257 if (of_getprop_uint32(handle, "fixed-divider",
260 } else if (fdtbus_get_reg(handle, 0, &clk->u.div.addr, NULL) ==
265 } else if ((buf = fdtbus_get_prop(handle, "div-reg", &len)) !=
284 if ((buf = fdtbus_get_prop(handle, "clk-gate", &len)) != NULL) {
290 buf = fdtbus_get_prop(handle, "clocks", &len);
298 fdtbus_register_clock_controller(sc->sc_dev, handle,
304 clk->base.name, handle);