Lines Matching refs:drp_addr
357 struct litex_clk_regs_addr drp_addr = litex_clk_regs_addr_init(); in litex_clk_get_clkout_divider() local
363 ret = litex_clk_get_DO(drp_addr.clkout[clkout_nr].reg1, &div); in litex_clk_get_clkout_divider()
367 ret = litex_clk_get_DO(drp_addr.clkout[clkout_nr].reg2, &frac); in litex_clk_get_clkout_divider()
427 struct litex_clk_regs_addr drp_addr = litex_clk_regs_addr_init(); in litex_clk_print_all_regs() local
432 litex_clk_print_clkout_regs(i, drp_addr.clkout[i].reg1, in litex_clk_print_all_regs()
433 drp_addr.clkout[i].reg2); in litex_clk_print_all_regs()
557 struct litex_clk_regs_addr drp_addr = litex_clk_regs_addr_init(); in litex_clk_set_clock() local
562 drp_addr.clkout[clkout_nr].reg2); in litex_clk_set_clock()
569 drp_addr.clkout[clkout_nr].reg1); in litex_clk_set_clock()
847 struct litex_clk_regs_addr drp_addr = litex_clk_regs_addr_init(); 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()
872 ret = litex_clk_get_DO(drp_addr.clkout[clkout_nr].reg1, &clkout_reg1); in litex_clk_get_duty_cycle()
1108 struct litex_clk_regs_addr drp_addr = litex_clk_regs_addr_init(); in litex_clk_get_phase_data() local
1113 ret = litex_clk_get_DO(drp_addr.clkout[clkout_nr].reg1, &r1); in litex_clk_get_phase_data()
1117 ret = litex_clk_get_DO(drp_addr.clkout[clkout_nr].reg2, &r2); in litex_clk_get_phase_data()