Lines Matching +full:0 +full:x3a00
20 #define IMX335_REG_MODE_SELECT 0x3000
21 #define IMX335_MODE_STANDBY 0x01
22 #define IMX335_MODE_STREAMING 0x00
25 #define IMX335_REG_LPFR 0x3030
28 #define IMX335_REG_ID 0x3912
29 #define IMX335_ID 0x00
32 #define IMX335_REG_SHUTTER 0x3058
36 #define IMX335_EXPOSURE_DEFAULT 0x0648
39 #define IMX335_REG_AGAIN 0x30e8
40 #define IMX335_AGAIN_MIN 0
43 #define IMX335_AGAIN_DEFAULT 0
46 #define IMX335_REG_HOLD 0x3001
55 #define IMX335_REG_MIN 0x00
56 #define IMX335_REG_MAX 0xfffff
152 {0x3000, 0x01},
153 {0x3002, 0x00},
154 {0x300c, 0x3b},
155 {0x300d, 0x2a},
156 {0x3018, 0x04},
157 {0x302c, 0x3c},
158 {0x302e, 0x20},
159 {0x3056, 0x94},
160 {0x3074, 0xc8},
161 {0x3076, 0x28},
162 {0x304c, 0x00},
163 {0x314c, 0xc6},
164 {0x315a, 0x02},
165 {0x3168, 0xa0},
166 {0x316a, 0x7e},
167 {0x31a1, 0x00},
168 {0x3288, 0x21},
169 {0x328a, 0x02},
170 {0x3414, 0x05},
171 {0x3416, 0x18},
172 {0x3648, 0x01},
173 {0x364a, 0x04},
174 {0x364c, 0x04},
175 {0x3678, 0x01},
176 {0x367c, 0x31},
177 {0x367e, 0x31},
178 {0x3706, 0x10},
179 {0x3708, 0x03},
180 {0x3714, 0x02},
181 {0x3715, 0x02},
182 {0x3716, 0x01},
183 {0x3717, 0x03},
184 {0x371c, 0x3d},
185 {0x371d, 0x3f},
186 {0x372c, 0x00},
187 {0x372d, 0x00},
188 {0x372e, 0x46},
189 {0x372f, 0x00},
190 {0x3730, 0x89},
191 {0x3731, 0x00},
192 {0x3732, 0x08},
193 {0x3733, 0x01},
194 {0x3734, 0xfe},
195 {0x3735, 0x05},
196 {0x3740, 0x02},
197 {0x375d, 0x00},
198 {0x375e, 0x00},
199 {0x375f, 0x11},
200 {0x3760, 0x01},
201 {0x3768, 0x1b},
202 {0x3769, 0x1b},
203 {0x376a, 0x1b},
204 {0x376b, 0x1b},
205 {0x376c, 0x1a},
206 {0x376d, 0x17},
207 {0x376e, 0x0f},
208 {0x3776, 0x00},
209 {0x3777, 0x00},
210 {0x3778, 0x46},
211 {0x3779, 0x00},
212 {0x377a, 0x89},
213 {0x377b, 0x00},
214 {0x377c, 0x08},
215 {0x377d, 0x01},
216 {0x377e, 0x23},
217 {0x377f, 0x02},
218 {0x3780, 0xd9},
219 {0x3781, 0x03},
220 {0x3782, 0xf5},
221 {0x3783, 0x06},
222 {0x3784, 0xa5},
223 {0x3788, 0x0f},
224 {0x378a, 0xd9},
225 {0x378b, 0x03},
226 {0x378c, 0xeb},
227 {0x378d, 0x05},
228 {0x378e, 0x87},
229 {0x378f, 0x06},
230 {0x3790, 0xf5},
231 {0x3792, 0x43},
232 {0x3794, 0x7a},
233 {0x3796, 0xa1},
234 {0x37b0, 0x36},
235 {0x3a00, 0x01},
247 .link_freq_idx = 0,
275 * Return: 0 if successful, error code otherwise.
280 struct i2c_msg msgs[2] = {0}; in imx335_read_reg()
281 u8 addr_buf[2] = {0}; in imx335_read_reg()
282 u8 data_buf[4] = {0}; in imx335_read_reg()
291 msgs[0].addr = client->addr; in imx335_read_reg()
292 msgs[0].flags = 0; in imx335_read_reg()
293 msgs[0].len = ARRAY_SIZE(addr_buf); in imx335_read_reg()
294 msgs[0].buf = addr_buf; in imx335_read_reg()
308 return 0; in imx335_read_reg()
320 * Return: 0 if successful, error code otherwise.
325 u8 buf[6] = {0}; in imx335_write_reg()
335 return 0; in imx335_write_reg()
344 * Return: 0 if successful. error code otherwise.
352 for (i = 0; i < len; i++) { in imx335_write_regs()
358 return 0; in imx335_write_regs()
366 * Return: 0 if successful, error code otherwise.
391 * Return: 0 if successful, error code otherwise.
419 imx335_write_reg(imx335, IMX335_REG_HOLD, 1, 0); in imx335_update_exp_gain()
434 * Return: 0 if successful, error code otherwise.
462 return 0; in imx335_set_ctrl()
494 * Return: 0 if successful, error code otherwise.
500 if (code->index > 0) in imx335_enum_mbus_code()
505 return 0; in imx335_enum_mbus_code()
514 * Return: 0 if successful, error code otherwise.
520 if (fsize->index > 0) in imx335_enum_frame_size()
531 return 0; in imx335_enum_frame_size()
561 * Return: 0 if successful, error code otherwise.
582 return 0; in imx335_get_pad_format()
591 * Return: 0 if successful, error code otherwise.
599 int ret = 0; in imx335_set_pad_format()
627 * Return: 0 if successful, error code otherwise.
633 struct v4l2_subdev_format fmt = { 0 }; in imx335_init_pad_cfg()
645 * Return: 0 if successful, error code otherwise.
679 return 0; in imx335_start_streaming()
686 * Return: 0 if successful, error code otherwise.
699 * Return: 0 if successful, error code otherwise.
710 return 0; in imx335_set_stream()
730 return 0; in imx335_set_stream()
744 * Return: 0 if successful, -EIO if sensor id does not match
761 return 0; in imx335_detect()
768 * Return: 0 if successful, error code otherwise.
829 for (i = 0; i < bus_cfg.nr_of_link_frequencies; i++) in imx335_parse_hw_config()
863 * Return: 0 if successful, error code otherwise.
881 return 0; in imx335_power_on()
884 gpiod_set_value_cansleep(imx335->reset_gpio, 0); in imx335_power_on()
893 * Return: 0 if successful, error code otherwise.
900 gpiod_set_value_cansleep(imx335->reset_gpio, 0); in imx335_power_off()
904 return 0; in imx335_power_off()
911 * Return: 0 if successful, error code otherwise.
989 return 0; in imx335_init_controls()
996 * Return: 0 if successful, error code otherwise.
1056 if (ret < 0) { in imx335_probe()
1066 return 0; in imx335_probe()
1084 * Return: 0 if successful, error code otherwise.