Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/clock_control/
Dclock_control_litex.c354 static int litex_clk_get_clkout_divider(struct litex_clk_clkout *lcko, in litex_clk_get_clkout_divider() argument
360 uint8_t clkout_nr = lcko->id; in litex_clk_get_clkout_divider()
437 static void litex_clk_print_params(struct litex_clk_clkout *lcko) in litex_clk_print_params() argument
439 LOG_DBG("CLKOUT%d DUMP:", lcko->id); in litex_clk_print_params()
442 lcko->def.freq, lcko->def.duty.num, in litex_clk_print_params()
443 lcko->def.duty.den, lcko->def.phase); in litex_clk_print_params()
446 lcko->ts_config.div, lcko->ts_config.freq, in litex_clk_print_params()
447 lcko->ts_config.duty.num, lcko->ts_config.duty.den, in litex_clk_print_params()
448 lcko->ts_config.phase, lcko->config.period_off); in litex_clk_print_params()
451 lcko->config.div, lcko->config.freq, in litex_clk_print_params()
[all …]
Dclock_control_litex.h64 lcko = &ldev->clkouts[N]; \
65 lcko->id = CLKOUT_ID(N); \
67 lcko->clkout_div = clkout_div; \
68 lcko->def.freq = CLKOUT_FREQ(N); \
69 lcko->def.phase = CLKOUT_PHASE(N); \
70 lcko->def.duty.num = CLKOUT_DUTY_NUM(N); \
71 lcko->def.duty.den = CLKOUT_DUTY_DEN(N); \
72 lcko->margin.m = CLKOUT_MARGIN(N); \
73 lcko->margin.exp = CLKOUT_MARGIN_EXP(N);