Lines Matching refs:ext_clk
170 struct clk *ext_clk; member
1358 return clk_prepare_enable(st->ext_clk); in adis16480_ext_clk_config()
1365 st->ext_clk = devm_clk_get_optional(dev, "sync"); in adis16480_get_ext_clocks()
1366 if (IS_ERR(st->ext_clk)) in adis16480_get_ext_clocks()
1367 return dev_err_probe(dev, PTR_ERR(st->ext_clk), "failed to get ext clk\n"); in adis16480_get_ext_clocks()
1368 if (st->ext_clk) { in adis16480_get_ext_clocks()
1374 st->ext_clk = devm_clk_get_optional(dev, "pps"); in adis16480_get_ext_clocks()
1375 if (IS_ERR(st->ext_clk)) in adis16480_get_ext_clocks()
1376 return dev_err_probe(dev, PTR_ERR(st->ext_clk), "failed to get ext clk\n"); in adis16480_get_ext_clocks()
1377 if (st->ext_clk) { in adis16480_get_ext_clocks()
1444 if (st->ext_clk) { in adis16480_probe()
1449 ret = devm_add_action_or_reset(dev, adis16480_clk_disable, st->ext_clk); in adis16480_probe()
1453 st->clk_freq = clk_get_rate(st->ext_clk); in adis16480_probe()