32 {0x00, 0x14}, {0x20, 0x17},
33 {0x20, 0x19}, {0x09, 0x18});
61 ctrl->
value = (r1 << 4) | (
r2 & 0x0f);
134 return err ? -
EIO : 0;
174 .i2c_slave_id = 0x40,
175 .init = &pas106b_init,
184 .default_value = 0x140,
190 .name =
"global gain",
194 .default_value = 0x0d,
204 .default_value = 0x00,
210 .name =
"red balance",
214 .default_value = 0x04,
220 .name =
"blue balance",
224 .default_value = 0x06,
230 .name =
"green balance",
234 .default_value = 0x02,
240 .name =
"DAC magnitude",
244 .default_value = 0x01,
248 .get_ctrl = &pas106b_get_ctrl,
249 .set_ctrl = &pas106b_set_ctrl,
264 .set_crop = &pas106b_set_crop,
271 .set_pix_format = &pas106b_set_pix_format
278 unsigned int pid = 0;
292 if (r0 < 0 || r1 < 0)
295 pid = (r0 << 11) | ((r1 & 0xf0) >> 4);