Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/mmp/
H A Dclk-audio.c68 struct clk_divider sspa1_div; member
317 priv->sspa1_div.hw.init = CLK_HW_INIT_HW("sspa1_div", in register_clocks()
319 priv->sspa1_div.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
320 priv->sspa1_div.shift = SSPA_AUD_CTRL_SSPA1_DIV_SHIFT; in register_clocks()
321 priv->sspa1_div.width = 6; in register_clocks()
322 priv->sspa1_div.flags = CLK_DIVIDER_ONE_BASED; in register_clocks()
323 priv->sspa1_div.flags |= CLK_DIVIDER_ROUND_CLOSEST; in register_clocks()
324 priv->sspa1_div.flags |= CLK_DIVIDER_ALLOW_ZERO; in register_clocks()
325 ret = devm_clk_hw_register(dev, &priv->sspa1_div.hw); in register_clocks()
330 &priv->sspa1_div.hw, &clk_gate_ops, in register_clocks()