Lines Matching defs:div_hw
17 const struct owl_divider_hw *div_hw,
22 div_hw->table, div_hw->width,
23 div_hw->div_flags);
31 return owl_divider_helper_round_rate(&div->common, &div->div_hw,
36 const struct owl_divider_hw *div_hw,
42 regmap_read(common->regmap, div_hw->reg, ®);
43 val = reg >> div_hw->shift;
44 val &= (1 << div_hw->width) - 1;
47 val, div_hw->table,
48 div_hw->div_flags,
49 div_hw->width);
58 &div->div_hw, parent_rate);
62 const struct owl_divider_hw *div_hw,
69 val = divider_get_val(rate, parent_rate, div_hw->table,
70 div_hw->width, 0);
72 regmap_read(common->regmap, div_hw->reg, ®);
73 reg &= ~GENMASK(div_hw->width + div_hw->shift - 1, div_hw->shift);
75 regmap_write(common->regmap, div_hw->reg,
76 reg | (val << div_hw->shift));
86 return owl_divider_helper_set_rate(&div->common, &div->div_hw,