Lines Matching full:sd

53 	struct sd *sd = (struct sd *) gspca_dev;  in sd_s_ctrl()  local
57 sd->vcur.brightness = ctrl->val; in sd_s_ctrl()
60 sd->vcur.contrast = ctrl->val; in sd_s_ctrl()
63 sd->vcur.saturation = ctrl->val; in sd_s_ctrl()
66 sd->vcur.hue = ctrl->val; in sd_s_ctrl()
69 sd->vcur.gamma = ctrl->val; in sd_s_ctrl()
72 sd->vcur.mirror = ctrl->val; in sd_s_ctrl()
75 sd->vcur.flip = ctrl->val; in sd_s_ctrl()
78 sd->vcur.AC50Hz = ctrl->val; in sd_s_ctrl()
81 sd->vcur.whitebal = ctrl->val; in sd_s_ctrl()
84 sd->vcur.sharpness = ctrl->val; in sd_s_ctrl()
87 sd->vcur.backlight = ctrl->val; in sd_s_ctrl()
94 sd->waitSet = 1; in sd_s_ctrl()
105 struct sd *sd = (struct sd *) gspca_dev; in sd_init_controls() local
111 if (sd->vmax.brightness) in sd_init_controls()
113 0, sd->vmax.brightness, 1, in sd_init_controls()
114 sd->vcur.brightness); in sd_init_controls()
116 if (sd->vmax.contrast) in sd_init_controls()
118 0, sd->vmax.contrast, 1, in sd_init_controls()
119 sd->vcur.contrast); in sd_init_controls()
121 if (sd->vmax.saturation) in sd_init_controls()
123 0, sd->vmax.saturation, 1, in sd_init_controls()
124 sd->vcur.saturation); in sd_init_controls()
126 if (sd->vmax.hue) in sd_init_controls()
128 0, sd->vmax.hue, 1, sd->vcur.hue); in sd_init_controls()
130 if (sd->vmax.gamma) in sd_init_controls()
132 0, sd->vmax.gamma, 1, sd->vcur.gamma); in sd_init_controls()
134 if (sd->vmax.mirror) in sd_init_controls()
136 0, sd->vmax.mirror, 1, sd->vcur.mirror); in sd_init_controls()
138 if (sd->vmax.flip) in sd_init_controls()
140 0, sd->vmax.flip, 1, sd->vcur.flip); in sd_init_controls()
142 if (sd->vmax.AC50Hz) in sd_init_controls()
145 sd->vmax.AC50Hz, 0, sd->vcur.AC50Hz); in sd_init_controls()
147 if (sd->vmax.whitebal) in sd_init_controls()
150 0, sd->vmax.whitebal, 1, sd->vcur.whitebal); in sd_init_controls()
152 if (sd->vmax.sharpness) in sd_init_controls()
154 0, sd->vmax.sharpness, 1, in sd_init_controls()
155 sd->vcur.sharpness); in sd_init_controls()
157 if (sd->vmax.backlight) in sd_init_controls()
160 0, sd->vmax.backlight, 1, in sd_init_controls()
161 sd->vcur.backlight); in sd_init_controls()
319 struct sd *sd = (struct sd *) gspca_dev; in sd_config() local
327 sd->nbRightUp = 1; in sd_config()
328 sd->nbIm = -1; in sd_config()
330 sd->sensor = 0xff; in sd_config()
332 sd->sensor = ID_MI1320; in sd_config()
334 sd->sensor = ID_OV2640; in sd_config()
336 sd->sensor = ID_OV9655; in sd_config()
338 sd->sensor = ID_MI2020; in sd_config()
346 switch (sd->sensor) { in sd_config()
378 ((struct sd *) gspca_dev)->vcur.AC50Hz = AC50Hz; in sd_config()
386 struct sd *sd = (struct sd *) gspca_dev; in sd_init() local
388 return sd->dev_init_at_startup(gspca_dev); in sd_init()
394 struct sd *sd = (struct sd *) gspca_dev; in sd_isoc_init() local
396 return sd->dev_configure_alt(gspca_dev); in sd_isoc_init()
402 struct sd *sd = (struct sd *) gspca_dev; in sd_start() local
404 return sd->dev_init_pre_alt(gspca_dev); in sd_start()
410 struct sd *sd = (struct sd *) gspca_dev; in sd_stop0() local
412 if (!sd->gspca_dev.present) in sd_stop0()
415 return sd->dev_post_unset_alt(gspca_dev); in sd_stop0()
422 struct sd *sd = (struct sd *) gspca_dev; in sd_pkt_scan() local
427 sd->swapRB * (gspca_dev->cam.cam_mode[mode].bytesperline + 1); in sd_pkt_scan()
434 if (sd->nbIm >= 0 && sd->nbIm < 10) in sd_pkt_scan()
435 sd->nbIm++; in sd_pkt_scan()
461 struct sd *sd = (struct sd *) gspca_dev; in sd_callback() local
474 if (upsideDown && sd->nbRightUp > -4) { in sd_callback()
475 if (sd->nbRightUp > 0) in sd_callback()
476 sd->nbRightUp = 0; in sd_callback()
477 if (sd->nbRightUp == -3) { in sd_callback()
478 sd->mirrorMask = 1; in sd_callback()
479 sd->waitSet = 1; in sd_callback()
481 sd->nbRightUp--; in sd_callback()
483 if (!upsideDown && sd->nbRightUp < 4) { in sd_callback()
484 if (sd->nbRightUp < 0) in sd_callback()
485 sd->nbRightUp = 0; in sd_callback()
486 if (sd->nbRightUp == 3) { in sd_callback()
487 sd->mirrorMask = 0; in sd_callback()
488 sd->waitSet = 1; in sd_callback()
490 sd->nbRightUp++; in sd_callback()
494 if (sd->waitSet) in sd_callback()
495 sd->dev_camera_settings(gspca_dev); in sd_callback()
512 &sd_desc_mi1320, sizeof(struct sd), THIS_MODULE); in sd_probe()
627 struct sd *sd = (struct sd *) gspca_dev; in gl860_guess_sensor() local
631 sd->sensor = ID_MI1320; in gl860_guess_sensor()
633 if (sd->sensor == 0xff) { in gl860_guess_sensor()
688 sd->sensor = ID_OV2640; in gl860_guess_sensor()
696 sd->sensor = ID_OV9655; in gl860_guess_sensor()
712 sd->sensor = ID_MI2020; in gl860_guess_sensor()