Searched refs:clkrate (Results 1 – 2 of 2) sorted by relevance
257 uint32_t idx, clkrate, val = 0, speed; in mss_spi_clk_gen_set() local264 clkrate = cfg->clock_freq / (2 * idx); in mss_spi_clk_gen_set()265 if (clkrate <= spi_cfg->frequency) { in mss_spi_clk_gen_set()
350 uint32_t idx, clkrate, val = 0, speed; in mss_qspi_clk_gen_set() local357 clkrate = s->clock_freq / (2 * idx); in mss_qspi_clk_gen_set()358 if (clkrate <= spi_cfg->frequency) { in mss_qspi_clk_gen_set()