Lines Matching full:eclk
107 struct clk *eclk; member
135 * eclk 24Mhz
412 ret = clk_prepare_enable(ov02a10->eclk); in ov02a10_power_on()
414 dev_err(dev, "failed to enable eclk\n"); in ov02a10_power_on()
442 clk_disable_unprepare(ov02a10->eclk); in ov02a10_power_on()
454 clk_disable_unprepare(ov02a10->eclk); in ov02a10_power_off()
888 ov02a10->eclk = devm_clk_get(dev, "eclk"); in ov02a10_probe()
889 if (IS_ERR(ov02a10->eclk)) in ov02a10_probe()
890 return dev_err_probe(dev, PTR_ERR(ov02a10->eclk), in ov02a10_probe()
891 "failed to get eclk\n"); in ov02a10_probe()
897 "failed to get eclk frequency\n"); in ov02a10_probe()
899 ret = clk_set_rate(ov02a10->eclk, ov02a10->eclk_freq); in ov02a10_probe()
902 "failed to set eclk frequency (24MHz)\n"); in ov02a10_probe()
904 if (clk_get_rate(ov02a10->eclk) != OV02A10_ECLK_FREQ) in ov02a10_probe()
905 dev_warn(dev, "eclk mismatched, mode is based on 24MHz\n"); in ov02a10_probe()