Searched refs:spi_clk (Results 1 - 10 of 10) sorted by relevance
/linux-4.4.14/drivers/spi/ |
H A D | spi-clps711x.c | 33 struct clk *spi_clk; member in struct:spi_clps711x_data 68 clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz); spi_clps711x_transfer_one() 157 hw->spi_clk = devm_clk_get(&pdev->dev, NULL); spi_clps711x_probe() 158 if (IS_ERR(hw->spi_clk)) { spi_clps711x_probe() 159 ret = PTR_ERR(hw->spi_clk); spi_clps711x_probe()
|
H A D | spi-mt65xx.c | 90 struct clk *parent_clk, *sel_clk, *spi_clk; member in struct:mtk_spi 222 spi_clk_hz = clk_get_rate(mdata->spi_clk); mtk_spi_prepare_transfer() 597 mdata->spi_clk = devm_clk_get(&pdev->dev, "spi-clk"); mtk_spi_probe() 598 if (IS_ERR(mdata->spi_clk)) { mtk_spi_probe() 599 ret = PTR_ERR(mdata->spi_clk); mtk_spi_probe() 604 ret = clk_prepare_enable(mdata->spi_clk); mtk_spi_probe() 606 dev_err(&pdev->dev, "failed to enable spi_clk (%d)\n", ret); mtk_spi_probe() 616 clk_disable_unprepare(mdata->spi_clk); mtk_spi_probe() 659 clk_disable_unprepare(mdata->spi_clk); mtk_spi_probe() 691 clk_disable_unprepare(mdata->spi_clk); mtk_spi_suspend() 703 ret = clk_prepare_enable(mdata->spi_clk); mtk_spi_resume() 705 dev_err(dev, "failed to enable spi_clk (%d)\n", ret); mtk_spi_resume() 712 clk_disable_unprepare(mdata->spi_clk); mtk_spi_resume() 724 clk_disable_unprepare(mdata->spi_clk); mtk_spi_runtime_suspend() 735 ret = clk_prepare_enable(mdata->spi_clk); mtk_spi_runtime_resume() 737 dev_err(dev, "failed to enable spi_clk (%d)\n", ret); mtk_spi_runtime_resume()
|
H A D | spi-xlp.c | 107 u32 spi_clk; /* spi clock frequency */ member in struct:xlp_spi_priv 154 fdiv = DIV_ROUND_UP(xspi->spi_clk, spi->max_speed_hz); xlp_spi_setup() 410 xspi->spi_clk = clk_get_rate(clk); xlp_spi_probe()
|
H A D | spi-imx.c | 94 unsigned long spi_clk; member in struct:spi_imx_data 328 ctrl |= mx51_ecspi_clkdiv(spi_imx->spi_clk, config->speed_hz, &clk); mx51_ecspi_config() 461 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, config->speed_hz) << mx31_config() 540 reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, config->speed_hz, max) << mx21_config() 605 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, config->speed_hz) << mx1_config() 1191 spi_imx->spi_clk = clk_get_rate(spi_imx->clk_per); spi_imx_probe()
|
H A D | spi-rockchip.c | 684 dev_err(&pdev->dev, "Failed to enable spi_clk\n"); rockchip_spi_probe()
|
H A D | spi-atmel.c | 1523 clk = devm_clk_get(&pdev->dev, "spi_clk"); atmel_spi_probe()
|
/linux-4.4.14/arch/arm/mach-davinci/ |
H A D | dm644x.c | 220 static struct clk spi_clk = { variable in typeref:struct:clk 315 CLK(NULL, "spi", &spi_clk),
|
/linux-4.4.14/arch/avr32/boards/hammerhead/ |
H A D | flash.c | 301 .name = "spi_clk",
|
/linux-4.4.14/drivers/clk/hisilicon/ |
H A D | clk-hi6220.c | 133 { HI6220_SPI_CLK, "spi_clk", "clk_150m", CLK_SET_RATE_PARENT|CLK_IGNORE_UNUSED, 0x230, 9, 0, },
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
H A D | at32ap700x.c | 1177 DEV_CLK(spi_clk, atmel_spi0, pba, 0); 1184 DEV_CLK(spi_clk, atmel_spi1, pba, 1);
|
Completed in 726 milliseconds