Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_mchp_mss.c257 uint32_t idx, clkrate, val = 0, speed; in mss_spi_clk_gen_set() local
264 clkrate = cfg->clock_freq / (2 * idx); in mss_spi_clk_gen_set()
265 if (clkrate <= spi_cfg->frequency) { in mss_spi_clk_gen_set()
Dspi_mchp_mss_qspi.c350 uint32_t idx, clkrate, val = 0, speed; in mss_qspi_clk_gen_set() local
357 clkrate = s->clock_freq / (2 * idx); in mss_qspi_clk_gen_set()
358 if (clkrate <= spi_cfg->frequency) { in mss_qspi_clk_gen_set()