Home
last modified time | relevance | path

Searched refs:autogain (Results 1 - 25 of 56) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/media/usb/pwc/
H A Dpwc-v4l.c221 /* autogain, gain */ in pwc_init_controls()
226 pdev->autogain = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls()
228 if (!pdev->autogain) in pwc_init_controls()
262 v4l2_ctrl_auto_cluster(2, &pdev->autogain, 0, true); in pwc_init_controls()
273 /* CODEC3: both gain and exposure controlled by autogain */ in pwc_init_controls()
274 pdev->autogain_expo_cluster[0] = pdev->autogain; in pwc_init_controls()
556 /* For CODEC3 where autogain also controls expo */ in pwc_g_volatile_ctrl()
627 /* For CODEC2 models which have separate autogain and auto exposure */
632 if (pdev->autogain->is_new) { in pwc_set_autogain()
635 pdev->autogain in pwc_set_autogain()
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/pwc/
H A Dpwc-v4l.c221 /* autogain, gain */ in pwc_init_controls()
226 pdev->autogain = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls()
228 if (!pdev->autogain) in pwc_init_controls()
262 v4l2_ctrl_auto_cluster(2, &pdev->autogain, 0, true); in pwc_init_controls()
273 /* CODEC3: both gain and exposure controlled by autogain */ in pwc_init_controls()
274 pdev->autogain_expo_cluster[0] = pdev->autogain; in pwc_init_controls()
556 /* For CODEC3 where autogain also controls expo */ in pwc_g_volatile_ctrl()
627 /* For CODEC2 models which have separate autogain and auto exposure */
632 if (pdev->autogain->is_new) { in pwc_set_autogain()
635 pdev->autogain in pwc_set_autogain()
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
H A Dautogain_functions.c25 if (v4l2_ctrl_g_ctrl(gspca_dev->autogain) == 0) in gspca_expo_autogain()
35 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_expo_autogain()
78 gspca_dbg(gspca_dev, D_FRAM, "autogain: changed gain: %d, expo: %d\n", in gspca_expo_autogain()
105 if (v4l2_ctrl_g_ctrl(gspca_dev->autogain) == 0) in gspca_coarse_grained_expo_autogain()
120 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_coarse_grained_expo_autogain()
161 gspca_dbg(gspca_dev, D_FRAM, "autogain: changed gain: %d, expo: %d\n", in gspca_coarse_grained_expo_autogain()
H A Dpac207.c210 /* when switching to autogain set defaults to make sure in sd_s_ctrl()
211 we are on a valid point of the autogain gain / in sd_s_ctrl()
213 take effect before doing autogain. */ in sd_s_ctrl()
257 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
271 v4l2_ctrl_auto_cluster(3, &gspca_dev->autogain, 0, false); in sd_init_controls()
H A Detoms.c22 unsigned char autogain; member
429 if (sd->autogain) in setautogain()
707 sd->autogain = ctrl->val; in sd_s_ctrl()
H A Dspca561.c31 struct v4l2_ctrl *autogain; member
624 setautogain(gspca_dev, v4l2_ctrl_g_ctrl(sd->autogain)); in sd_start_72a()
824 sd->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_72a()
H A Dgspca.h169 /* autogain and exposure or gain control cluster, these are global as
170 the autogain/exposure functions in autogain_functions.c use them */
172 struct v4l2_ctrl *autogain; member
H A Dpac7311.c365 /* when switching to autogain set defaults to make sure in sd_s_ctrl()
366 we are on a valid point of the autogain gain / in sd_s_ctrl()
368 take effect before doing autogain. */ in sd_s_ctrl()
411 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
427 v4l2_ctrl_auto_cluster(3, &gspca_dev->autogain, 0, false); in sd_init_controls()
H A Dsn9c20x.c73 struct { /* autogain and exposure or gain control cluster */
74 struct v4l2_ctrl *autogain; member
1692 /* autogain + exposure or gain control cluster */ in sd_s_ctrl()
1754 sd->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
1769 if (sd->autogain) { in sd_init_controls()
1772 autogain is clustered with gain instead. This works in sd_init_controls()
1774 v4l2_ctrl_auto_cluster(3, &sd->autogain, 0, false); in sd_init_controls()
1776 /* Otherwise autogain is clustered with exposure. */ in sd_init_controls()
1777 v4l2_ctrl_auto_cluster(2, &sd->autogain, 0, false); in sd_init_controls()
2139 if (sd->autogain in sd_dqcallback()
[all...]
H A Dov534.c57 struct v4l2_ctrl *autogain; member
1268 sd->autogain = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls()
1304 v4l2_ctrl_auto_cluster(2, &sd->autogain, 0, true); in sd_init_controls()
1419 if (sd->autogain) in sd_start()
1420 setagc(gspca_dev, v4l2_ctrl_g_ctrl(sd->autogain)); in sd_start()
/kernel/linux/linux-6.6/drivers/media/usb/gspca/
H A Dautogain_functions.c25 if (v4l2_ctrl_g_ctrl(gspca_dev->autogain) == 0) in gspca_expo_autogain()
35 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_expo_autogain()
78 gspca_dbg(gspca_dev, D_FRAM, "autogain: changed gain: %d, expo: %d\n", in gspca_expo_autogain()
105 if (v4l2_ctrl_g_ctrl(gspca_dev->autogain) == 0) in gspca_coarse_grained_expo_autogain()
120 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_coarse_grained_expo_autogain()
161 gspca_dbg(gspca_dev, D_FRAM, "autogain: changed gain: %d, expo: %d\n", in gspca_coarse_grained_expo_autogain()
H A Dpac207.c210 /* when switching to autogain set defaults to make sure in sd_s_ctrl()
211 we are on a valid point of the autogain gain / in sd_s_ctrl()
213 take effect before doing autogain. */ in sd_s_ctrl()
257 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
271 v4l2_ctrl_auto_cluster(3, &gspca_dev->autogain, 0, false); in sd_init_controls()
H A Detoms.c22 unsigned char autogain; member
429 if (sd->autogain) in setautogain()
707 sd->autogain = ctrl->val; in sd_s_ctrl()
H A Dspca561.c31 struct v4l2_ctrl *autogain; member
624 setautogain(gspca_dev, v4l2_ctrl_g_ctrl(sd->autogain)); in sd_start_72a()
824 sd->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_72a()
H A Dgspca.h169 /* autogain and exposure or gain control cluster, these are global as
170 the autogain/exposure functions in autogain_functions.c use them */
172 struct v4l2_ctrl *autogain; member
H A Dpac7311.c365 /* when switching to autogain set defaults to make sure in sd_s_ctrl()
366 we are on a valid point of the autogain gain / in sd_s_ctrl()
368 take effect before doing autogain. */ in sd_s_ctrl()
411 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
427 v4l2_ctrl_auto_cluster(3, &gspca_dev->autogain, 0, false); in sd_init_controls()
H A Dsn9c20x.c74 struct { /* autogain and exposure or gain control cluster */
75 struct v4l2_ctrl *autogain; member
1701 /* autogain + exposure or gain control cluster */ in sd_s_ctrl()
1766 sd->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
1787 if (sd->autogain) { in sd_init_controls()
1790 autogain is clustered with gain instead. This works in sd_init_controls()
1792 v4l2_ctrl_auto_cluster(3, &sd->autogain, 0, false); in sd_init_controls()
1794 /* Otherwise autogain is clustered with exposure. */ in sd_init_controls()
1795 v4l2_ctrl_auto_cluster(2, &sd->autogain, 0, false); in sd_init_controls()
2159 if (sd->autogain in sd_dqcallback()
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_pb0100.c40 struct v4l2_ctrl *autogain; member
134 ctrls->autogain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls()
151 v4l2_ctrl_auto_cluster(5, &ctrls->autogain, 0, false); in pb0100_init_controls()
406 gspca_dbg(gspca_dev, D_CONF, "Set autogain to %d (natural: %d), status: %d\n", in pb0100_set_autogain()
428 gspca_dbg(gspca_dev, D_CONF, "Set autogain target to %d, status: %d\n", in pb0100_set_autogain_target()
/kernel/linux/linux-6.6/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_pb0100.c40 struct v4l2_ctrl *autogain; member
134 ctrls->autogain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls()
151 v4l2_ctrl_auto_cluster(5, &ctrls->autogain, 0, false); in pb0100_init_controls()
406 gspca_dbg(gspca_dev, D_CONF, "Set autogain to %d (natural: %d), status: %d\n", in pb0100_set_autogain()
428 gspca_dbg(gspca_dev, D_CONF, "Set autogain target to %d, status: %d\n", in pb0100_set_autogain_target()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/m5602/
H A Dm5602_bridge.h139 struct { /* autogain / gain cluster */
140 struct v4l2_ctrl *autogain; member
H A Dm5602_ov7660.c285 sd->autogain = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, in ov7660_init_controls()
300 v4l2_ctrl_auto_cluster(2, &sd->autogain, 0, false); in ov7660_init_controls()
H A Dm5602_ov9650.c387 sd->autogain = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, in ov9650_init_controls()
404 v4l2_ctrl_auto_cluster(2, &sd->autogain, 0, false); in ov9650_init_controls()
/kernel/linux/linux-6.6/drivers/media/usb/gspca/m5602/
H A Dm5602_bridge.h139 struct { /* autogain / gain cluster */
140 struct v4l2_ctrl *autogain; member
H A Dm5602_ov7660.c285 sd->autogain = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, in ov7660_init_controls()
300 v4l2_ctrl_auto_cluster(2, &sd->autogain, 0, false); in ov7660_init_controls()
H A Dm5602_ov9650.c387 sd->autogain = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, in ov9650_init_controls()
404 v4l2_ctrl_auto_cluster(2, &sd->autogain, 0, false); in ov9650_init_controls()

Completed in 24 milliseconds

123