Searched refs:fthlv (Results 1 – 2 of 2) sorted by relevance
287 u32 fthlv, half_fifo; in stm32_spi_prepare_fthlv() local293 fthlv = half_fifo; in stm32_spi_prepare_fthlv()295 fthlv = half_fifo / 2; in stm32_spi_prepare_fthlv()297 fthlv = half_fifo / 4; in stm32_spi_prepare_fthlv()301 fthlv -= (fthlv % 2); /* multiple of 2 */ in stm32_spi_prepare_fthlv()303 fthlv -= (fthlv % 4); /* multiple of 4 */ in stm32_spi_prepare_fthlv()305 return fthlv; in stm32_spi_prepare_fthlv()868 u32 bpw, fthlv; in stm32_spi_transfer_one_setup() local877 fthlv = spi->cur_fthlv - 1; in stm32_spi_transfer_one_setup()880 cfg1_setb |= (fthlv << SPI_CFG1_FTHLV_SHIFT) & SPI_CFG1_FTHLV; in stm32_spi_transfer_one_setup()
492 unsigned int fthlv; in stm32_i2s_configure() local535 fthlv = STM32_I2S_FIFO_SIZE * I2S_FIFO_TH_ONE_QUARTER / 4; in stm32_i2s_configure()536 cfg1 |= I2S_CFG1_FTHVL_SET(fthlv - 1); in stm32_i2s_configure()