Lines Matching defs:sd

50 struct sd {  struct
51 struct gspca_dev gspca_dev; /* !! must be the first item */
53 struct v4l2_ctrl *jpegqual;
54 struct v4l2_ctrl *freq;
55 struct { /* h/vflip control cluster */
59 struct { /* autobrightness/brightness control cluster */
64 u8 revision;
66 u8 packet_nr;
68 char bridge;
78 char invert_led;
81 char snapshot_pressed;
82 char snapshot_needs_reset;
85 u8 sif;
91 u8 stopped; /* Streaming is temporarily paused */
92 u8 first_frame;
94 u8 frame_rate; /* current Framerate */
95 u8 clockdiv; /* clockdiv override */
97 s8 sensor; /* Type of image sensor chip (SEN_*) */
99 u8 sensor_addr;
100 u16 sensor_width;
101 u16 sensor_height;
102 s16 sensor_reg_cache[256];
104 u8 jpeg_hdr[JPEG_HDR_SZ];
1989 static void reg_w(struct sd *sd, u16 index, u16 value) in reg_w()
2040 static int reg_r(struct sd *sd, u16 index) in reg_r()
2087 static int reg_r8(struct sd *sd, in reg_r8()
2125 static void reg_w_mask(struct sd *sd, in reg_w_mask()
2149 static void ov518_reg_w32(struct sd *sd, u16 index, u32 value, int n) in ov518_reg_w32()
2173 static void ov511_i2c_w(struct sd *sd, u8 reg, u8 value) in ov511_i2c_w()
2207 static int ov511_i2c_r(struct sd *sd, u8 reg) in ov511_i2c_r()
2278 static void ov518_i2c_w(struct sd *sd, in ov518_i2c_w()
2307 static int ov518_i2c_r(struct sd *sd, u8 reg) in ov518_i2c_r()
2328 static void ovfx2_i2c_w(struct sd *sd, u8 reg, u8 value) in ovfx2_i2c_w()
2350 static int ovfx2_i2c_r(struct sd *sd, u8 reg) in ovfx2_i2c_r()
2376 static void i2c_w(struct sd *sd, u8 reg, u8 value) in i2c_w()
2409 static int i2c_r(struct sd *sd, u8 reg) in i2c_r()
2445 static void i2c_w_mask(struct sd *sd, in i2c_w_mask()
2464 static inline void ov51x_stop(struct sd *sd) in ov51x_stop()
2495 static inline void ov51x_restart(struct sd *sd) in ov51x_restart()
2534 static int init_ov_sensor(struct sd *sd, u8 slave) in init_ov_sensor()
2573 static void ov51x_set_slave_ids(struct sd *sd, in ov51x_set_slave_ids()
2589 static void write_regvals(struct sd *sd, in write_regvals()
2599 static void write_i2c_regvals(struct sd *sd, in write_i2c_regvals()
2616 static void ov_hires_configure(struct sd *sd) in ov_hires_configure()
2664 static void ov8xx0_configure(struct sd *sd) in ov8xx0_configure()
2687 static void ov7xx0_configure(struct sd *sd) in ov7xx0_configure()
2775 static void ov6xx0_configure(struct sd *sd) in ov6xx0_configure()
2824 static void ov51x_led_control(struct sd *sd, int on) in ov51x_led_control()
2846 struct sd *sd = (struct sd *) gspca_dev; in sd_reset_snapshot() local
2874 static void ov51x_upload_quan_tables(struct sd *sd) in ov51x_upload_quan_tables()
2951 struct sd *sd = (struct sd *) gspca_dev; in ov511_configure() local
3018 struct sd *sd = (struct sd *) gspca_dev; in ov518_configure() local
3087 static void ov519_configure(struct sd *sd) in ov519_configure()
3108 static void ovfx2_configure(struct sd *sd) in ovfx2_configure()
3127 static void ov519_set_mode(struct sd *sd) in ov519_set_mode()
3164 static void ov519_set_fr(struct sd *sd) in ov519_set_fr()
3212 struct sd *sd = (struct sd *) gspca_dev; in setautogain() local
3221 struct sd *sd = (struct sd *) gspca_dev; in sd_config() local
3263 struct sd *sd = (struct sd *) gspca_dev; in sd_init() local
3447 struct sd *sd = (struct sd *) gspca_dev; in sd_isoc_init() local
3464 static void ov511_mode_init_regs(struct sd *sd) in ov511_mode_init_regs()
3596 static void ov518_mode_init_regs(struct sd *sd) in ov518_mode_init_regs()
3742 static void ov519_mode_init_regs(struct sd *sd) in ov519_mode_init_regs()
3903 static void mode_init_ov_sensor_regs(struct sd *sd) in mode_init_ov_sensor_regs()
4097 struct sd *sd = (struct sd *) gspca_dev; in sethvflip() local
4108 static void set_ov_sensor_window(struct sd *sd) in set_ov_sensor_window()
4224 struct sd *sd = (struct sd *) gspca_dev; in sd_start() local
4264 struct sd *sd = (struct sd *) gspca_dev; in sd_stopN() local
4272 struct sd *sd = (struct sd *) gspca_dev; in sd_stop0() local
4293 struct sd *sd = (struct sd *) gspca_dev; in ov51x_handle_button() local
4323 struct sd *sd = (struct sd *) gspca_dev; in ov511_pkt_scan() local
4373 struct sd *sd = (struct sd *) gspca_dev; in ov518_pkt_scan() local
4457 struct sd *sd = (struct sd *) gspca_dev; in ovfx2_pkt_scan() local
4481 struct sd *sd = (struct sd *) gspca_dev; in sd_pkt_scan() local
4508 struct sd *sd = (struct sd *) gspca_dev; in setbrightness() local
4555 struct sd *sd = (struct sd *) gspca_dev; in setcontrast() local
4657 struct sd *sd = (struct sd *) gspca_dev; in setexposure() local
4664 struct sd *sd = (struct sd *) gspca_dev; in setcolors() local
4713 struct sd *sd = (struct sd *) gspca_dev; in setautobright() local
4718 static void setfreq_i(struct sd *sd, s32 val) in setfreq_i()
4779 struct sd *sd = (struct sd *) gspca_dev; in setfreq() local
4791 struct sd *sd = (struct sd *) gspca_dev; in sd_get_jcomp() local
4806 struct sd *sd = (struct sd *) gspca_dev; in sd_set_jcomp() local
4819 struct sd *sd = (struct sd *)gspca_dev; in sd_g_volatile_ctrl() local
4835 struct sd *sd = (struct sd *)gspca_dev; in sd_s_ctrl() local
4883 struct sd *sd = (struct sd *)gspca_dev; in sd_init_controls() local