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
161 {0x3000, 0x01},
162 {0x3002, 0x00},
163 {0x300c, 0x3b},
164 {0x300d, 0x2a},
165 {0x3018, 0x04},
166 {0x302c, 0x3c},
167 {0x302e, 0x20},
168 {0x3056, 0x94},
169 {0x3074, 0xc8},
170 {0x3076, 0x28},
171 {0x304c, 0x00},
172 {0x314c, 0xc6},
173 {0x315a, 0x02},
174 {0x3168, 0xa0},
175 {0x316a, 0x7e},
176 {0x31a1, 0x00},
177 {0x3288, 0x21},
178 {0x328a, 0x02},
179 {0x3414, 0x05},
180 {0x3416, 0x18},
181 {0x3648, 0x01},
182 {0x364a, 0x04},
183 {0x364c, 0x04},
184 {0x3678, 0x01},
185 {0x367c, 0x31},
186 {0x367e, 0x31},
187 {0x3706, 0x10},
188 {0x3708, 0x03},
189 {0x3714, 0x02},
190 {0x3715, 0x02},
191 {0x3716, 0x01},
192 {0x3717, 0x03},
193 {0x371c, 0x3d},
194 {0x371d, 0x3f},
195 {0x372c, 0x00},
196 {0x372d, 0x00},
197 {0x372e, 0x46},
198 {0x372f, 0x00},
199 {0x3730, 0x89},
200 {0x3731, 0x00},
201 {0x3732, 0x08},
202 {0x3733, 0x01},
203 {0x3734, 0xfe},
204 {0x3735, 0x05},
205 {0x3740, 0x02},
206 {0x375d, 0x00},
207 {0x375e, 0x00},
208 {0x375f, 0x11},
209 {0x3760, 0x01},
210 {0x3768, 0x1b},
211 {0x3769, 0x1b},
212 {0x376a, 0x1b},
213 {0x376b, 0x1b},
214 {0x376c, 0x1a},
215 {0x376d, 0x17},
216 {0x376e, 0x0f},
217 {0x3776, 0x00},
218 {0x3777, 0x00},
219 {0x3778, 0x46},
220 {0x3779, 0x00},
221 {0x377a, 0x89},
222 {0x377b, 0x00},
223 {0x377c, 0x08},
224 {0x377d, 0x01},
225 {0x377e, 0x23},
226 {0x377f, 0x02},
227 {0x3780, 0xd9},
228 {0x3781, 0x03},
229 {0x3782, 0xf5},
230 {0x3783, 0x06},
231 {0x3784, 0xa5},
232 {0x3788, 0x0f},
233 {0x378a, 0xd9},
234 {0x378b, 0x03},
235 {0x378c, 0xeb},
236 {0x378d, 0x05},
237 {0x378e, 0x87},
238 {0x378f, 0x06},
239 {0x3790, 0xf5},
240 {0x3792, 0x43},
241 {0x3794, 0x7a},
242 {0x3796, 0xa1},
243 {0x37b0, 0x36},
244 {0x3a00, 0x01},
256 .link_freq_idx = 0,
284 * Return: 0 if successful, error code otherwise.
289 struct i2c_msg msgs[2] = {0}; in imx335_read_reg()
290 u8 addr_buf[2] = {0}; in imx335_read_reg()
291 u8 data_buf[4] = {0}; in imx335_read_reg()
300 msgs[0].addr = client->addr; in imx335_read_reg()
301 msgs[0].flags = 0; in imx335_read_reg()
302 msgs[0].len = ARRAY_SIZE(addr_buf); in imx335_read_reg()
303 msgs[0].buf = addr_buf; in imx335_read_reg()
317 return 0; in imx335_read_reg()
329 * Return: 0 if successful, error code otherwise.
334 u8 buf[6] = {0}; in imx335_write_reg()
344 return 0; in imx335_write_reg()
353 * Return: 0 if successful. error code otherwise.
361 for (i = 0; i < len; i++) { in imx335_write_regs()
367 return 0; in imx335_write_regs()
375 * Return: 0 if successful, error code otherwise.
400 * Return: 0 if successful, error code otherwise.
428 imx335_write_reg(imx335, IMX335_REG_HOLD, 1, 0); in imx335_update_exp_gain()
443 * Return: 0 if successful, error code otherwise.
471 return 0; in imx335_set_ctrl()
503 * Return: 0 if successful, error code otherwise.
509 if (code->index > 0) in imx335_enum_mbus_code()
514 return 0; in imx335_enum_mbus_code()
523 * Return: 0 if successful, error code otherwise.
529 if (fsize->index > 0) in imx335_enum_frame_size()
540 return 0; in imx335_enum_frame_size()
570 * Return: 0 if successful, error code otherwise.
591 return 0; in imx335_get_pad_format()
600 * Return: 0 if successful, error code otherwise.
608 int ret = 0; in imx335_set_pad_format()
636 * Return: 0 if successful, error code otherwise.
642 struct v4l2_subdev_format fmt = { 0 }; in imx335_init_pad_cfg()
654 * Return: 0 if successful, error code otherwise.
688 return 0; in imx335_start_streaming()
695 * Return: 0 if successful, error code otherwise.
708 * Return: 0 if successful, error code otherwise.
719 return 0; in imx335_set_stream()
739 return 0; in imx335_set_stream()
753 * Return: 0 if successful, -EIO if sensor id does not match
770 return 0; in imx335_detect()
777 * Return: 0 if successful, error code otherwise.
802 for (i = 0; i < ARRAY_SIZE(imx335_supply_name); i++) in imx335_parse_hw_config()
849 for (i = 0; i < bus_cfg.nr_of_link_frequencies; i++) in imx335_parse_hw_config()
883 * Return: 0 if successful, error code otherwise.
901 gpiod_set_value_cansleep(imx335->reset_gpio, 0); in imx335_power_on()
911 return 0; in imx335_power_on()
924 * Return: 0 if successful, error code otherwise.
935 return 0; in imx335_power_off()
942 * Return: 0 if successful, error code otherwise.
1020 return 0; in imx335_init_controls()
1027 * Return: 0 if successful, error code otherwise.
1087 if (ret < 0) { in imx335_probe()
1097 return 0; in imx335_probe()
1115 * Return: 0 if successful, error code otherwise.