Searched refs:spi_clk_hz (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/spi/
H A Dspi-mt65xx.c219 u32 spi_clk_hz, div, sck_time, cs_time, reg_val = 0; mtk_spi_prepare_transfer() local
222 spi_clk_hz = clk_get_rate(mdata->spi_clk); mtk_spi_prepare_transfer()
223 if (xfer->speed_hz < spi_clk_hz / 2) mtk_spi_prepare_transfer()
224 div = DIV_ROUND_UP(spi_clk_hz, xfer->speed_hz); mtk_spi_prepare_transfer()

Completed in 52 milliseconds