Searched refs:nfc_clk (Results 1 – 2 of 2) sorted by relevance
170 struct clk *nfc_clk; member430 if (IS_ERR(nfc->nfc_clk)) in rk_nfc_setup_interface()433 rate = clk_get_rate(nfc->nfc_clk); in rk_nfc_setup_interface()911 if (!IS_ERR(nfc->nfc_clk)) { in rk_nfc_enable_clks()912 ret = clk_prepare_enable(nfc->nfc_clk); in rk_nfc_enable_clks()922 clk_disable_unprepare(nfc->nfc_clk); in rk_nfc_enable_clks()931 clk_disable_unprepare(nfc->nfc_clk); in rk_nfc_disable_clks()1389 nfc->nfc_clk = devm_clk_get(dev, "nfc"); in rk_nfc_probe()1390 if (IS_ERR(nfc->nfc_clk)) { in rk_nfc_probe()
722 static int config_nfc_clk(u32 nfc_clk) in config_nfc_clk() argument727 if (nfc_clk == 0) in config_nfc_clk()729 div = parent_rate / nfc_clk; in config_nfc_clk()