Searched refs:clk_sspi (Results 1 – 1 of 1) sorted by relevance
107 uint32_t clk_pll, clk_sspi; in spi_it8xxx2_set_freq() local111 clk_sspi = clk_pll / (((IT8XXX2_ECPM_SCDCR2 & 0xF0) >> 4) + 1U); in spi_it8xxx2_set_freq()112 if (frequency < (clk_sspi / 16) || frequency > clk_sspi) { in spi_it8xxx2_set_freq()117 if (frequency == clk_sspi) { in spi_it8xxx2_set_freq()126 if (frequency == (clk_sspi / freq_div[i])) { in spi_it8xxx2_set_freq()137 LOG_DBG("freq: pll %dHz, sspi %dHz, ssck %dHz", clk_pll, clk_sspi, frequency); in spi_it8xxx2_set_freq()