Lines Matching refs:ext_clk
176 struct clk *ext_clk; member
1598 return clk_prepare_enable(st->ext_clk); in adis16480_ext_clk_config()
1605 st->ext_clk = devm_clk_get_optional(dev, "sync"); in adis16480_get_ext_clocks()
1606 if (IS_ERR(st->ext_clk)) in adis16480_get_ext_clocks()
1607 return dev_err_probe(dev, PTR_ERR(st->ext_clk), "failed to get ext clk\n"); in adis16480_get_ext_clocks()
1608 if (st->ext_clk) { in adis16480_get_ext_clocks()
1614 st->ext_clk = devm_clk_get_optional(dev, "pps"); in adis16480_get_ext_clocks()
1615 if (IS_ERR(st->ext_clk)) in adis16480_get_ext_clocks()
1616 return dev_err_probe(dev, PTR_ERR(st->ext_clk), "failed to get ext clk\n"); in adis16480_get_ext_clocks()
1617 if (st->ext_clk) { in adis16480_get_ext_clocks()
1693 if (st->ext_clk) { in adis16480_probe()
1698 ret = devm_add_action_or_reset(dev, adis16480_clk_disable, st->ext_clk); in adis16480_probe()
1702 st->clk_freq = clk_get_rate(st->ext_clk); in adis16480_probe()