Lines Matching refs:desc
57 const struct clk_corediv_desc *desc; member
83 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_is_enabled() local
84 u32 enable_mask = BIT(desc->fieldbit) << soc_desc->enable_bit_offset; in clk_corediv_is_enabled()
93 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_enable() local
100 reg |= (BIT(desc->fieldbit) << soc_desc->enable_bit_offset); in clk_corediv_enable()
112 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_disable() local
119 reg &= ~(BIT(desc->fieldbit) << soc_desc->enable_bit_offset); in clk_corediv_disable()
130 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_recalc_rate() local
134 div = (reg >> desc->offset) & desc->mask; in clk_corediv_recalc_rate()
158 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_set_rate() local
168 reg &= ~(desc->mask << desc->offset); in clk_corediv_set_rate()
169 reg |= (div & desc->mask) << desc->offset; in clk_corediv_set_rate()
173 reg = readl(corediv->reg) | BIT(desc->fieldbit); in clk_corediv_set_rate()
293 corediv[i].desc = soc_desc->descs + i; in mvebu_corediv_clk_init()