Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/counter/
Dcounter_dw_timer.c314 const struct counter_dw_timer_config *timer_config = DEV_CFG(timer_dev); in counter_dw_timer_init() local
326 if (!device_is_ready(timer_config->clk_dev)) { in counter_dw_timer_init()
330 ret = clock_control_get_rate(timer_config->clk_dev, in counter_dw_timer_init()
331 timer_config->clkid, &data->freq); in counter_dw_timer_init()
340 if (timer_config->reset.dev != NULL) { in counter_dw_timer_init()
341 if (!device_is_ready(timer_config->reset.dev)) { in counter_dw_timer_init()
346 ret = reset_line_toggle(timer_config->reset.dev, timer_config->reset.id); in counter_dw_timer_init()
354 timer_config->irq_config(); in counter_dw_timer_init()