hdcs              104 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	struct hdcs *hdcs = sd->sensor_priv;
hdcs              108 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	if (hdcs->state == state)
hdcs              112 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	if (hdcs->state != HDCS_STATE_IDLE) {
hdcs              118 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->state = HDCS_STATE_IDLE;
hdcs              140 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		hdcs->state = state;
hdcs              147 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	struct hdcs *hdcs = sd->sensor_priv;
hdcs              156 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		hdcs->state = HDCS_STATE_IDLE;
hdcs              164 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	struct hdcs *hdcs = sd->sensor_priv;
hdcs              181 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	ct = hdcs->exp.cto + hdcs->psmp + (HDCS_ADC_START_SIG_DUR + 2);
hdcs              182 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	cp = hdcs->exp.cto + (hdcs->w * ct / 2);
hdcs              185 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	rp = hdcs->exp.rs + cp;
hdcs              195 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		srowexp = hdcs->w - (cycles + hdcs->exp.er + 13) / ct;
hdcs              197 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		mnct = (hdcs->exp.er + 12 + ct - 1) / ct;
hdcs              198 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		max_srowexp = hdcs->w - mnct;
hdcs              201 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		srowexp = cp - hdcs->exp.er - 6 - cycles;
hdcs              203 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		mnct = (hdcs->exp.er + 5 + ct - 1) / ct;
hdcs              278 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	struct hdcs *hdcs = sd->sensor_priv;
hdcs              287 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	if (width > hdcs->array.width)
hdcs              288 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		width = hdcs->array.width;
hdcs              292 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP
hdcs              293 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 				  > hdcs->array.height)
hdcs              294 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 			height = hdcs->array.height - 2 * hdcs->array.border -
hdcs              297 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) / 2
hdcs              298 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 				+ hdcs->array.top;
hdcs              300 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		if (height > hdcs->array.height)
hdcs              301 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 			height = hdcs->array.height;
hdcs              303 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		y = hdcs->array.top + (hdcs->array.height - height) / 2;
hdcs              306 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	x = hdcs->array.left + (hdcs->array.width - width) / 2;
hdcs              318 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->w = width;
hdcs              319 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->h = height;
hdcs              358 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	struct hdcs *hdcs;
hdcs              371 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs = kmalloc(sizeof(struct hdcs), GFP_KERNEL);
hdcs              372 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	if (!hdcs)
hdcs              375 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->array.left = 8;
hdcs              376 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->array.top = 8;
hdcs              377 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->array.width = HDCS_1X00_DEF_WIDTH;
hdcs              378 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->array.height = HDCS_1X00_DEF_HEIGHT;
hdcs              379 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->array.border = 4;
hdcs              381 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->exp.cto = 4;
hdcs              382 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->exp.cpo = 2;
hdcs              383 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->exp.rs = 186;
hdcs              384 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->exp.er = 100;
hdcs              406 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->psmp = (sd->bridge == BRIDGE_STV602) ? 20 : 5;
hdcs              408 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	sd->sensor_priv = hdcs;
hdcs              415 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	struct hdcs *hdcs;
hdcs              428 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs = kmalloc(sizeof(struct hdcs), GFP_KERNEL);
hdcs              429 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	if (!hdcs)
hdcs              437 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->array.left = 24;
hdcs              438 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->array.top  = 4;
hdcs              439 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->array.width = HDCS_1020_DEF_WIDTH;
hdcs              440 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->array.height = 304;
hdcs              441 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->array.border = 4;
hdcs              443 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->psmp = 6;
hdcs              445 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->exp.cto = 3;
hdcs              446 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->exp.cpo = 3;
hdcs              447 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->exp.rs = 155;
hdcs              448 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	hdcs->exp.er = 96;
hdcs              450 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	sd->sensor_priv = hdcs;
hdcs              475 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	struct hdcs *hdcs = sd->sensor_priv;
hdcs              510 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 				(HDCS_ADC_START_SIG_DUR << 6) | hdcs->psmp);
hdcs              513 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 				(HDCS_ADC_START_SIG_DUR << 5) | hdcs->psmp);
hdcs              517 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	return hdcs_set_size(sd, hdcs->array.width, hdcs->array.height);