Lines Matching +full:0 +full:x3500

20 #define OV9282_REG_MODE_SELECT	0x0100
21 #define OV9282_MODE_STANDBY 0x00
22 #define OV9282_MODE_STREAMING 0x01
25 #define OV9282_REG_LPFR 0x380e
28 #define OV9282_REG_ID 0x300a
29 #define OV9282_ID 0x9281
32 #define OV9282_REG_EXPOSURE 0x3500
36 #define OV9282_EXPOSURE_DEFAULT 0x0282
39 #define OV9282_REG_AGAIN 0x3509
40 #define OV9282_AGAIN_MIN 0x10
41 #define OV9282_AGAIN_MAX 0xff
43 #define OV9282_AGAIN_DEFAULT 0x10
46 #define OV9282_REG_HOLD 0x3308
55 #define OV9282_REG_MIN 0x00
56 #define OV9282_REG_MAX 0xfffff
152 {0x0302, 0x32},
153 {0x030d, 0x50},
154 {0x030e, 0x02},
155 {0x3001, 0x00},
156 {0x3004, 0x00},
157 {0x3005, 0x00},
158 {0x3006, 0x04},
159 {0x3011, 0x0a},
160 {0x3013, 0x18},
161 {0x301c, 0xf0},
162 {0x3022, 0x01},
163 {0x3030, 0x10},
164 {0x3039, 0x32},
165 {0x303a, 0x00},
166 {0x3500, 0x00},
167 {0x3501, 0x5f},
168 {0x3502, 0x1e},
169 {0x3503, 0x08},
170 {0x3505, 0x8c},
171 {0x3507, 0x03},
172 {0x3508, 0x00},
173 {0x3509, 0x10},
174 {0x3610, 0x80},
175 {0x3611, 0xa0},
176 {0x3620, 0x6e},
177 {0x3632, 0x56},
178 {0x3633, 0x78},
179 {0x3666, 0x00},
180 {0x366f, 0x5a},
181 {0x3680, 0x84},
182 {0x3712, 0x80},
183 {0x372d, 0x22},
184 {0x3731, 0x80},
185 {0x3732, 0x30},
186 {0x3778, 0x00},
187 {0x377d, 0x22},
188 {0x3788, 0x02},
189 {0x3789, 0xa4},
190 {0x378a, 0x00},
191 {0x378b, 0x4a},
192 {0x3799, 0x20},
193 {0x3800, 0x00},
194 {0x3801, 0x00},
195 {0x3802, 0x00},
196 {0x3803, 0x00},
197 {0x3804, 0x05},
198 {0x3805, 0x0f},
199 {0x3806, 0x02},
200 {0x3807, 0xdf},
201 {0x3808, 0x05},
202 {0x3809, 0x00},
203 {0x380a, 0x02},
204 {0x380b, 0xd0},
205 {0x380c, 0x05},
206 {0x380d, 0xfa},
207 {0x380e, 0x06},
208 {0x380f, 0xce},
209 {0x3810, 0x00},
210 {0x3811, 0x08},
211 {0x3812, 0x00},
212 {0x3813, 0x08},
213 {0x3814, 0x11},
214 {0x3815, 0x11},
215 {0x3820, 0x3c},
216 {0x3821, 0x84},
217 {0x3881, 0x42},
218 {0x38a8, 0x02},
219 {0x38a9, 0x80},
220 {0x38b1, 0x00},
221 {0x38c4, 0x00},
222 {0x38c5, 0xc0},
223 {0x38c6, 0x04},
224 {0x38c7, 0x80},
225 {0x3920, 0xff},
226 {0x4003, 0x40},
227 {0x4008, 0x02},
228 {0x4009, 0x05},
229 {0x400c, 0x00},
230 {0x400d, 0x03},
231 {0x4010, 0x40},
232 {0x4043, 0x40},
233 {0x4307, 0x30},
234 {0x4317, 0x00},
235 {0x4501, 0x00},
236 {0x4507, 0x00},
237 {0x4509, 0x80},
238 {0x450a, 0x08},
239 {0x4601, 0x04},
240 {0x470f, 0x00},
241 {0x4f07, 0x00},
242 {0x4800, 0x20},
243 {0x5000, 0x9f},
244 {0x5001, 0x00},
245 {0x5e00, 0x00},
246 {0x5d00, 0x07},
247 {0x5d01, 0x00},
248 {0x0101, 0x01},
249 {0x1000, 0x03},
250 {0x5a08, 0x84},
262 .link_freq_idx = 0,
288 * Return: 0 if successful, error code otherwise.
293 struct i2c_msg msgs[2] = {0}; in ov9282_read_reg()
294 u8 addr_buf[2] = {0}; in ov9282_read_reg()
295 u8 data_buf[4] = {0}; in ov9282_read_reg()
304 msgs[0].addr = client->addr; in ov9282_read_reg()
305 msgs[0].flags = 0; in ov9282_read_reg()
306 msgs[0].len = ARRAY_SIZE(addr_buf); in ov9282_read_reg()
307 msgs[0].buf = addr_buf; in ov9282_read_reg()
321 return 0; in ov9282_read_reg()
331 * Return: 0 if successful, error code otherwise.
336 u8 buf[6] = {0}; in ov9282_write_reg()
346 return 0; in ov9282_write_reg()
355 * Return: 0 if successful, error code otherwise.
363 for (i = 0; i < len; i++) { in ov9282_write_regs()
369 return 0; in ov9282_write_regs()
377 * Return: 0 if successful, error code otherwise.
402 * Return: 0 if successful, error code otherwise.
429 ov9282_write_reg(ov9282, OV9282_REG_HOLD, 1, 0); in ov9282_update_exp_gain()
444 * Return: 0 if successful, error code otherwise.
472 return 0; in ov9282_set_ctrl()
504 * Return: 0 if successful, error code otherwise.
510 if (code->index > 0) in ov9282_enum_mbus_code()
515 return 0; in ov9282_enum_mbus_code()
524 * Return: 0 if successful, error code otherwise.
530 if (fsize->index > 0) in ov9282_enum_frame_size()
541 return 0; in ov9282_enum_frame_size()
571 * Return: 0 if successful, error code otherwise.
592 return 0; in ov9282_get_pad_format()
601 * Return: 0 if successful, error code otherwise.
609 int ret = 0; in ov9282_set_pad_format()
637 * Return: 0 if successful, error code otherwise.
643 struct v4l2_subdev_format fmt = { 0 }; in ov9282_init_pad_cfg()
655 * Return: 0 if successful, error code otherwise.
685 return 0; in ov9282_start_streaming()
692 * Return: 0 if successful, error code otherwise.
705 * Return: 0 if successful, error code otherwise.
716 return 0; in ov9282_set_stream()
736 return 0; in ov9282_set_stream()
750 * Return: 0 if successful, -EIO if sensor id does not match
767 return 0; in ov9282_detect()
774 * Return: 0 if successful, error code otherwise.
835 for (i = 0; i < bus_cfg.nr_of_link_frequencies; i++) in ov9282_parse_hw_config()
869 * Return: 0 if successful, error code otherwise.
889 return 0; in ov9282_power_on()
892 gpiod_set_value_cansleep(ov9282->reset_gpio, 0); in ov9282_power_on()
901 * Return: 0 if successful, error code otherwise.
908 gpiod_set_value_cansleep(ov9282->reset_gpio, 0); in ov9282_power_off()
912 return 0; in ov9282_power_off()
919 * Return: 0 if successful, error code otherwise.
997 return 0; in ov9282_init_controls()
1004 * Return: 0 if successful, error code otherwise.
1064 if (ret < 0) { in ov9282_probe()
1074 return 0; in ov9282_probe()
1092 * Return: 0 if successful, error code otherwise.
1110 return 0; in ov9282_remove()