Lines Matching refs:ext_clk
161 struct clk *ext_clk; member
1182 return clk_prepare_enable(st->ext_clk); in adis16480_ext_clk_config()
1188 st->ext_clk = devm_clk_get(&st->adis.spi->dev, "sync"); in adis16480_get_ext_clocks()
1189 if (!IS_ERR_OR_NULL(st->ext_clk)) { in adis16480_get_ext_clocks()
1194 if (PTR_ERR(st->ext_clk) != -ENOENT) { in adis16480_get_ext_clocks()
1196 return PTR_ERR(st->ext_clk); in adis16480_get_ext_clocks()
1200 st->ext_clk = devm_clk_get(&st->adis.spi->dev, "pps"); in adis16480_get_ext_clocks()
1201 if (!IS_ERR_OR_NULL(st->ext_clk)) { in adis16480_get_ext_clocks()
1206 if (PTR_ERR(st->ext_clk) != -ENOENT) { in adis16480_get_ext_clocks()
1208 return PTR_ERR(st->ext_clk); in adis16480_get_ext_clocks()
1270 if (!IS_ERR_OR_NULL(st->ext_clk)) { in adis16480_probe()
1275 ret = devm_add_action_or_reset(&spi->dev, adis16480_clk_disable, st->ext_clk); in adis16480_probe()
1279 st->clk_freq = clk_get_rate(st->ext_clk); in adis16480_probe()