Lines Matching refs:sels
60 struct clk_imx8_acm_sel *sels; member
336 struct clk_imx8_acm_sel *sels; in imx8_acm_clk_probe() local
370 sels = priv->soc_data->sels; in imx8_acm_clk_probe()
372 hws[sels[i].clkid] = devm_clk_hw_register_mux_parent_data_table(dev, in imx8_acm_clk_probe()
373 sels[i].name, sels[i].parents, in imx8_acm_clk_probe()
374 sels[i].num_parents, 0, in imx8_acm_clk_probe()
375 base + sels[i].reg, in imx8_acm_clk_probe()
376 sels[i].shift, sels[i].width, in imx8_acm_clk_probe()
378 if (IS_ERR(hws[sels[i].clkid])) { in imx8_acm_clk_probe()
379 ret = PTR_ERR(hws[sels[i].clkid]); in imx8_acm_clk_probe()
389 if (sels[i].clkid == IMX_ADMA_ACM_AUD_CLK0_SEL) in imx8_acm_clk_probe()
392 if (sels[i].clkid == IMX_ADMA_ACM_AUD_CLK1_SEL) in imx8_acm_clk_probe()
424 .sels = imx8qm_sels,
430 .sels = imx8qxp_sels,
436 .sels = imx8dxl_sels,
452 struct clk_imx8_acm_sel *sels; in imx8_acm_runtime_suspend() local
455 sels = priv->soc_data->sels; in imx8_acm_runtime_suspend()
458 priv->regs[i] = readl_relaxed(priv->reg + sels[i].reg); in imx8_acm_runtime_suspend()
466 struct clk_imx8_acm_sel *sels; in imx8_acm_runtime_resume() local
469 sels = priv->soc_data->sels; in imx8_acm_runtime_resume()
472 writel_relaxed(priv->regs[i], priv->reg + sels[i].reg); in imx8_acm_runtime_resume()