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/
Dov7251.c71 u32 xclk_freq; member
755 DIV_ROUND_UP(ov7251->xclk_freq, 1000)); in ov7251_set_power_on()
1299 &ov7251->xclk_freq); in ov7251_probe()
1306 if (ov7251->xclk_freq < 23760000 || ov7251->xclk_freq > 24240000) { in ov7251_probe()
1308 ov7251->xclk_freq); in ov7251_probe()
1312 ret = clk_set_rate(ov7251->xclk, ov7251->xclk_freq); in ov7251_probe()
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()
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()
Dov5640.c233 u32 xclk_freq; member
875 unsigned long sysclk = sensor->xclk_freq / pll_prediv * pll_mult; in ov5640_compute_sys_clk()
1285 u32 xvclk = sensor->xclk_freq / 10000; in ov5640_get_sysclk()
3125 sensor->xclk_freq = clk_get_rate(sensor->xclk); in ov5640_probe()
3126 if (sensor->xclk_freq < OV5640_XCLK_MIN || in ov5640_probe()
3127 sensor->xclk_freq > OV5640_XCLK_MAX) { in ov5640_probe()
3129 sensor->xclk_freq); in ov5640_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()