Searched refs:clk_mod (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/sys/mips/ingenic/
H A Djz4780_uart.c58 clk_t clk_mod; member in struct:jz4780_uart_softc
152 rv = clk_get_by_ofw_name(dev, 0, "module", &sc->clk_mod);
157 rv = clk_enable(sc->clk_mod);
196 if (sc->clk_mod != NULL) {
197 clk_release(sc->clk_mod);
/freebsd-13-stable/sys/arm/allwinner/
H A Daw_spi.c147 clk_t clk_mod; member in struct:aw_spi_softc
227 error = clk_get_by_ofw_name(dev, 0, "mod", &sc->clk_mod);
237 error = clk_enable(sc->clk_mod);
263 if (sc->clk_mod != NULL)
264 clk_release(sc->clk_mod);
535 clk_set_freq(sc->clk_mod, 2 * clock, CLK_SET_ROUND_DOWN);
536 clk_get_freq(sc->clk_mod, &sc->mod_freq);

Completed in 125 milliseconds