Searched refs:gpt (Results 1 – 3 of 3) sorted by relevance
37 struct clk_gpt *gpt = to_clk_gpt(hw); in gpt_calc_rate() local38 struct gpt_rate_tbl *rtbl = gpt->rtbl; in gpt_calc_rate()48 struct clk_gpt *gpt = to_clk_gpt(hw); in clk_gpt_round_rate() local52 gpt->rtbl_cnt, &unused); in clk_gpt_round_rate()58 struct clk_gpt *gpt = to_clk_gpt(hw); in clk_gpt_recalc_rate() local62 if (gpt->lock) in clk_gpt_recalc_rate()63 spin_lock_irqsave(gpt->lock, flags); in clk_gpt_recalc_rate()65 val = readl_relaxed(gpt->reg); in clk_gpt_recalc_rate()67 if (gpt->lock) in clk_gpt_recalc_rate()68 spin_unlock_irqrestore(gpt->lock, flags); in clk_gpt_recalc_rate()[all …]
5 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
179 struct omap_dm_timer *gpt = timer[clk_id - 1]; in dsp_gpt_wait_overflow() local182 if (!gpt) in dsp_gpt_wait_overflow()186 omap_dm_timer_set_int_enable(gpt, OMAP_TIMER_INT_OVERFLOW); in dsp_gpt_wait_overflow()192 omap_dm_timer_set_load_start(gpt, 0, load); in dsp_gpt_wait_overflow()199 while (!(omap_dm_timer_read_status(gpt) & OMAP_TIMER_INT_OVERFLOW)) { in dsp_gpt_wait_overflow()