Home
last modified time | relevance | path

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

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