Searched refs:sck_time (Results 1 – 1 of 1) sorted by relevance
484 u32 div, sck_time, reg_val; in mtk_spi_prepare_transfer() local492 sck_time = (div + 1) / 2; in mtk_spi_prepare_transfer()497 reg_val |= (((sck_time - 1) & 0xffff) in mtk_spi_prepare_transfer()500 reg_val |= (((sck_time - 1) & 0xffff) in mtk_spi_prepare_transfer()506 reg_val |= (((sck_time - 1) & 0xff) in mtk_spi_prepare_transfer()509 reg_val |= (((sck_time - 1) & 0xff) << SPI_CFG0_SCK_LOW_OFFSET); in mtk_spi_prepare_transfer()