Lines Matching refs:mmc_clk
410 static struct clk *hisi_register_clk_mmc(struct hisi_mmc_clock *mmc_clk, in hisi_register_clk_mmc() argument
421 init.name = mmc_clk->name; in hisi_register_clk_mmc()
423 init.flags = mmc_clk->flags; in hisi_register_clk_mmc()
424 init.parent_names = (mmc_clk->parent_name ? &mmc_clk->parent_name : NULL); in hisi_register_clk_mmc()
425 init.num_parents = (mmc_clk->parent_name ? 1 : 0); in hisi_register_clk_mmc()
428 mclk->id = mmc_clk->id; in hisi_register_clk_mmc()
429 mclk->clken_reg = base + mmc_clk->clken_reg; in hisi_register_clk_mmc()
430 mclk->clken_bit = mmc_clk->clken_bit; in hisi_register_clk_mmc()
431 mclk->div_reg = base + mmc_clk->div_reg; in hisi_register_clk_mmc()
432 mclk->div_off = mmc_clk->div_off; in hisi_register_clk_mmc()
433 mclk->div_bits = mmc_clk->div_bits; in hisi_register_clk_mmc()
434 mclk->drv_reg = base + mmc_clk->drv_reg; in hisi_register_clk_mmc()
435 mclk->drv_off = mmc_clk->drv_off; in hisi_register_clk_mmc()
436 mclk->drv_bits = mmc_clk->drv_bits; in hisi_register_clk_mmc()
437 mclk->sam_reg = base + mmc_clk->sam_reg; in hisi_register_clk_mmc()
438 mclk->sam_off = mmc_clk->sam_off; in hisi_register_clk_mmc()
439 mclk->sam_bits = mmc_clk->sam_bits; in hisi_register_clk_mmc()
475 struct hisi_mmc_clock *mmc_clk = &hi3620_mmc_clks[i]; in hi3620_mmc_clk_init() local
476 clk_data->clks[mmc_clk->id] = in hi3620_mmc_clk_init()
477 hisi_register_clk_mmc(mmc_clk, base, node); in hi3620_mmc_clk_init()