Searched refs:xclk_freq (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/media/i2c/et8ek8/ |
D | et8ek8_driver.c | 47 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() 1443 &sensor->xclk_freq); in et8ek8_probe()
|
/linux-6.12.1/drivers/media/i2c/ |
D | ov5645.c | 1061 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()
|
D | ov7251.c | 134 u32 xclk_freq; member 929 DIV_ROUND_UP(ov7251->xclk_freq, 1000)); in ov7251_set_power_on() 1658 ov7251->xclk_freq = clk_rate ? clk_rate : rate; in ov7251_probe() 1660 if (ov7251->xclk_freq == 0) in ov7251_probe() 1671 if (ov7251->xclk_freq == supported_xclk_rates[i]) in ov7251_probe() 1677 ov7251->xclk_freq); in ov7251_probe()
|
D | imx290.c | 1383 u32 xclk_freq; in imx290_init_clk() local 1387 &xclk_freq); in imx290_init_clk() 1394 switch (xclk_freq) { in imx290_init_clk() 1403 xclk_freq); in imx290_init_clk() 1407 ret = clk_set_rate(imx290->xclk, xclk_freq); in imx290_init_clk()
|
D | ov5647.c | 1386 u32 xclk_freq; in ov5647_probe() local 1407 xclk_freq = clk_get_rate(sensor->xclk); in ov5647_probe() 1408 if (xclk_freq != 25000000) { in ov5647_probe() 1409 dev_err(dev, "Unsupported clock frequency: %u\n", xclk_freq); in ov5647_probe()
|
D | imx219.c | 321 u32 xclk_freq; member 1118 imx219->xclk_freq = clk_get_rate(imx219->xclk); in imx219_probe() 1119 if (imx219->xclk_freq != IMX219_XCLK_FREQ) in imx219_probe() 1122 imx219->xclk_freq); in imx219_probe()
|
D | imx283.c | 1466 unsigned int xclk_freq; in imx283_probe() local 1491 xclk_freq = clk_get_rate(imx283->xclk); in imx283_probe() 1493 if (xclk_freq == imx283_frequencies[i].mhz) { in imx283_probe() 1499 dev_err(imx283->dev, "xclk frequency unsupported: %d Hz\n", xclk_freq); in imx283_probe()
|
D | gc2145.c | 1337 unsigned int xclk_freq; in gc2145_probe() local 1358 xclk_freq = clk_get_rate(gc2145->xclk); in gc2145_probe() 1359 if (xclk_freq != GC2145_XCLK_FREQ) { in gc2145_probe() 1361 xclk_freq); in gc2145_probe()
|
D | ov5640.c | 442 u32 xclk_freq; member 1380 unsigned long sysclk = sensor->xclk_freq / pll_prediv * pll_mult; in ov5640_compute_sys_clk() 1861 u32 xvclk = sensor->xclk_freq / 10000; in ov5640_get_sysclk() 3906 sensor->xclk_freq = clk_get_rate(sensor->xclk); in ov5640_probe() 3907 if (sensor->xclk_freq < OV5640_XCLK_MIN || in ov5640_probe() 3908 sensor->xclk_freq > OV5640_XCLK_MAX) { in ov5640_probe() 3910 sensor->xclk_freq); in ov5640_probe()
|
D | ov64a40.c | 3544 u32 xclk_freq; in ov64a40_probe() local 3565 xclk_freq = clk_get_rate(ov64a40->xclk); in ov64a40_probe() 3566 if (xclk_freq != OV64A40_XCLK_FREQ) { in ov64a40_probe() 3568 xclk_freq); in ov64a40_probe()
|