Lines Matching refs:width
313 u16 width, height; in stk1135_configure_mt9m112() local
319 width = gspca_dev->pixfmt.width; in stk1135_configure_mt9m112()
321 if (width <= 640 && height <= 512) { /* context A (half readout speed)*/ in stk1135_configure_mt9m112()
322 sensor_write(gspca_dev, 0x1a7, width); in stk1135_configure_mt9m112()
329 sensor_write(gspca_dev, 0x1a1, width); in stk1135_configure_mt9m112()
445 u16 width, height; in sd_start() local
459 width = gspca_dev->pixfmt.width; in sd_start()
461 reg_w(gspca_dev, STK1135_REG_CIEPO + 0, width & 0xff); in sd_start()
462 reg_w(gspca_dev, STK1135_REG_CIEPO + 1, width >> 8); in sd_start()
620 fmt->fmt.pix.width = clamp(fmt->fmt.pix.width, 32U, 1280U); in stk1135_try_fmt()
623 fmt->fmt.pix.width += (fmt->fmt.pix.width & 1); in stk1135_try_fmt()
626 fmt->fmt.pix.bytesperline = fmt->fmt.pix.width; in stk1135_try_fmt()
627 fmt->fmt.pix.sizeimage = fmt->fmt.pix.width * fmt->fmt.pix.height; in stk1135_try_fmt()