Searched refs:fthlv (Results 1 – 2 of 2) sorted by relevance
474 u32 fthlv, half_fifo; in stm32h7_spi_prepare_fthlv() local480 fthlv = half_fifo; in stm32h7_spi_prepare_fthlv()482 fthlv = half_fifo / 2; in stm32h7_spi_prepare_fthlv()484 fthlv = half_fifo / 4; in stm32h7_spi_prepare_fthlv()488 fthlv -= (fthlv % 2); /* multiple of 2 */ in stm32h7_spi_prepare_fthlv()490 fthlv -= (fthlv % 4); /* multiple of 4 */ in stm32h7_spi_prepare_fthlv()492 return fthlv; in stm32h7_spi_prepare_fthlv()1389 u32 bpw, fthlv; in stm32h7_spi_set_bpw() local1399 fthlv = spi->cur_fthlv - 1; in stm32h7_spi_set_bpw()1402 cfg1_setb |= (fthlv << STM32H7_SPI_CFG1_FTHLV_SHIFT) & in stm32h7_spi_set_bpw()
508 unsigned int fthlv; in stm32_i2s_configure() local542 fthlv = STM32_I2S_FIFO_SIZE * I2S_FIFO_TH_ONE_QUARTER / 4; in stm32_i2s_configure()543 cfg1 = I2S_CFG1_FTHVL_SET(fthlv - 1); in stm32_i2s_configure()