Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_hdcs.c165 int rowexp, srowexp; in hdcs_set_exposure() local
195 srowexp = hdcs->w - (cycles + hdcs->exp.er + 13) / ct; in hdcs_set_exposure()
201 srowexp = cp - hdcs->exp.er - 6 - cycles; in hdcs_set_exposure()
207 if (srowexp < 0) in hdcs_set_exposure()
208 srowexp = 0; in hdcs_set_exposure()
209 else if (srowexp > max_srowexp) in hdcs_set_exposure()
210 srowexp = max_srowexp; in hdcs_set_exposure()
220 exp[7] = (srowexp >> 2) & 0xff; in hdcs_set_exposure()
234 exp[7] = srowexp & 0xff; in hdcs_set_exposure()
236 exp[9] = srowexp >> 8; in hdcs_set_exposure()
[all …]