Home
last modified time | relevance | path

Searched refs:sspa0_div (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/mmp/
H A Dclk-audio.c67 struct clk_divider sspa0_div; member
286 priv->sspa0_div.hw.init = CLK_HW_INIT_HW("sspa0_div", in register_clocks()
288 priv->sspa0_div.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
289 priv->sspa0_div.shift = SSPA_AUD_CTRL_SSPA0_DIV_SHIFT; in register_clocks()
290 priv->sspa0_div.width = 6; in register_clocks()
291 priv->sspa0_div.flags = CLK_DIVIDER_ONE_BASED; in register_clocks()
292 priv->sspa0_div.flags |= CLK_DIVIDER_ROUND_CLOSEST; in register_clocks()
293 priv->sspa0_div.flags |= CLK_DIVIDER_ALLOW_ZERO; in register_clocks()
294 ret = devm_clk_hw_register(dev, &priv->sspa0_div.hw); in register_clocks()
299 &priv->sspa0_div.hw, &clk_gate_ops, in register_clocks()