Lines Matching +full:2 +full:p5
121 .order = 2,
131 .order = 2,
136 .order = 2,
152 struct i2c_msg msg[2]; in __mt9t112_reg_read()
153 u8 buf[2]; in __mt9t112_reg_read()
160 msg[0].len = 2; in __mt9t112_reg_read()
165 msg[1].len = 2; in __mt9t112_reg_read()
172 ret = i2c_transfer(client->adapter, msg, 2); in __mt9t112_reg_read()
176 memcpy(&ret, buf, 2); in __mt9t112_reg_read()
191 memcpy(buf + 0, &command, 2); in __mt9t112_reg_write()
192 memcpy(buf + 2, &data, 2); in __mt9t112_reg_write()
277 int m, n, p1, p2, p3, p4, p5, p6, p7; in mt9t112_clock_info() local
293 p5 = n & 0x000f; in mt9t112_clock_info()
307 vco = 2 * m * ext / (n + 1); in mt9t112_clock_info()
323 clk = vco / (p5 + 1); in mt9t112_clock_info()
346 u16 wstart = (MAX_WIDTH - width) / 2; in mt9t112_set_a_frame_size()
347 u16 hstart = (MAX_HEIGHT - height) / 2; in mt9t112_set_a_frame_size()
351 mt9t112_mcu_write(ret, client, VAR(26, 2), height); in mt9t112_set_a_frame_size()
358 mt9t112_mcu_write(ret, client, VAR(18, 2), 4 + hstart); in mt9t112_set_a_frame_size()
372 u8 p5, u8 p6, u8 p7) in mt9t112_set_pll_dividers() argument
385 /* P4/P5/P6 */ in mt9t112_set_pll_dividers()
386 val = (0x7 << 12) | ((p6 & 0x0F) << 8) | ((p5 & 0x0F) << 4) | in mt9t112_set_pll_dividers()
412 priv->info->divider.p5, priv->info->divider.p6, in mt9t112_init_pll()
605 mt9t112_mcu_write(ret, client, VAR8(8, 2), 0x10); in mt9t112_init_setting()
650 mt9t112_mcu_write(ret, client, VAR8(12, 2), 0x02); in mt9t112_auto_focus_setting()
727 reg->size = 2; in mt9t112_g_register()