Lines Matching refs:controller_dev
102 struct device *controller_dev; member
586 init.name = devm_kasprintf(host->controller_dev, GFP_KERNEL, in meson_mx_mmc_register_clks()
588 dev_name(host->controller_dev)); in meson_mx_mmc_register_clks()
600 host->fixed_factor_clk = devm_clk_register(host->controller_dev, in meson_mx_mmc_register_clks()
606 init.name = devm_kasprintf(host->controller_dev, GFP_KERNEL, in meson_mx_mmc_register_clks()
607 "%s#div", dev_name(host->controller_dev)); in meson_mx_mmc_register_clks()
621 host->cfg_div_clk = devm_clk_register(host->controller_dev, in meson_mx_mmc_register_clks()
651 host->controller_dev = &pdev->dev; in meson_mx_mmc_probe()
670 ret = devm_request_threaded_irq(host->controller_dev, irq, in meson_mx_mmc_probe()
677 host->core_clk = devm_clk_get(host->controller_dev, "core"); in meson_mx_mmc_probe()
683 host->parent_clk = devm_clk_get(host->controller_dev, "clkin"); in meson_mx_mmc_probe()
695 dev_err(host->controller_dev, "Failed to enable core clock\n"); in meson_mx_mmc_probe()
701 dev_err(host->controller_dev, "Failed to enable MMC clock\n"); in meson_mx_mmc_probe()