Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/i2c/
Dov7670.c251 u8 clkrc; /* Clock divider value */ member
799 u32 clkrc = info->clkrc; in ov7675_get_framerate() local
807 clkrc++; in ov7675_get_framerate()
809 clkrc = (clkrc >> 1); in ov7675_get_framerate()
813 (4 * clkrc); in ov7675_get_framerate()
821 ret = ov7670_write(sd, REG_CLKRC, info->clkrc); in ov7675_apply_framerate()
833 u32 clkrc; in ov7675_set_framerate() local
844 clkrc = 0; in ov7675_set_framerate()
847 clkrc = (5 * pll_factor * info->clock_speed * tpf->numerator) / in ov7675_set_framerate()
850 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,
853 static int ov6650_prog_dflt(struct i2c_client *client, u8 clkrc) in ov6650_prog_dflt() argument
861 ret = ov6650_reg_write(client, REG_CLKRC, clkrc); in ov6650_prog_dflt()
944 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.c652 u8 clkrc = 0; in ov772x_set_frame_rate() local
706 clkrc = CLKRC_DIV(div); in ov772x_set_frame_rate()
715 ret = regmap_write(priv->regmap, CLKRC, clkrc | CLKRC_RESERVED); in ov772x_set_frame_rate()