Lines Matching full:xclk
133 struct clk *xclk; member
918 ret = clk_prepare_enable(ov7251->xclk); in ov7251_set_power_on()
938 clk_disable_unprepare(ov7251->xclk); in ov7251_set_power_on()
952 clk_disable_unprepare(ov7251->xclk); in ov7251_set_power_off()
1641 /* get system clock (xclk) */ in ov7251_probe()
1642 ov7251->xclk = devm_clk_get_optional(dev, NULL); in ov7251_probe()
1643 if (IS_ERR(ov7251->xclk)) in ov7251_probe()
1644 return dev_err_probe(dev, PTR_ERR(ov7251->xclk), in ov7251_probe()
1645 "could not get xclk"); in ov7251_probe()
1654 if (ret && !ov7251->xclk) in ov7251_probe()
1657 clk_rate = clk_get_rate(ov7251->xclk); in ov7251_probe()
1663 if (!ret && ov7251->xclk) { in ov7251_probe()
1664 ret = clk_set_rate(ov7251->xclk, rate); in ov7251_probe()