Searched refs:freq_div (Results 1 – 1 of 1) sorted by relevance
106 uint8_t freq_div[8] = {2, 4, 6, 8, 10, 12, 14, 16}; in spi_it8xxx2_set_freq() local121 for (int i = 0; i <= ARRAY_SIZE(freq_div); i++) { in spi_it8xxx2_set_freq()122 if (i == ARRAY_SIZE(freq_div)) { in spi_it8xxx2_set_freq()126 if (frequency == (clk_sspi / freq_div[i])) { in spi_it8xxx2_set_freq()