Searched refs:fthlv (Results 1 – 2 of 2) sorted by relevance
476 u32 fthlv, half_fifo, packet; in stm32h7_spi_prepare_fthlv() local488 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 …]
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()