Home
last modified time | relevance | path

Searched refs:xclk_freq (Results 1 – 7 of 7) sorted by relevance

/drivers/media/i2c/et8ek8/
Det8ek8_driver.c47 u32 xclk_freq; member
819 unsigned int xclk_freq; in et8ek8_power_on() local
829 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()
/drivers/media/i2c/
Dov5645.c1061 u32 xclk_freq; in ov5645_probe() local
1099 ret = of_property_read_u32(dev->of_node, "clock-frequency", &xclk_freq); in ov5645_probe()
1106 if (xclk_freq < 23760000 || xclk_freq > 24240000) { in ov5645_probe()
1108 xclk_freq); in ov5645_probe()
1112 ret = clk_set_rate(ov5645->xclk, xclk_freq); in ov5645_probe()
Dimx290.c938 u32 xclk_freq; in imx290_probe() local
1002 &xclk_freq); in imx290_probe()
1009 if (xclk_freq != 37125000) { in imx290_probe()
1011 xclk_freq); in imx290_probe()
1016 ret = clk_set_rate(imx290->xclk, xclk_freq); in imx290_probe()
Dov7251.c134 u32 xclk_freq; member
929 DIV_ROUND_UP(ov7251->xclk_freq, 1000)); in ov7251_set_power_on()
1637 ov7251->xclk_freq = clk_rate ? clk_rate : rate; in ov7251_probe()
1639 if (ov7251->xclk_freq == 0) in ov7251_probe()
1650 if (ov7251->xclk_freq == supported_xclk_rates[i]) in ov7251_probe()
1656 ov7251->xclk_freq); in ov7251_probe()
Dov5647.c1365 u32 xclk_freq; in ov5647_probe() local
1386 xclk_freq = clk_get_rate(sensor->xclk); in ov5647_probe()
1387 if (xclk_freq != 25000000) { in ov5647_probe()
1388 dev_err(dev, "Unsupported clock frequency: %u\n", xclk_freq); in ov5647_probe()
Dimx219.c456 u32 xclk_freq; member
1422 imx219->xclk_freq = clk_get_rate(imx219->xclk); in imx219_probe()
1423 if (imx219->xclk_freq != IMX219_XCLK_FREQ) { in imx219_probe()
1425 imx219->xclk_freq); in imx219_probe()
Dov5640.c442 u32 xclk_freq; member
1369 unsigned long sysclk = sensor->xclk_freq / pll_prediv * pll_mult; in ov5640_compute_sys_clk()
1850 u32 xvclk = sensor->xclk_freq / 10000; in ov5640_get_sysclk()
3869 sensor->xclk_freq = clk_get_rate(sensor->xclk); in ov5640_probe()
3870 if (sensor->xclk_freq < OV5640_XCLK_MIN || in ov5640_probe()
3871 sensor->xclk_freq > OV5640_XCLK_MAX) { in ov5640_probe()
3873 sensor->xclk_freq); in ov5640_probe()