/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-slave-mt27xx.c | 69 struct clk *spi_clk; member 414 mdata->spi_clk = devm_clk_get(&pdev->dev, "spi"); in mtk_spi_slave_probe() 415 if (IS_ERR(mdata->spi_clk)) { in mtk_spi_slave_probe() 416 ret = PTR_ERR(mdata->spi_clk); in mtk_spi_slave_probe() 421 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_slave_probe() 433 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_slave_probe() 437 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_slave_probe() 468 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_slave_suspend() 480 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_slave_resume() 489 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_slave_resume() [all …]
|
D | spi-clps711x.c | 27 struct clk *spi_clk; member 54 clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz); in spi_clps711x_transfer_one() 114 hw->spi_clk = devm_clk_get(&pdev->dev, NULL); in spi_clps711x_probe() 115 if (IS_ERR(hw->spi_clk)) { in spi_clps711x_probe() 116 ret = PTR_ERR(hw->spi_clk); in spi_clps711x_probe()
|
D | spi-mt65xx.c | 100 struct clk *parent_clk, *sel_clk, *spi_clk; member 293 spi_clk_hz = clk_get_rate(mdata->spi_clk); in mtk_spi_prepare_transfer() 733 mdata->spi_clk = devm_clk_get(&pdev->dev, "spi-clk"); in mtk_spi_probe() 734 if (IS_ERR(mdata->spi_clk)) { in mtk_spi_probe() 735 ret = PTR_ERR(mdata->spi_clk); in mtk_spi_probe() 740 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_probe() 749 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_probe() 753 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_probe() 836 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_suspend() 848 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_resume() [all …]
|
D | spi-lantiq-ssc.c | 168 struct clk *spi_clk; member 269 u32 spi_clk, brt; in hw_setup_speed_hz() local 279 spi_clk = clk_get_rate(spi->fpi_clk) / 2; in hw_setup_speed_hz() 281 if (max_speed_hz > spi_clk) in hw_setup_speed_hz() 284 brt = spi_clk / max_speed_hz - 1; in hw_setup_speed_hz() 290 spi_clk, max_speed_hz, brt); in hw_setup_speed_hz() 940 spi->spi_clk = devm_clk_get(dev, "gate"); in lantiq_ssc_probe() 941 if (IS_ERR(spi->spi_clk)) { in lantiq_ssc_probe() 942 err = PTR_ERR(spi->spi_clk); in lantiq_ssc_probe() 945 err = clk_prepare_enable(spi->spi_clk); in lantiq_ssc_probe() [all …]
|
D | spi-mtk-nor.c | 104 struct clk *spi_clk; member 673 clk_disable_unprepare(sp->spi_clk); in mtk_nor_disable_clk() 681 ret = clk_prepare_enable(sp->spi_clk); in mtk_nor_enable_clk() 687 clk_disable_unprepare(sp->spi_clk); in mtk_nor_enable_clk() 749 struct clk *spi_clk, *ctlr_clk; in mtk_nor_probe() local 757 spi_clk = devm_clk_get(&pdev->dev, "spi"); in mtk_nor_probe() 758 if (IS_ERR(spi_clk)) in mtk_nor_probe() 759 return PTR_ERR(spi_clk); in mtk_nor_probe() 795 sp->spi_clk = spi_clk; in mtk_nor_probe() 813 sp->spi_freq = clk_get_rate(sp->spi_clk); in mtk_nor_probe()
|
D | spi-xlp.c | 100 u32 spi_clk; /* spi clock frequency */ member 147 fdiv = DIV_ROUND_UP(xspi->spi_clk, spi->max_speed_hz); in xlp_spi_setup() 400 xspi->spi_clk = clk_get_rate(clk); in xlp_spi_probe()
|
D | spi-at91-usart.c | 97 u32 spi_clk; member 331 DIV_ROUND_UP(aus->spi_clk, xfer->speed_hz)); in at91_usart_spi_set_xfer_speed() 580 aus->spi_clk = clk_get_rate(clk); in at91_usart_spi_probe()
|
D | spi-imx.c | 93 unsigned long spi_clk; member 435 unsigned int fin = spi_imx->spi_clk; in mx51_ecspi_clkdiv() 721 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, spi_imx->spi_bus_clk, &clk) << in mx31_prepare_transfer() 826 reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, spi_imx->spi_bus_clk, max, &clk) in mx21_prepare_transfer() 900 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, spi_imx->spi_bus_clk, &clk) << in mx1_prepare_transfer() 1712 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 185 t = DIV_ROUND_UP(delay * spi_clk, (clk_div + 1) * 2); in spi_engine_gen_sleep()
|
D | spi-atmel.c | 261 unsigned long spi_clk; member 831 bus_hz = as->spi_clk; in atmel_spi_set_xfer_speed() 1174 return (as->spi_clk / 1000000 * value) >> 5; in atmel_word_delay_csr() 1641 as->spi_clk = clk_get_rate(clk); in atmel_spi_probe()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
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_atmel.txt | 10 Required elements: "spi_clk" 26 clock-names = "spi_clk";
|
D | spi-xlp.txt | 27 clocks = <&spi_clk>;
|
D | spi-img-spfi.txt | 32 clocks = <&spi_clk>, <&system_clk>;
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | sama5d2.dtsi | 348 clock-names = "spi_clk"; 548 clock-names = "spi_clk"; 618 clock-names = "spi_clk"; 754 clock-names = "spi_clk"; 828 clock-names = "spi_clk"; 898 clock-names = "spi_clk"; 969 clock-names = "spi_clk";
|
D | ste-u300.dts | 214 spi_clk: spi_p_clk@26M { label 450 clocks = <&spi_clk>, <&spi_clk>;
|
D | at91sam9261.dtsi | 261 clock-names = "spi_clk"; 274 clock-names = "spi_clk";
|
D | picoxcell-pc3x3.dtsi | 45 spi_clk: clock@1 { label
|
D | rk3036.dtsi | 491 pinctrl-0 = <&spi_txd &spi_rxd &spi_clk &spi_cs0>; 745 spi_clk:spi-clk { label
|
D | at91sam9n12.dtsi | 704 clock-names = "spi_clk"; 720 clock-names = "spi_clk";
|
D | at91sam9260.dtsi | 682 clock-names = "spi_clk"; 695 clock-names = "spi_clk";
|
D | at91sam9263.dtsi | 695 clock-names = "spi_clk"; 708 clock-names = "spi_clk";
|
D | at91sam9x5.dtsi | 851 clock-names = "spi_clk"; 867 clock-names = "spi_clk";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
D | atmel-flexcom.txt | 54 clock-names = "spi_clk";
|