Lines Matching full:extclk
485 * +-< EXTCLK
533 * +-< EXTCLK
697 struct clk *extclk; member
2427 ret = clk_prepare_enable(sensor->extclk); in ov8865_sensor_power()
2429 dev_err(sensor->dev, "failed to enable EXTCLK clock\n"); in ov8865_sensor_power()
2442 clk_disable_unprepare(sensor->extclk); in ov8865_sensor_power()
3022 sensor->extclk = devm_clk_get(dev, NULL); in ov8865_probe()
3023 if (PTR_ERR(sensor->extclk) == -ENOENT) { in ov8865_probe()
3025 sensor->extclk = NULL; in ov8865_probe()
3026 } else if (IS_ERR(sensor->extclk)) { in ov8865_probe()
3028 ret = PTR_ERR(sensor->extclk); in ov8865_probe()
3043 if (!ret && sensor->extclk) { in ov8865_probe()
3044 ret = clk_set_rate(sensor->extclk, rate); in ov8865_probe()
3049 } else if (ret && !sensor->extclk) { in ov8865_probe()
3054 sensor->extclk_rate = rate ? rate : clk_get_rate(sensor->extclk); in ov8865_probe()