| /Linux-v5.15/drivers/spi/ | 
| D | spi-slave-mt27xx.c | 69 	struct clk *spi_clk;  member442 	mdata->spi_clk = devm_clk_get(&pdev->dev, "spi");  in mtk_spi_slave_probe()
 443 	if (IS_ERR(mdata->spi_clk)) {  in mtk_spi_slave_probe()
 444 		ret = PTR_ERR(mdata->spi_clk);  in mtk_spi_slave_probe()
 449 	ret = clk_prepare_enable(mdata->spi_clk);  in mtk_spi_slave_probe()
 461 		clk_disable_unprepare(mdata->spi_clk);  in mtk_spi_slave_probe()
 465 	clk_disable_unprepare(mdata->spi_clk);  in mtk_spi_slave_probe()
 496 		clk_disable_unprepare(mdata->spi_clk);  in mtk_spi_slave_suspend()
 508 		ret = clk_prepare_enable(mdata->spi_clk);  in mtk_spi_slave_resume()
 517 		clk_disable_unprepare(mdata->spi_clk);  in mtk_spi_slave_resume()
 [all …]
 
 | 
| D | spi-clps711x.c | 27 	struct clk		*spi_clk;  member54 	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 | 103 	struct clk *parent_clk, *sel_clk, *spi_clk;  member818 	mdata->spi_clk = devm_clk_get(&pdev->dev, "spi-clk");  in mtk_spi_probe()
 819 	if (IS_ERR(mdata->spi_clk)) {  in mtk_spi_probe()
 820 		ret = PTR_ERR(mdata->spi_clk);  in mtk_spi_probe()
 825 	ret = clk_prepare_enable(mdata->spi_clk);  in mtk_spi_probe()
 834 		clk_disable_unprepare(mdata->spi_clk);  in mtk_spi_probe()
 838 	mdata->spi_clk_hz = clk_get_rate(mdata->spi_clk);  in mtk_spi_probe()
 841 		clk_disable(mdata->spi_clk);  in mtk_spi_probe()
 843 		clk_disable_unprepare(mdata->spi_clk);  in mtk_spi_probe()
 912 		clk_unprepare(mdata->spi_clk);  in mtk_spi_remove()
 [all …]
 
 | 
| D | spi-lantiq-ssc.c | 168 	struct clk			*spi_clk;  member269 	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;  member674 	clk_disable_unprepare(sp->spi_clk);  in mtk_nor_disable_clk()
 683 	ret = clk_prepare_enable(sp->spi_clk);  in mtk_nor_enable_clk()
 689 		clk_disable_unprepare(sp->spi_clk);  in mtk_nor_enable_clk()
 695 		clk_disable_unprepare(sp->spi_clk);  in mtk_nor_enable_clk()
 758 	struct clk *spi_clk, *ctlr_clk, *axi_clk;  in mtk_nor_probe()  local
 766 	spi_clk = devm_clk_get(&pdev->dev, "spi");  in mtk_nor_probe()
 767 	if (IS_ERR(spi_clk))  in mtk_nor_probe()
 768 		return PTR_ERR(spi_clk);  in mtk_nor_probe()
 808 	sp->spi_clk = spi_clk;  in mtk_nor_probe()
 [all …]
 
 | 
| D | spi-xlp.c | 100 	u32			spi_clk;	/* spi clock frequency */  member147 	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;  member331 			      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 | 98 	unsigned long spi_clk;  member440 	unsigned int fin = spi_imx->spi_clk;  in mx51_ecspi_clkdiv()
 737 	reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, spi_imx->spi_bus_clk, &clk) <<  in mx31_prepare_transfer()
 842 	reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, spi_imx->spi_bus_clk, max, &clk)  in mx21_prepare_transfer()
 916 	reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, spi_imx->spi_bus_clk, &clk) <<  in mx1_prepare_transfer()
 1718 	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()  local181 	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;  member815 	bus_hz = as->spi_clk;  in atmel_spi_set_xfer_speed()
 1155 	return (as->spi_clk / 1000000 * value) >> 5;  in atmel_word_delay_csr()
 1563 	as->spi_clk = clk_get_rate(clk);  in atmel_spi_probe()
 
 | 
| /Linux-v5.15/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>;
 | 
| /Linux-v5.15/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-v5.15/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 | at91sam9261.dtsi | 261 				clock-names = "spi_clk";274 				clock-names = "spi_clk";
 
 | 
| D | at91sam9260.dtsi | 682 				clock-names = "spi_clk";695 				clock-names = "spi_clk";
 
 | 
| D | at91sam9n12.dtsi | 704 				clock-names = "spi_clk";720 				clock-names = "spi_clk";
 
 | 
| D | rk3036.dtsi | 553 		pinctrl-0 = <&spi_txd &spi_rxd &spi_clk &spi_cs0>;856 			spi_clk:spi-clk {  label
 
 | 
| D | at91sam9263.dtsi | 695 				clock-names = "spi_clk";708 				clock-names = "spi_clk";
 
 | 
| D | at91sam9x5.dtsi | 823 				clock-names = "spi_clk";839 				clock-names = "spi_clk";
 
 | 
| D | sama5d4.dtsi | 339 				clock-names = "spi_clk";596 				clock-names = "spi_clk";
 616 				clock-names = "spi_clk";
 
 | 
| D | at91sam9g45.dtsi | 893 				clock-names = "spi_clk";906 				clock-names = "spi_clk";
 
 | 
| /Linux-v5.15/Documentation/devicetree/bindings/mfd/ | 
| D | atmel-flexcom.txt | 54 		clock-names = "spi_clk";
 |