Lines Matching refs:v4l2_subdev
211 int (*set_framerate)(struct v4l2_subdev *, struct v4l2_fract *);
212 void (*get_framerate)(struct v4l2_subdev *, struct v4l2_fract *);
220 struct v4l2_subdev sd;
258 static inline struct ov7670_info *to_state(struct v4l2_subdev *sd) in to_state()
263 static inline struct v4l2_subdev *to_sd(struct v4l2_ctrl *ctrl) in to_sd()
478 static int ov7670_read_smbus(struct v4l2_subdev *sd, unsigned char reg, in ov7670_read_smbus()
493 static int ov7670_write_smbus(struct v4l2_subdev *sd, unsigned char reg, in ov7670_write_smbus()
507 static int ov7670_read_i2c(struct v4l2_subdev *sd, unsigned char reg, in ov7670_read_i2c()
540 static int ov7670_write_i2c(struct v4l2_subdev *sd, unsigned char reg, in ov7670_write_i2c()
560 static int ov7670_read(struct v4l2_subdev *sd, unsigned char reg, in ov7670_read()
571 static int ov7670_write(struct v4l2_subdev *sd, unsigned char reg, in ov7670_write()
582 static int ov7670_update_bits(struct v4l2_subdev *sd, unsigned char reg, in ov7670_update_bits()
598 static int ov7670_write_array(struct v4l2_subdev *sd, struct regval_list *vals) in ov7670_write_array()
614 static int ov7670_reset(struct v4l2_subdev *sd, u32 val) in ov7670_reset()
622 static int ov7670_init(struct v4l2_subdev *sd, u32 val) in ov7670_init()
627 static int ov7670_detect(struct v4l2_subdev *sd) in ov7670_detect()
795 static void ov7675_get_framerate(struct v4l2_subdev *sd, in ov7675_get_framerate()
816 static int ov7675_apply_framerate(struct v4l2_subdev *sd) in ov7675_apply_framerate()
829 static int ov7675_set_framerate(struct v4l2_subdev *sd, in ov7675_set_framerate()
879 static void ov7670_get_framerate_legacy(struct v4l2_subdev *sd, in ov7670_get_framerate_legacy()
890 static int ov7670_set_framerate_legacy(struct v4l2_subdev *sd, in ov7670_set_framerate_legacy()
922 static int ov7670_set_hw(struct v4l2_subdev *sd, int hstart, int hstop, in ov7670_set_hw()
962 static int ov7670_enum_mbus_code(struct v4l2_subdev *sd, in ov7670_enum_mbus_code()
973 static int ov7670_try_fmt_internal(struct v4l2_subdev *sd, in ov7670_try_fmt_internal()
1037 static int ov7670_apply_fmt(struct v4l2_subdev *sd) in ov7670_apply_fmt()
1107 static int ov7670_set_fmt(struct v4l2_subdev *sd, in ov7670_set_fmt()
1147 static int ov7670_get_fmt(struct v4l2_subdev *sd, in ov7670_get_fmt()
1175 static int ov7670_g_frame_interval(struct v4l2_subdev *sd, in ov7670_g_frame_interval()
1186 static int ov7670_s_frame_interval(struct v4l2_subdev *sd, in ov7670_s_frame_interval()
1205 static int ov7670_enum_frame_interval(struct v4l2_subdev *sd, in ov7670_enum_frame_interval()
1244 static int ov7670_enum_frame_size(struct v4l2_subdev *sd, in ov7670_enum_frame_size()
1282 static int ov7670_store_cmatrix(struct v4l2_subdev *sd, in ov7670_store_cmatrix()
1396 static int ov7670_s_sat_hue(struct v4l2_subdev *sd, int sat, int hue) in ov7670_s_sat_hue()
1417 static int ov7670_s_brightness(struct v4l2_subdev *sd, int value) in ov7670_s_brightness()
1428 static int ov7670_s_contrast(struct v4l2_subdev *sd, int value) in ov7670_s_contrast()
1433 static int ov7670_s_hflip(struct v4l2_subdev *sd, int value) in ov7670_s_hflip()
1449 static int ov7670_s_vflip(struct v4l2_subdev *sd, int value) in ov7670_s_vflip()
1471 static int ov7670_g_gain(struct v4l2_subdev *sd, __s32 *value) in ov7670_g_gain()
1483 static int ov7670_s_gain(struct v4l2_subdev *sd, int value) in ov7670_s_gain()
1501 static int ov7670_s_autogain(struct v4l2_subdev *sd, int value) in ov7670_s_autogain()
1517 static int ov7670_s_exp(struct v4l2_subdev *sd, int value) in ov7670_s_exp()
1543 static int ov7670_s_autoexp(struct v4l2_subdev *sd, in ov7670_s_autoexp()
1567 static int ov7670_s_test_pattern(struct v4l2_subdev *sd, int value) in ov7670_s_test_pattern()
1582 struct v4l2_subdev *sd = to_sd(ctrl); in ov7670_g_volatile_ctrl()
1594 struct v4l2_subdev *sd = to_sd(ctrl); in ov7670_s_ctrl()
1637 static int ov7670_g_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg) in ov7670_g_register()
1648 static int ov7670_s_register(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg) in ov7670_s_register()
1655 static void ov7670_power_on(struct v4l2_subdev *sd) in ov7670_power_on()
1677 static void ov7670_power_off(struct v4l2_subdev *sd) in ov7670_power_off()
1692 static int ov7670_s_power(struct v4l2_subdev *sd, int on) in ov7670_s_power()
1712 static void ov7670_get_default_format(struct v4l2_subdev *sd, in ov7670_get_default_format()
1725 static int ov7670_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh) in ov7670_open()
1855 struct v4l2_subdev *sd; in ov7670_probe()
2014 struct v4l2_subdev *sd = i2c_get_clientdata(client); in ov7670_remove()