Lines Matching defs:win
294 static int ov6x30_mode_init(struct i2c_client *c, struct ovcamchip_window *win)
298 ov_write_mask(c, 0x14, win->quarter?0x20:0x00, 0x20);
302 if (win->format == VIDEO_PALETTE_GREY) {
325 ov_write(c, 0x11, win->clockdiv);
330 static int ov6x30_set_window(struct i2c_client *c, struct ovcamchip_window *win)
334 ret = ov6x30_mode_init(c, win);
338 if (win->quarter) {
346 ov_write(c, 0x17, HWSBASE + (win->x >> hwscale));
347 ov_write(c, 0x18, HWEBASE + ((win->x + win->width) >> hwscale));
348 ov_write(c, 0x19, VWSBASE + (win->y >> vwscale));
349 ov_write(c, 0x1a, VWEBASE + ((win->y + win->height) >> vwscale));