Home
last modified time | relevance | path

Searched refs:clkrc (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/i2c/
Dov7670.c251 u8 clkrc; /* Clock divider value */ member
796 u32 clkrc = info->clkrc; in ov7675_get_framerate() local
804 clkrc++; in ov7675_get_framerate()
806 clkrc = (clkrc >> 1); in ov7675_get_framerate()
810 (4 * clkrc); in ov7675_get_framerate()
818 ret = ov7670_write(sd, REG_CLKRC, info->clkrc); in ov7675_apply_framerate()
830 u32 clkrc; in ov7675_set_framerate() local
841 clkrc = 0; in ov7675_set_framerate()
844 clkrc = (5 * pll_factor * info->clock_speed * tpf->numerator) / in ov7675_set_framerate()
847 clkrc = (clkrc << 1); in ov7675_set_framerate()
[all …]
Dov6650.c206 u8 clkrc; member
212 .clkrc = CLKRC_8MHz,
216 .clkrc = CLKRC_12MHz,
220 .clkrc = CLKRC_16MHz,
224 .clkrc = CLKRC_24MHz,
800 static int ov6650_prog_dflt(struct i2c_client *client, u8 clkrc) in ov6650_prog_dflt() argument
808 ret = ov6650_reg_write(client, REG_CLKRC, clkrc); in ov6650_prog_dflt()
891 ret = ov6650_prog_dflt(client, xclk->clkrc); in ov6650_video_probe()
Dov9650.c565 u8 clkrc; in ov965x_update_exposure_ctrl() local
572 clkrc = DEF_CLKRC + ov965x->fiv->clkrc_div; in ov965x_update_exposure_ctrl()
574 fint = ov965x->mclk_frequency * ((clkrc >> 7) + 1) / in ov965x_update_exposure_ctrl()
575 ((2 * ((clkrc & 0x3f) + 1))); in ov965x_update_exposure_ctrl()
583 clkrc, fint, trow, max); in ov965x_update_exposure_ctrl()
Dov772x.c636 u8 clkrc = 0; in ov772x_set_frame_rate() local
690 clkrc = CLKRC_DIV(div); in ov772x_set_frame_rate()
699 ret = regmap_write(priv->regmap, CLKRC, clkrc | CLKRC_RESERVED); in ov772x_set_frame_rate()