Home
last modified time | relevance | path

Searched refs:sck_time (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/spi/
Dspi-mt65xx.c382 u32 div, sck_time, reg_val; in mtk_spi_prepare_transfer() local
390 sck_time = (div + 1) / 2; in mtk_spi_prepare_transfer()
395 reg_val |= (((sck_time - 1) & 0xffff) in mtk_spi_prepare_transfer()
398 reg_val |= (((sck_time - 1) & 0xffff) in mtk_spi_prepare_transfer()
404 reg_val |= (((sck_time - 1) & 0xff) in mtk_spi_prepare_transfer()
407 reg_val |= (((sck_time - 1) & 0xff) << SPI_CFG0_SCK_LOW_OFFSET); in mtk_spi_prepare_transfer()