Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/spi/
Dspi-stm32.c287 u32 fthlv, half_fifo; in stm32_spi_prepare_fthlv() local
293 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() local
877 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()
/Linux-v4.19/sound/soc/stm/
Dstm32_i2s.c492 unsigned int fthlv; in stm32_i2s_configure() local
535 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()