HomeSort by: relevance | last modified time | path
    Searched defs:clk_clkin (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/arch/arm/amlogic/
meson_sdio.c 158 struct clk *clk_clkin, *clk_core; local in function:meson_sdio_attach
179 clk_clkin = fdtbus_clock_get(phandle, "clkin");
180 if (clk_clkin == NULL) {
236 sc->sc_bus_freq = clk_get_rate(clk_clkin);
238 aprint_normal_dev(self, "core %u Hz, clkin %u Hz\n", clk_get_rate(clk_core), clk_get_rate(clk_clkin));
meson_sdhc.c 179 struct clk *clk_clkin, *clk_core; local in function:meson_sdhc_attach
203 clk_clkin = fdtbus_clock_get(phandle, "clkin");
204 if (clk_clkin == NULL) {
205 clk_clkin = fdtbus_clock_get(phandle, "clkin2");
207 if (clk_clkin == NULL || clk_enable(clk_clkin) != 0) {
263 sc->sc_bus_freq = clk_get_rate(clk_clkin);
265 aprint_normal_dev(self, "core %u Hz, clkin %u Hz\n", clk_get_rate(clk_core), clk_get_rate(clk_clkin));

Completed in 44 milliseconds