Home
last modified time | relevance | path

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

/drivers/clk/mediatek/
Dclk-mtk.c389 const struct mtk_clk_divider *mcd = &mcds[i]; in mtk_clk_register_dividers() local
391 if (!IS_ERR_OR_NULL(clk_data->hws[mcd->id])) { in mtk_clk_register_dividers()
393 mcd->id); in mtk_clk_register_dividers()
397 hw = clk_hw_register_divider(NULL, mcd->name, mcd->parent_name, in mtk_clk_register_dividers()
398 mcd->flags, base + mcd->div_reg, mcd->div_shift, in mtk_clk_register_dividers()
399 mcd->div_width, mcd->clk_divider_flags, lock); in mtk_clk_register_dividers()
402 pr_err("Failed to register clk %s: %pe\n", mcd->name, in mtk_clk_register_dividers()
407 clk_data->hws[mcd->id] = hw; in mtk_clk_register_dividers()
414 const struct mtk_clk_divider *mcd = &mcds[i]; in mtk_clk_register_dividers() local
416 if (IS_ERR_OR_NULL(clk_data->hws[mcd->id])) in mtk_clk_register_dividers()
[all …]