Searched refs:cs_time (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
229 cs_time = sck_time * 2; mtk_spi_prepare_transfer()
233 reg_val |= (((cs_time - 1) & 0xff) << SPI_CFG0_CS_HOLD_OFFSET); mtk_spi_prepare_transfer()
234 reg_val |= (((cs_time - 1) & 0xff) << SPI_CFG0_CS_SETUP_OFFSET); mtk_spi_prepare_transfer()
239 reg_val |= (((cs_time - 1) & 0xff) << SPI_CFG1_CS_IDLE_OFFSET); mtk_spi_prepare_transfer()

Completed in 54 milliseconds