Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/i2c/
Dov5647.c557 u32 xclk_freq; in ov5647_probe() local
578 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()
Dov5645.c1059 u32 xclk_freq; in ov5645_probe() local
1097 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()
Dov7251.c71 u32 xclk_freq; member
755 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()
Dov5640.c225 u32 xclk_freq; member
836 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()
/Linux-v5.4/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()