Home
last modified time | relevance | path

Searched full:clk_spi (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c106 clk_t clk_spi; member
178 clk_set_freq(sc->clk_spi, 2 * freq, CLK_SET_ROUND_DOWN); in rk_spi_hw_setup()
179 clk_get_freq(sc->clk_spi, &sc->max_freq); in rk_spi_hw_setup()
312 error = clk_get_by_ofw_name(dev, 0, "spiclk", &sc->clk_spi); in rk_spi_attach()
322 error = clk_enable(sc->clk_spi); in rk_spi_attach()
327 clk_get_freq(sc->clk_spi, &sc->max_freq); in rk_spi_attach()
358 if (sc->clk_spi != NULL) in rk_spi_detach()
359 clk_release(sc->clk_spi); in rk_spi_detach()
/freebsd/sys/contrib/device-tree/src/riscv/sophgo/
H A Dcv18xx.dtsi240 clocks = <&clk CLK_SPI>, <&clk CLK_APB_SPI0>;
251 clocks = <&clk CLK_SPI>, <&clk CLK_APB_SPI1>;
262 clocks = <&clk CLK_SPI>, <&clk CLK_APB_SPI2>;
273 clocks = <&clk CLK_SPI>, <&clk CLK_APB_SPI3>;
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dbrcm,bcm2835-spi.txt20 clocks = <&clk_spi>;
H A Dbrcm,bcm2835-spi.yaml47 clocks = <&clk_spi>;
/freebsd/sys/contrib/device-tree/include/dt-bindings/clock/
H A Dlpc18xx-ccu.h63 #define CLK_SPI 0xA00 macro
H A Dthead,th1520-clk-ap.h64 #define CLK_SPI 54 macro
/freebsd/sys/contrib/device-tree/src/riscv/thead/
H A Dth1520.dtsi253 clocks = <&clk CLK_SPI>;
/freebsd/sys/dev/clk/rockchip/
H A Drk3328_cru.c293 GATE(SCLK_SPI, "clk_spi", "clk_spi_c", 2, 7),