Searched refs:DI_val (Results 1 – 1 of 1) sorted by relevance
488 uint16_t DI_val; in litex_clk_calc_DI() local490 DI_val = DO_val & mask; in litex_clk_calc_DI()491 DI_val |= bitset; in litex_clk_calc_DI()493 return DI_val; in litex_clk_calc_DI()497 static int litex_clk_set_DI(uint16_t DI_val) in litex_clk_set_DI() argument501 litex_clk_set_reg(DRP_DAT_W, DI_val); in litex_clk_set_DI()520 uint16_t DO_val, DI_val; in litex_clk_change_value() local529 DI_val = litex_clk_calc_DI(DO_val, mask, bitset); in litex_clk_change_value()530 ret = litex_clk_set_DI(DI_val); in litex_clk_change_value()535 DI_val = litex_clk_get_reg(DRP_DAT_W); in litex_clk_change_value()[all …]