Searched full:clk_spi (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/dev/spibus/controller/rockchip/ |
H A D | rk_spi.c | 106 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 D | cv18xx.dtsi | 240 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 D | brcm,bcm2835-spi.txt | 20 clocks = <&clk_spi>;
|
H A D | brcm,bcm2835-spi.yaml | 47 clocks = <&clk_spi>;
|
/freebsd/sys/contrib/device-tree/include/dt-bindings/clock/ |
H A D | lpc18xx-ccu.h | 63 #define CLK_SPI 0xA00 macro
|
H A D | thead,th1520-clk-ap.h | 64 #define CLK_SPI 54 macro
|
/freebsd/sys/contrib/device-tree/src/riscv/thead/ |
H A D | th1520.dtsi | 253 clocks = <&clk CLK_SPI>;
|
/freebsd/sys/dev/clk/rockchip/ |
H A D | rk3328_cru.c | 293 GATE(SCLK_SPI, "clk_spi", "clk_spi_c", 2, 7),
|