Home
last modified time | relevance | path

Searched refs:expo (Results 1 – 13 of 13) sorted by relevance

/drivers/media/usb/gspca/
Dsonixj.c1694 u32 expo) in expo_adjust()
1703 a = 19 + expo * 25 / 256; in expo_adjust()
1715 Expodoit[3] = expo >> 16; in expo_adjust()
1716 Expodoit[4] = expo >> 8; in expo_adjust()
1717 Expodoit[5] = expo; in expo_adjust()
1730 if (expo > 0x0635) in expo_adjust()
1731 expo = 0x0635; in expo_adjust()
1732 else if (expo < 0x0001) in expo_adjust()
1733 expo = 0x0001; in expo_adjust()
1734 expoMi[3] = expo >> 8; in expo_adjust()
[all …]
Dvicam.c105 s32 expo = v4l2_ctrl_g_ctrl(gspca_dev->exposure); in vicam_read_frame() local
125 if (expo < 256) { in vicam_read_frame()
127 req_data[4] = 255 - expo; in vicam_read_frame()
135 req_data[6] = expo & 0xFF; in vicam_read_frame()
136 req_data[7] = expo >> 8; in vicam_read_frame()
Dspca561.c495 int i, expo = 0; in setexposure() local
517 expo = val - table[i]; in setexposure()
519 expo += 300; in setexposure()
520 expo |= i << 11; in setexposure()
525 gspca_dev->usb_buf[0] = expo; in setexposure()
526 gspca_dev->usb_buf[1] = expo >> 8; in setexposure()
Dmr97310a.c808 static void setexposure(struct gspca_dev *gspca_dev, s32 expo, s32 min_clockdiv) in setexposure() argument
817 exposure = (expo * 9267) / 10000 + 300; in setexposure()
821 exposure = expo; in setexposure()
833 u8 clockdiv = (60 * expo + 7999) / 8000; in setexposure()
846 exposure = (60 * 511 * expo) / (8000 * clockdiv); in setexposure()
Dsn9c20x.c1433 static void set_exposure(struct gspca_dev *gspca_dev, s32 expo) in set_exposure() argument
1448 if (expo > 547) in set_exposure()
1451 expo2 = expo; in set_exposure()
1461 expo -= expo2; in set_exposure()
1465 exp[3] = expo; in set_exposure()
1466 exp[4] = expo >> 8; in set_exposure()
1473 exp[3] = expo >> 8; in set_exposure()
1474 exp[4] = expo; in set_exposure()
1479 exp[3] = expo >> 5; in set_exposure()
1480 exp[4] = expo << 3; in set_exposure()
Dtopro.c1398 static void setexposure(struct gspca_dev *gspca_dev, s32 expo, s32 gain, in setexposure() argument
1404 expo = (expo << 2) - 1; in setexposure()
1405 i2c_w(gspca_dev, CX0342_EXPO_LINE_L, expo); in setexposure()
1406 i2c_w(gspca_dev, CX0342_EXPO_LINE_H, expo >> 8); in setexposure()
1432 expo); in setexposure()
4687 int luma, expo; in sd_dq_callback() local
4744 expo = v4l2_ctrl_g_ctrl(gspca_dev->exposure); in sd_dq_callback()
4754 if ((expo >= 128 && new_expo < 128) in sd_dq_callback()
4755 || (expo < 128 && new_expo >= 128)) in sd_dq_callback()
Ddtcs033.c149 s32 expo, s32 gain) in dtcs033_setexposure() argument
158 u16 sXTime = (u16)expo; in dtcs033_setexposure()
Dsq930x.c750 static void setexposure(struct gspca_dev *gspca_dev, s32 expo, s32 gain) in setexposure() argument
758 integclks = expo; in setexposure()
Dov534_9.c1309 static const u8 expo[4] = {0x00, 0x25, 0x38, 0x5e}; in setexposure() local
1312 sccb_write(gspca_dev, 0x10, expo[exposure]); /* aec[9:2] */ in setexposure()
/drivers/media/usb/gspca/stv06xx/
Dstv06xx_st6422.c52 static int setexposure(struct sd *sd, s16 expo);
238 static int setexposure(struct sd *sd, s16 expo) in setexposure() argument
242 err = stv06xx_write_bridge(sd, 0x143d, expo & 0xff); in setexposure()
246 return stv06xx_write_bridge(sd, 0x143e, expo >> 8); in setexposure()
/drivers/media/usb/gspca/m5602/
Dm5602_bridge.h137 struct v4l2_ctrl *expo; member
Dm5602_po1030.c257 sd->expo = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_EXPOSURE, in po1030_init_controls()
578 err = po1030_set_exposure(gspca_dev, sd->expo->val); in po1030_s_ctrl()
Dm5602_ov9650.c384 sd->expo = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, V4L2_CID_EXPOSURE, in ov9650_init_controls()
737 err = ov9650_set_exposure(gspca_dev, sd->expo->val); in ov9650_s_ctrl()