Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/clock_control/
Dclock_control_litex.c415 uint16_t clkout_reg1, clkout_reg2; in litex_clk_print_clkout_regs() local
422 litex_clk_check_DO(reg_name, reg2, &clkout_reg2); in litex_clk_print_clkout_regs()
850 uint16_t clkout_reg1, clkout_reg2; in litex_clk_get_duty_cycle() local
855 ret = litex_clk_get_DO(drp_addr.clkout[clkout_nr].reg2, &clkout_reg2); in litex_clk_get_duty_cycle()
860 edge = (clkout_reg2 >> EDGE_POS) & EDGE_MASK; in litex_clk_get_duty_cycle()
861 no_cnt = (clkout_reg2 >> NO_CNT_POS) & NO_CNT_MASK; in litex_clk_get_duty_cycle()
862 frac_en = (clkout_reg2 >> FRAC_EN_POS) & FRAC_EN_MASK; in litex_clk_get_duty_cycle()
863 frac_cnt = (clkout_reg2 >> FRAC_POS) & FRAC_MASK; in litex_clk_get_duty_cycle()