Searched refs:clkrc (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/media/i2c/ |
D | ov7670.c | 244 u8 clkrc; /* Clock divider value */ member 792 u32 clkrc = info->clkrc; in ov7675_get_framerate() local 800 clkrc++; in ov7675_get_framerate() 802 clkrc = (clkrc >> 1); in ov7675_get_framerate() 806 (4 * clkrc); in ov7675_get_framerate() 814 ret = ov7670_write(sd, REG_CLKRC, info->clkrc); in ov7675_apply_framerate() 826 u32 clkrc; in ov7675_set_framerate() local 837 clkrc = 0; in ov7675_set_framerate() 840 clkrc = (5 * pll_factor * info->clock_speed * tpf->numerator) / in ov7675_set_framerate() 843 clkrc = (clkrc << 1); in ov7675_set_framerate() [all …]
|
D | ov6650.c | 206 u8 clkrc; member 212 .clkrc = CLKRC_8MHz, 216 .clkrc = CLKRC_12MHz, 220 .clkrc = CLKRC_16MHz, 224 .clkrc = CLKRC_24MHz, 877 static int ov6650_prog_dflt(struct i2c_client *client, u8 clkrc) in ov6650_prog_dflt() argument 885 ret = ov6650_reg_write(client, REG_CLKRC, clkrc); in ov6650_prog_dflt() 968 ret = ov6650_prog_dflt(client, xclk->clkrc); in ov6650_video_probe()
|
D | ov9650.c | 563 u8 clkrc; in ov965x_update_exposure_ctrl() local 570 clkrc = DEF_CLKRC + ov965x->fiv->clkrc_div; in ov965x_update_exposure_ctrl() 572 fint = ov965x->mclk_frequency * ((clkrc >> 7) + 1) / in ov965x_update_exposure_ctrl() 573 ((2 * ((clkrc & 0x3f) + 1))); in ov965x_update_exposure_ctrl() 581 clkrc, fint, trow, max); in ov965x_update_exposure_ctrl()
|
D | ov772x.c | 650 u8 clkrc = 0; in ov772x_set_frame_rate() local 704 clkrc = CLKRC_DIV(div); in ov772x_set_frame_rate() 713 ret = regmap_write(priv->regmap, CLKRC, clkrc | CLKRC_RESERVED); in ov772x_set_frame_rate()
|