Lines Matching refs:spi_bus_clk
103 unsigned int spi_bus_clk; member
670 ctrl |= mx51_ecspi_clkdiv(spi_imx, spi_imx->spi_bus_clk, &clk); in mx51_ecspi_prepare_transfer()
671 spi_imx->spi_bus_clk = clk; in mx51_ecspi_prepare_transfer()
782 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, spi_imx->spi_bus_clk, &clk) << in mx31_prepare_transfer()
784 spi_imx->spi_bus_clk = clk; in mx31_prepare_transfer()
887 reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, spi_imx->spi_bus_clk, max, &clk) in mx21_prepare_transfer()
889 spi_imx->spi_bus_clk = clk; in mx21_prepare_transfer()
961 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, spi_imx->spi_bus_clk, &clk) << in mx1_prepare_transfer()
963 spi_imx->spi_bus_clk = clk; in mx1_prepare_transfer()
1257 spi_imx->spi_bus_clk = spi->max_speed_hz; in spi_imx_setupxfer()
1259 spi_imx->spi_bus_clk = t->speed_hz; in spi_imx_setupxfer()
1384 timeout = (8 + 4) * size / spi_imx->spi_bus_clk; in spi_imx_calculate_timeout()
1621 transfer->effective_speed_hz = spi_imx->spi_bus_clk; in spi_imx_transfer_one()