Searched refs:vwscale (Results 1 – 1 of 1) sorted by relevance
2578 int hoffset, voffset, hwscale = 0, vwscale = 0; in set_ov_sensor_window() local2615 vwscale = 1; /* The datasheet says 0; it's wrong */ in set_ov_sensor_window()2636 vwscale = 1; in set_ov_sensor_window()2655 voffset = ((vwsize - height) / 2) >> vwscale; in set_ov_sensor_window()2661 i2c_w(ov, 0x19, vwsbase+(ov->suby>>vwscale)); in set_ov_sensor_window()2662 i2c_w(ov, 0x1a, vwebase+((ov->suby+ov->subh)>>vwscale)); in set_ov_sensor_window()2667 i2c_w(ov, 0x1a, vwebase + voffset + (vwsize>>vwscale)); in set_ov_sensor_window()