Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/dai/nxp/esai/
Desai.c32 static int esai_get_clock_rate_config(uint32_t extal_rate, uint32_t hclk_rate, in esai_get_clock_rate_config() argument
45 if (!extal_rate || !hclk_rate || !bclk_rate) { in esai_get_clock_rate_config()
50 if (hclk_rate > extal_rate) { in esai_get_clock_rate_config()
78 if (hclk_rate > extal_rate / 2 && hclk_rate < extal_rate) { in esai_get_clock_rate_config()
85 if (extal_rate == hclk_rate) { in esai_get_clock_rate_config()
93 hclk_div_ratio = DIV_ROUND_UP(extal_rate, hclk_rate); in esai_get_clock_rate_config()
102 hclk_div_ratio = DIV_ROUND_UP(extal_rate, hclk_rate); in esai_get_clock_rate_config()
106 hclk_rate, extal_rate); in esai_get_clock_rate_config()