Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Drockchip-nand-controller.c170 struct clk *nfc_clk; member
430 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()
/openbmc/u-boot/arch/arm/mach-imx/mx5/
H A Dclock.c722 static int config_nfc_clk(u32 nfc_clk) in config_nfc_clk() argument
727 if (nfc_clk == 0) in config_nfc_clk()
729 div = parent_rate / nfc_clk; in config_nfc_clk()