Searched refs:spi_clk (Results 1 – 23 of 23) sorted by relevance
/linux-4.4.14/drivers/spi/ |
D | spi-clps711x.c | 33 struct clk *spi_clk; member 68 clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz); in spi_clps711x_transfer_one() 157 hw->spi_clk = devm_clk_get(&pdev->dev, NULL); in spi_clps711x_probe() 158 if (IS_ERR(hw->spi_clk)) { in spi_clps711x_probe() 159 ret = PTR_ERR(hw->spi_clk); in spi_clps711x_probe()
|
D | spi-mt65xx.c | 90 struct clk *parent_clk, *sel_clk, *spi_clk; member 222 spi_clk_hz = clk_get_rate(mdata->spi_clk); in mtk_spi_prepare_transfer() 597 mdata->spi_clk = devm_clk_get(&pdev->dev, "spi-clk"); in mtk_spi_probe() 598 if (IS_ERR(mdata->spi_clk)) { in mtk_spi_probe() 599 ret = PTR_ERR(mdata->spi_clk); in mtk_spi_probe() 604 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_probe() 616 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_probe() 659 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_probe() 691 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_suspend() 703 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_resume() [all …]
|
D | spi-xlp.c | 107 u32 spi_clk; /* spi clock frequency */ member 154 fdiv = DIV_ROUND_UP(xspi->spi_clk, spi->max_speed_hz); in xlp_spi_setup() 410 xspi->spi_clk = clk_get_rate(clk); in xlp_spi_probe()
|
D | spi-imx.c | 94 unsigned long spi_clk; member 328 ctrl |= mx51_ecspi_clkdiv(spi_imx->spi_clk, config->speed_hz, &clk); in mx51_ecspi_config() 461 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, config->speed_hz) << in mx31_config() 540 reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, config->speed_hz, max) << in mx21_config() 605 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, config->speed_hz) << in mx1_config() 1191 spi_imx->spi_clk = clk_get_rate(spi_imx->clk_per); in spi_imx_probe()
|
/linux-4.4.14/Documentation/devicetree/bindings/spi/ |
D | spi_atmel.txt | 10 Required elements: "spi_clk" 26 clock-names = "spi_clk";
|
D | spi-xlp.txt | 28 clocks = <&spi_clk>;
|
D | spi-img-spfi.txt | 32 clocks = <&spi_clk>, <&system_clk>;
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | ste-u300.dts | 213 spi_clk: spi_p_clk@26M { label 459 clocks = <&spi_clk>, <&spi_clk>;
|
D | at91sam9261.dtsi | 243 clock-names = "spi_clk"; 256 clock-names = "spi_clk";
|
D | picoxcell-pc3x3.dtsi | 54 spi_clk: clock@1 { label
|
D | at91sam9263.dtsi | 923 clock-names = "spi_clk"; 936 clock-names = "spi_clk";
|
D | at91sam9260.dtsi | 908 clock-names = "spi_clk"; 921 clock-names = "spi_clk";
|
D | at91sam9n12.dtsi | 943 clock-names = "spi_clk"; 959 clock-names = "spi_clk";
|
D | sama5d2.dtsi | 819 clock-names = "spi_clk"; 977 clock-names = "spi_clk";
|
D | at91sam9x5.dtsi | 1091 clock-names = "spi_clk"; 1107 clock-names = "spi_clk";
|
D | sama5d4.dtsi | 914 clock-names = "spi_clk"; 1160 clock-names = "spi_clk"; 1180 clock-names = "spi_clk";
|
D | at91sam9g45.dtsi | 1144 clock-names = "spi_clk"; 1157 clock-names = "spi_clk";
|
D | sama5d3.dtsi | 126 clock-names = "spi_clk"; 277 clock-names = "spi_clk";
|
D | at91rm9200.dtsi | 919 clock-names = "spi_clk";
|
D | at91sam9rl.dtsi | 248 clock-names = "spi_clk";
|
/linux-4.4.14/Documentation/devicetree/bindings/mfd/ |
D | atmel-flexcom.txt | 54 clock-names = "spi_clk";
|
/linux-4.4.14/arch/arm/mach-davinci/ |
D | dm644x.c | 220 static struct clk spi_clk = { variable 315 CLK(NULL, "spi", &spi_clk),
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
D | at32ap700x.c | 1177 DEV_CLK(spi_clk, atmel_spi0, pba, 0); 1184 DEV_CLK(spi_clk, atmel_spi1, pba, 1);
|