Lines Matching +full:0 +full:x3a00

20 #define IMX334_REG_MODE_SELECT	0x3000
21 #define IMX334_MODE_STANDBY 0x01
22 #define IMX334_MODE_STREAMING 0x00
25 #define IMX334_REG_LPFR 0x3030
28 #define IMX334_REG_ID 0x3044
29 #define IMX334_ID 0x1e
32 #define IMX334_REG_SHUTTER 0x3058
36 #define IMX334_EXPOSURE_DEFAULT 0x0648
39 #define IMX334_REG_AGAIN 0x30e8
40 #define IMX334_AGAIN_MIN 0
43 #define IMX334_AGAIN_DEFAULT 0
46 #define IMX334_REG_HOLD 0x3001
55 #define IMX334_REG_MIN 0x00
56 #define IMX334_REG_MAX 0xfffff
152 {0x3000, 0x01},
153 {0x3002, 0x00},
154 {0x3018, 0x04},
155 {0x37b0, 0x36},
156 {0x304c, 0x00},
157 {0x300c, 0x3b},
158 {0x300d, 0x2a},
159 {0x3034, 0x26},
160 {0x3035, 0x02},
161 {0x314c, 0x29},
162 {0x314d, 0x01},
163 {0x315a, 0x02},
164 {0x3168, 0xa0},
165 {0x316a, 0x7e},
166 {0x3288, 0x21},
167 {0x328a, 0x02},
168 {0x302c, 0x3c},
169 {0x302e, 0x00},
170 {0x302f, 0x0f},
171 {0x3076, 0x70},
172 {0x3077, 0x08},
173 {0x3090, 0x70},
174 {0x3091, 0x08},
175 {0x30d8, 0x20},
176 {0x30d9, 0x12},
177 {0x3308, 0x70},
178 {0x3309, 0x08},
179 {0x3414, 0x05},
180 {0x3416, 0x18},
181 {0x35ac, 0x0e},
182 {0x3648, 0x01},
183 {0x364a, 0x04},
184 {0x364c, 0x04},
185 {0x3678, 0x01},
186 {0x367c, 0x31},
187 {0x367e, 0x31},
188 {0x3708, 0x02},
189 {0x3714, 0x01},
190 {0x3715, 0x02},
191 {0x3716, 0x02},
192 {0x3717, 0x02},
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 {0x375d, 0x00},
206 {0x375e, 0x00},
207 {0x375f, 0x61},
208 {0x3760, 0x06},
209 {0x3768, 0x1b},
210 {0x3769, 0x1b},
211 {0x376a, 0x1a},
212 {0x376b, 0x19},
213 {0x376c, 0x18},
214 {0x376d, 0x14},
215 {0x376e, 0x0f},
216 {0x3776, 0x00},
217 {0x3777, 0x00},
218 {0x3778, 0x46},
219 {0x3779, 0x00},
220 {0x377a, 0x08},
221 {0x377b, 0x01},
222 {0x377c, 0x45},
223 {0x377d, 0x01},
224 {0x377e, 0x23},
225 {0x377f, 0x02},
226 {0x3780, 0xd9},
227 {0x3781, 0x03},
228 {0x3782, 0xf5},
229 {0x3783, 0x06},
230 {0x3784, 0xa5},
231 {0x3788, 0x0f},
232 {0x378a, 0xd9},
233 {0x378b, 0x03},
234 {0x378c, 0xeb},
235 {0x378d, 0x05},
236 {0x378e, 0x87},
237 {0x378f, 0x06},
238 {0x3790, 0xf5},
239 {0x3792, 0x43},
240 {0x3794, 0x7a},
241 {0x3796, 0xa1},
242 {0x3e04, 0x0e},
243 {0x3a00, 0x01},
255 .link_freq_idx = 0,
283 * Return: 0 if successful, error code otherwise.
288 struct i2c_msg msgs[2] = {0}; in imx334_read_reg()
289 u8 addr_buf[2] = {0}; in imx334_read_reg()
290 u8 data_buf[4] = {0}; in imx334_read_reg()
299 msgs[0].addr = client->addr; in imx334_read_reg()
300 msgs[0].flags = 0; in imx334_read_reg()
301 msgs[0].len = ARRAY_SIZE(addr_buf); in imx334_read_reg()
302 msgs[0].buf = addr_buf; in imx334_read_reg()
316 return 0; in imx334_read_reg()
328 * Return: 0 if successful, error code otherwise.
333 u8 buf[6] = {0}; in imx334_write_reg()
343 return 0; in imx334_write_reg()
352 * Return: 0 if successful, error code otherwise.
360 for (i = 0; i < len; i++) { in imx334_write_regs()
366 return 0; in imx334_write_regs()
374 * Return: 0 if successful, error code otherwise.
399 * Return: 0 if successful, error code otherwise.
427 imx334_write_reg(imx334, IMX334_REG_HOLD, 1, 0); in imx334_update_exp_gain()
442 * Return: 0 if successful, error code otherwise.
471 return 0; in imx334_set_ctrl()
503 * Return: 0 if successful, error code otherwise.
509 if (code->index > 0) in imx334_enum_mbus_code()
514 return 0; in imx334_enum_mbus_code()
523 * Return: 0 if successful, error code otherwise.
529 if (fsize->index > 0) in imx334_enum_frame_size()
540 return 0; in imx334_enum_frame_size()
570 * Return: 0 if successful, error code otherwise.
591 return 0; in imx334_get_pad_format()
600 * Return: 0 if successful, error code otherwise.
608 int ret = 0; in imx334_set_pad_format()
636 * Return: 0 if successful, error code otherwise.
642 struct v4l2_subdev_format fmt = { 0 }; in imx334_init_pad_cfg()
654 * Return: 0 if successful, error code otherwise.
685 return 0; in imx334_start_streaming()
692 * Return: 0 if successful, error code otherwise.
705 * Return: 0 if successful, error code otherwise.
716 return 0; in imx334_set_stream()
721 if (ret < 0) in imx334_set_stream()
736 return 0; in imx334_set_stream()
750 * Return: 0 if successful, -EIO if sensor id does not match
767 return 0; in imx334_detect()
774 * Return: 0 if successful, error code otherwise.
835 for (i = 0; i < bus_cfg.nr_of_link_frequencies; i++) in imx334_parse_hw_config()
869 * Return: 0 if successful, error code otherwise.
887 return 0; in imx334_power_on()
890 gpiod_set_value_cansleep(imx334->reset_gpio, 0); in imx334_power_on()
899 * Return: 0 if successful, error code otherwise.
906 gpiod_set_value_cansleep(imx334->reset_gpio, 0); in imx334_power_off()
910 return 0; in imx334_power_off()
917 * Return: 0 if successful, error code otherwise.
995 return 0; in imx334_init_controls()
1002 * Return: 0 if successful, error code otherwise.
1062 if (ret < 0) { in imx334_probe()
1072 return 0; in imx334_probe()
1090 * Return: 0 if successful, error code otherwise.