spi_clk 109 drivers/mtd/spi-nor/mtk-quadspi.c struct clk *spi_clk; spi_clk 401 drivers/mtd/spi-nor/mtk-quadspi.c clk_disable_unprepare(mtk_nor->spi_clk); spi_clk 409 drivers/mtd/spi-nor/mtk-quadspi.c ret = clk_prepare_enable(mtk_nor->spi_clk); spi_clk 415 drivers/mtd/spi-nor/mtk-quadspi.c clk_disable_unprepare(mtk_nor->spi_clk); spi_clk 478 drivers/mtd/spi-nor/mtk-quadspi.c mtk_nor->spi_clk = devm_clk_get(&pdev->dev, "spi"); spi_clk 479 drivers/mtd/spi-nor/mtk-quadspi.c if (IS_ERR(mtk_nor->spi_clk)) spi_clk 480 drivers/mtd/spi-nor/mtk-quadspi.c return PTR_ERR(mtk_nor->spi_clk); spi_clk 97 drivers/spi/spi-at91-usart.c u32 spi_clk; spi_clk 331 drivers/spi/spi-at91-usart.c DIV_ROUND_UP(aus->spi_clk, xfer->speed_hz)); spi_clk 580 drivers/spi/spi-at91-usart.c aus->spi_clk = clk_get_rate(clk); spi_clk 286 drivers/spi/spi-atmel.c unsigned long spi_clk; spi_clk 848 drivers/spi/spi-atmel.c bus_hz = as->spi_clk; spi_clk 1206 drivers/spi/spi-atmel.c (as->spi_clk / 1000000 * spi->word_delay_usecs) >> 5); spi_clk 1620 drivers/spi/spi-atmel.c as->spi_clk = clk_get_rate(clk); spi_clk 168 drivers/spi/spi-axi-spi-engine.c unsigned int spi_clk = clk_get_rate(spi_engine->ref_clk); spi_clk 174 drivers/spi/spi-axi-spi-engine.c t = DIV_ROUND_UP(delay * spi_clk, (clk_div + 1) * 2); spi_clk 27 drivers/spi/spi-clps711x.c struct clk *spi_clk; spi_clk 54 drivers/spi/spi-clps711x.c clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz); spi_clk 114 drivers/spi/spi-clps711x.c hw->spi_clk = devm_clk_get(&pdev->dev, NULL); spi_clk 115 drivers/spi/spi-clps711x.c if (IS_ERR(hw->spi_clk)) { spi_clk 116 drivers/spi/spi-clps711x.c ret = PTR_ERR(hw->spi_clk); spi_clk 91 drivers/spi/spi-imx.c unsigned long spi_clk; spi_clk 433 drivers/spi/spi-imx.c unsigned int fin = spi_imx->spi_clk; spi_clk 703 drivers/spi/spi-imx.c reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, t->speed_hz, &clk) << spi_clk 809 drivers/spi/spi-imx.c reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, t->speed_hz, max, &clk) spi_clk 884 drivers/spi/spi-imx.c reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, t->speed_hz, &clk) << spi_clk 1710 drivers/spi/spi-imx.c spi_imx->spi_clk = clk_get_rate(spi_imx->clk_per); spi_clk 170 drivers/spi/spi-lantiq-ssc.c struct clk *spi_clk; spi_clk 268 drivers/spi/spi-lantiq-ssc.c u32 spi_clk, brt; spi_clk 278 drivers/spi/spi-lantiq-ssc.c spi_clk = clk_get_rate(spi->fpi_clk) / 2; spi_clk 280 drivers/spi/spi-lantiq-ssc.c if (max_speed_hz > spi_clk) spi_clk 283 drivers/spi/spi-lantiq-ssc.c brt = spi_clk / max_speed_hz - 1; spi_clk 289 drivers/spi/spi-lantiq-ssc.c spi_clk, max_speed_hz, brt); spi_clk 864 drivers/spi/spi-lantiq-ssc.c spi->spi_clk = devm_clk_get(dev, "gate"); spi_clk 865 drivers/spi/spi-lantiq-ssc.c if (IS_ERR(spi->spi_clk)) { spi_clk 866 drivers/spi/spi-lantiq-ssc.c err = PTR_ERR(spi->spi_clk); spi_clk 869 drivers/spi/spi-lantiq-ssc.c err = clk_prepare_enable(spi->spi_clk); spi_clk 942 drivers/spi/spi-lantiq-ssc.c clk_disable_unprepare(spi->spi_clk); spi_clk 960 drivers/spi/spi-lantiq-ssc.c clk_disable_unprepare(spi->spi_clk); spi_clk 99 drivers/spi/spi-mt65xx.c struct clk *parent_clk, *sel_clk, *spi_clk; spi_clk 285 drivers/spi/spi-mt65xx.c spi_clk_hz = clk_get_rate(mdata->spi_clk); spi_clk 729 drivers/spi/spi-mt65xx.c mdata->spi_clk = devm_clk_get(&pdev->dev, "spi-clk"); spi_clk 730 drivers/spi/spi-mt65xx.c if (IS_ERR(mdata->spi_clk)) { spi_clk 731 drivers/spi/spi-mt65xx.c ret = PTR_ERR(mdata->spi_clk); spi_clk 736 drivers/spi/spi-mt65xx.c ret = clk_prepare_enable(mdata->spi_clk); spi_clk 745 drivers/spi/spi-mt65xx.c clk_disable_unprepare(mdata->spi_clk); spi_clk 749 drivers/spi/spi-mt65xx.c clk_disable_unprepare(mdata->spi_clk); spi_clk 832 drivers/spi/spi-mt65xx.c clk_disable_unprepare(mdata->spi_clk); spi_clk 844 drivers/spi/spi-mt65xx.c ret = clk_prepare_enable(mdata->spi_clk); spi_clk 853 drivers/spi/spi-mt65xx.c clk_disable_unprepare(mdata->spi_clk); spi_clk 865 drivers/spi/spi-mt65xx.c clk_disable_unprepare(mdata->spi_clk); spi_clk 876 drivers/spi/spi-mt65xx.c ret = clk_prepare_enable(mdata->spi_clk); spi_clk 69 drivers/spi/spi-slave-mt27xx.c struct clk *spi_clk; spi_clk 424 drivers/spi/spi-slave-mt27xx.c mdata->spi_clk = devm_clk_get(&pdev->dev, "spi"); spi_clk 425 drivers/spi/spi-slave-mt27xx.c if (IS_ERR(mdata->spi_clk)) { spi_clk 426 drivers/spi/spi-slave-mt27xx.c ret = PTR_ERR(mdata->spi_clk); spi_clk 431 drivers/spi/spi-slave-mt27xx.c ret = clk_prepare_enable(mdata->spi_clk); spi_clk 443 drivers/spi/spi-slave-mt27xx.c clk_disable_unprepare(mdata->spi_clk); spi_clk 447 drivers/spi/spi-slave-mt27xx.c clk_disable_unprepare(mdata->spi_clk); spi_clk 478 drivers/spi/spi-slave-mt27xx.c clk_disable_unprepare(mdata->spi_clk); spi_clk 490 drivers/spi/spi-slave-mt27xx.c ret = clk_prepare_enable(mdata->spi_clk); spi_clk 499 drivers/spi/spi-slave-mt27xx.c clk_disable_unprepare(mdata->spi_clk); spi_clk 511 drivers/spi/spi-slave-mt27xx.c clk_disable_unprepare(mdata->spi_clk); spi_clk 522 drivers/spi/spi-slave-mt27xx.c ret = clk_prepare_enable(mdata->spi_clk); spi_clk 100 drivers/spi/spi-xlp.c u32 spi_clk; /* spi clock frequency */ spi_clk 147 drivers/spi/spi-xlp.c fdiv = DIV_ROUND_UP(xspi->spi_clk, spi->max_speed_hz); spi_clk 400 drivers/spi/spi-xlp.c xspi->spi_clk = clk_get_rate(clk);