/Linux-v4.19/drivers/spi/ |
D | spi-clps711x.c | 31 struct clk *spi_clk; member 77 clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz); in spi_clps711x_transfer_one() 138 hw->spi_clk = devm_clk_get(&pdev->dev, NULL); in spi_clps711x_probe() 139 if (IS_ERR(hw->spi_clk)) { in spi_clps711x_probe() 140 ret = PTR_ERR(hw->spi_clk); in spi_clps711x_probe()
|
D | spi-mt65xx.c | 98 struct clk *parent_clk, *sel_clk, *spi_clk; member 264 spi_clk_hz = clk_get_rate(mdata->spi_clk); in mtk_spi_prepare_transfer() 690 mdata->spi_clk = devm_clk_get(&pdev->dev, "spi-clk"); in mtk_spi_probe() 691 if (IS_ERR(mdata->spi_clk)) { in mtk_spi_probe() 692 ret = PTR_ERR(mdata->spi_clk); in mtk_spi_probe() 697 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_probe() 706 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_probe() 710 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_probe() 784 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_suspend() 796 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_resume() [all …]
|
D | spi-lantiq-ssc.c | 173 struct clk *spi_clk; member 271 u32 spi_clk, brt; in hw_setup_speed_hz() local 281 spi_clk = clk_get_rate(spi->fpi_clk) / 2; in hw_setup_speed_hz() 283 if (max_speed_hz > spi_clk) in hw_setup_speed_hz() 286 brt = spi_clk / max_speed_hz - 1; in hw_setup_speed_hz() 292 spi_clk, max_speed_hz, brt); in hw_setup_speed_hz() 873 spi->spi_clk = devm_clk_get(dev, "gate"); in lantiq_ssc_probe() 874 if (IS_ERR(spi->spi_clk)) { in lantiq_ssc_probe() 875 err = PTR_ERR(spi->spi_clk); in lantiq_ssc_probe() 878 err = clk_prepare_enable(spi->spi_clk); in lantiq_ssc_probe() [all …]
|
D | spi-xlp.c | 108 u32 spi_clk; /* spi clock frequency */ member 155 fdiv = DIV_ROUND_UP(xspi->spi_clk, spi->max_speed_hz); in xlp_spi_setup() 412 xspi->spi_clk = clk_get_rate(clk); in xlp_spi_probe()
|
D | spi-imx.c | 84 unsigned long spi_clk; member 430 unsigned int fin = spi_imx->spi_clk; in mx51_ecspi_clkdiv() 670 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, spi_imx->speed_hz, &clk) << in mx31_config() 767 reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, spi_imx->speed_hz, max, &clk) in mx21_config() 835 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, spi_imx->speed_hz, &clk) << in mx1_config() 1630 spi_imx->spi_clk = clk_get_rate(spi_imx->clk_per); in spi_imx_probe()
|
D | spi-axi-spi-engine.c | 169 unsigned int spi_clk = clk_get_rate(spi_engine->ref_clk); in spi_engine_gen_sleep() local 175 t = DIV_ROUND_UP(delay * spi_clk, (clk_div + 1) * 2); in spi_engine_gen_sleep()
|
D | spi-atmel.c | 289 unsigned long spi_clk; member 858 bus_hz = as->spi_clk; in atmel_spi_set_xfer_speed() 1662 as->spi_clk = clk_get_rate(clk); in atmel_spi_probe()
|
/Linux-v4.19/drivers/mtd/spi-nor/ |
D | mtk-quadspi.c | 117 struct clk *spi_clk; member 409 clk_disable_unprepare(mtk_nor->spi_clk); in mtk_nor_disable_clk() 417 ret = clk_prepare_enable(mtk_nor->spi_clk); in mtk_nor_enable_clk() 423 clk_disable_unprepare(mtk_nor->spi_clk); in mtk_nor_enable_clk() 485 mtk_nor->spi_clk = devm_clk_get(&pdev->dev, "spi"); in mtk_nor_drv_probe() 486 if (IS_ERR(mtk_nor->spi_clk)) in mtk_nor_drv_probe() 487 return PTR_ERR(mtk_nor->spi_clk); in mtk_nor_drv_probe()
|
/Linux-v4.19/Documentation/devicetree/bindings/spi/ |
D | spi_atmel.txt | 10 Required elements: "spi_clk" 26 clock-names = "spi_clk";
|
D | adi,axi-spi-engine.txt | 8 - clock-names : List of input clock names - "s_axi_aclk", "spi_clk" 25 clock-names = "s_axi_aclk", "spi_clk";
|
D | spi-xlp.txt | 27 clocks = <&spi_clk>;
|
D | spi-img-spfi.txt | 32 clocks = <&spi_clk>, <&system_clk>;
|
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/ |
D | lantiq,pinctrl-xway.txt | 73 exin0, exin1, exin2, jtag, spi_di, spi_do, spi_clk, spi_cs1, spi_cs2, 83 ebu wait, nand ale, nand cs1, nand cle, spi_di, spi_do, spi_clk, spi_cs1, 95 spi_di, spi_do, spi_clk, spi_cs1, spi_cs2, spi_cs3, spi_cs4, spi_cs5, 107 spi_di, spi_do, spi_clk, spi_cs1, spi_cs2, spi_cs3, spi_cs4, spi_cs5, 110 usif spi_do, usif spi_clk, usif spi_cs0, usif spi_cs1, usif spi_cs2, 123 spi_clk, spi_cs1, spi_cs4, spi_cs6, usif uart_rx, usif uart_tx, 124 usif spi_di, usif spi_do, usif spi_clk, usif spi_cs0, stp, clkout2,
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | ste-u300.dts | 214 spi_clk: spi_p_clk@26M { label 450 clocks = <&spi_clk>, <&spi_clk>;
|
D | at91-sama5d27_som1_ek.dts | 227 clock-names = "spi_clk"; 256 clock-names = "spi_clk";
|
D | at91sam9261.dtsi | 256 clock-names = "spi_clk"; 269 clock-names = "spi_clk";
|
D | rk3036.dtsi | 491 pinctrl-0 = <&spi_txd &spi_rxd &spi_clk &spi_cs0>; 745 spi_clk:spi-clk { label
|
D | picoxcell-pc3x3.dtsi | 54 spi_clk: clock@1 { label
|
D | at91sam9n12.dtsi | 967 clock-names = "spi_clk"; 983 clock-names = "spi_clk";
|
D | at91sam9260.dtsi | 926 clock-names = "spi_clk"; 939 clock-names = "spi_clk";
|
D | at91sam9263.dtsi | 944 clock-names = "spi_clk"; 957 clock-names = "spi_clk";
|
D | at91sam9x5.dtsi | 1125 clock-names = "spi_clk"; 1141 clock-names = "spi_clk";
|
D | sama5d4.dtsi | 920 clock-names = "spi_clk"; 1168 clock-names = "spi_clk"; 1188 clock-names = "spi_clk";
|
D | at91sam9g45.dtsi | 1179 clock-names = "spi_clk"; 1192 clock-names = "spi_clk";
|
/Linux-v4.19/Documentation/devicetree/bindings/mfd/ |
D | atmel-flexcom.txt | 54 clock-names = "spi_clk";
|