Searched refs:xclk_freq (Results 1 – 5 of 5) sorted by relevance
557 u32 xclk_freq; in ov5647_probe() local578 xclk_freq = clk_get_rate(sensor->xclk); in ov5647_probe()579 if (xclk_freq != 25000000) { in ov5647_probe()580 dev_err(dev, "Unsupported clock frequency: %u\n", xclk_freq); in ov5647_probe()
1059 u32 xclk_freq; in ov5645_probe() local1097 ret = of_property_read_u32(dev->of_node, "clock-frequency", &xclk_freq); in ov5645_probe()1104 if (xclk_freq < 23760000 || xclk_freq > 24240000) { in ov5645_probe()1106 xclk_freq); in ov5645_probe()1110 ret = clk_set_rate(ov5645->xclk, xclk_freq); in ov5645_probe()
71 u32 xclk_freq; member755 DIV_ROUND_UP(ov7251->xclk_freq, 1000)); in ov7251_set_power_on()1296 &ov7251->xclk_freq); in ov7251_probe()1303 if (ov7251->xclk_freq < 23760000 || ov7251->xclk_freq > 24240000) { in ov7251_probe()1305 ov7251->xclk_freq); in ov7251_probe()1309 ret = clk_set_rate(ov7251->xclk, ov7251->xclk_freq); in ov7251_probe()
225 u32 xclk_freq; member836 unsigned long sysclk = sensor->xclk_freq / pll_prediv * pll_mult; in ov5640_compute_sys_clk()1327 u32 xvclk = sensor->xclk_freq / 10000; in ov5640_get_sysclk()3013 sensor->xclk_freq = clk_get_rate(sensor->xclk); in ov5640_probe()3014 if (sensor->xclk_freq < OV5640_XCLK_MIN || in ov5640_probe()3015 sensor->xclk_freq > OV5640_XCLK_MAX) { in ov5640_probe()3017 sensor->xclk_freq); in ov5640_probe()
47 u32 xclk_freq; member819 unsigned int xclk_freq; in et8ek8_power_on() local829 xclk_freq = sensor->current_reglist->mode.ext_clock; in et8ek8_power_on()831 xclk_freq = sensor->xclk_freq; in et8ek8_power_on()833 rval = clk_set_rate(sensor->ext_clk, xclk_freq); in et8ek8_power_on()836 xclk_freq); in et8ek8_power_on()852 msleep(5000 * 1000 / xclk_freq + 1); /* Wait 5000 cycles */ in et8ek8_power_on()1428 &sensor->xclk_freq); in et8ek8_probe()