Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/spi/
Dspi-stm32.c476 u32 fthlv, half_fifo, packet; in stm32h7_spi_prepare_fthlv() local
488 fthlv = packet; in stm32h7_spi_prepare_fthlv()
490 fthlv = packet / 2; in stm32h7_spi_prepare_fthlv()
492 fthlv = packet / 4; in stm32h7_spi_prepare_fthlv()
496 fthlv -= (fthlv % 2); /* multiple of 2 */ in stm32h7_spi_prepare_fthlv()
498 fthlv -= (fthlv % 4); /* multiple of 4 */ in stm32h7_spi_prepare_fthlv()
500 if (!fthlv) in stm32h7_spi_prepare_fthlv()
501 fthlv = 1; in stm32h7_spi_prepare_fthlv()
503 return fthlv; in stm32h7_spi_prepare_fthlv()
1402 u32 bpw, fthlv; in stm32h7_spi_set_bpw() local
[all …]
/Linux-v5.10/sound/soc/stm/
Dstm32_i2s.c508 unsigned int fthlv; in stm32_i2s_configure() local
542 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()