Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/espi/
Despi_saf_mchp_xec.c178 uint32_t fdiv; in qmspi_freq_div() local
181 fdiv = 0U; /* freq divider field -> 256 */ in qmspi_freq_div()
183 fdiv = 1U; in qmspi_freq_div()
186 fdiv = MCHP_QMSPI_INPUT_CLOCK_FREQ_HZ / freqhz; in qmspi_freq_div()
189 fdiv &= MCHP_QMSPI_M_FDIV_MASK0; in qmspi_freq_div()
190 fdiv <<= MCHP_QMSPI_M_FDIV_POS; in qmspi_freq_div()
192 return fdiv; in qmspi_freq_div()