Lines Matching refs:field_val
97 u32 *field_val) in _get_div_and_fieldval() argument
133 *field_val = max_clkr->val; in _get_div_and_fieldval()
151 static void _write_clksel_reg(struct clk *clk, u32 field_val) in _write_clksel_reg() argument
157 v |= field_val << __ffs(clk->clksel_mask); in _write_clksel_reg()
174 static u32 _clksel_to_divisor(struct clk *clk, u32 field_val) in _clksel_to_divisor() argument
187 if (clkr->val == field_val) in _clksel_to_divisor()
194 "%s\n", field_val, clk->name, clk->parent->name); in _clksel_to_divisor()
441 u32 field_val, validrate, new_div = 0; in omap2_clksel_set_rate() local
450 field_val = _divisor_to_clksel(clk, new_div); in omap2_clksel_set_rate()
451 if (field_val == ~0) in omap2_clksel_set_rate()
454 _write_clksel_reg(clk, field_val); in omap2_clksel_set_rate()
485 u32 field_val = 0; in omap2_clksel_set_parent() local
491 parent_div = _get_div_and_fieldval(new_parent, clk, &field_val); in omap2_clksel_set_parent()
495 _write_clksel_reg(clk, field_val); in omap2_clksel_set_parent()