stdi             1362 drivers/media/i2c/adv7604.c 		struct stdi_readback *stdi,
stdi             1366 drivers/media/i2c/adv7604.c 	u32 hfreq = (ADV76XX_FSC * 8) / stdi->bl;
stdi             1377 drivers/media/i2c/adv7604.c 		if (vtotal(bt) != stdi->lcf + 1)
stdi             1379 drivers/media/i2c/adv7604.c 		if (bt->vsync != stdi->lcvs)
stdi             1391 drivers/media/i2c/adv7604.c 	if (v4l2_detect_cvt(stdi->lcf + 1, hfreq, stdi->lcvs, 0,
stdi             1392 drivers/media/i2c/adv7604.c 			(stdi->hs_pol == '+' ? V4L2_DV_HSYNC_POS_POL : 0) |
stdi             1393 drivers/media/i2c/adv7604.c 			(stdi->vs_pol == '+' ? V4L2_DV_VSYNC_POS_POL : 0),
stdi             1396 drivers/media/i2c/adv7604.c 	if (v4l2_detect_gtf(stdi->lcf + 1, hfreq, stdi->lcvs,
stdi             1397 drivers/media/i2c/adv7604.c 			(stdi->hs_pol == '+' ? V4L2_DV_HSYNC_POS_POL : 0) |
stdi             1398 drivers/media/i2c/adv7604.c 			(stdi->vs_pol == '+' ? V4L2_DV_VSYNC_POS_POL : 0),
stdi             1404 drivers/media/i2c/adv7604.c 		__func__, stdi->lcvs, stdi->lcf, stdi->bl,
stdi             1405 drivers/media/i2c/adv7604.c 		stdi->hs_pol, stdi->vs_pol);
stdi             1410 drivers/media/i2c/adv7604.c static int read_stdi(struct v4l2_subdev *sd, struct stdi_readback *stdi)
stdi             1422 drivers/media/i2c/adv7604.c 	stdi->bl = cp_read16(sd, 0xb1, 0x3fff);
stdi             1423 drivers/media/i2c/adv7604.c 	stdi->lcf = cp_read16(sd, info->lcf_reg, 0x7ff);
stdi             1424 drivers/media/i2c/adv7604.c 	stdi->lcvs = cp_read(sd, 0xb3) >> 3;
stdi             1425 drivers/media/i2c/adv7604.c 	stdi->interlaced = io_read(sd, 0x12) & 0x10;
stdi             1431 drivers/media/i2c/adv7604.c 			stdi->hs_pol = polarity & 0x10
stdi             1433 drivers/media/i2c/adv7604.c 			stdi->vs_pol = polarity & 0x40
stdi             1436 drivers/media/i2c/adv7604.c 			stdi->hs_pol = 'x';
stdi             1437 drivers/media/i2c/adv7604.c 			stdi->vs_pol = 'x';
stdi             1441 drivers/media/i2c/adv7604.c 		stdi->hs_pol = polarity & 0x20 ? '+' : '-';
stdi             1442 drivers/media/i2c/adv7604.c 		stdi->vs_pol = polarity & 0x10 ? '+' : '-';
stdi             1451 drivers/media/i2c/adv7604.c 	if (stdi->lcf < 239 || stdi->bl < 8 || stdi->bl == 0x3fff) {
stdi             1453 drivers/media/i2c/adv7604.c 		memset(stdi, 0, sizeof(struct stdi_readback));
stdi             1459 drivers/media/i2c/adv7604.c 		__func__, stdi->lcf, stdi->bl, stdi->lcvs,
stdi             1460 drivers/media/i2c/adv7604.c 		stdi->hs_pol, stdi->vs_pol,
stdi             1461 drivers/media/i2c/adv7604.c 		stdi->interlaced ? "interlaced" : "progressive");
stdi             1542 drivers/media/i2c/adv7604.c 	struct stdi_readback stdi;
stdi             1556 drivers/media/i2c/adv7604.c 	if (read_stdi(sd, &stdi)) {
stdi             1560 drivers/media/i2c/adv7604.c 	bt->interlaced = stdi.interlaced ?
stdi             1609 drivers/media/i2c/adv7604.c 		if (!stdi2dv_timings(sd, &stdi, timings))
stdi             1611 drivers/media/i2c/adv7604.c 		stdi.lcvs += 1;
stdi             1612 drivers/media/i2c/adv7604.c 		v4l2_dbg(1, debug, sd, "%s: lcvs + 1 = %d\n", __func__, stdi.lcvs);
stdi             1613 drivers/media/i2c/adv7604.c 		if (!stdi2dv_timings(sd, &stdi, timings))
stdi             1615 drivers/media/i2c/adv7604.c 		stdi.lcvs -= 2;
stdi             1616 drivers/media/i2c/adv7604.c 		v4l2_dbg(1, debug, sd, "%s: lcvs - 1 = %d\n", __func__, stdi.lcvs);
stdi             1617 drivers/media/i2c/adv7604.c 		if (stdi2dv_timings(sd, &stdi, timings)) {
stdi             2479 drivers/media/i2c/adv7604.c 	struct stdi_readback stdi;
stdi             2561 drivers/media/i2c/adv7604.c 	if (read_stdi(sd, &stdi))
stdi             2565 drivers/media/i2c/adv7604.c 				stdi.lcf, stdi.bl, stdi.lcvs,
stdi             2566 drivers/media/i2c/adv7604.c 				stdi.interlaced ? "interlaced" : "progressive",
stdi             2567 drivers/media/i2c/adv7604.c 				stdi.hs_pol, stdi.vs_pol);
stdi             1416 drivers/media/i2c/adv7842.c 		struct stdi_readback *stdi,
stdi             1420 drivers/media/i2c/adv7842.c 	u32 hfreq = (ADV7842_fsc * 8) / stdi->bl;
stdi             1431 drivers/media/i2c/adv7842.c 		if (vtotal(bt) != stdi->lcf + 1)
stdi             1433 drivers/media/i2c/adv7842.c 		if (bt->vsync != stdi->lcvs)
stdi             1445 drivers/media/i2c/adv7842.c 	if (v4l2_detect_cvt(stdi->lcf + 1, hfreq, stdi->lcvs, 0,
stdi             1446 drivers/media/i2c/adv7842.c 			(stdi->hs_pol == '+' ? V4L2_DV_HSYNC_POS_POL : 0) |
stdi             1447 drivers/media/i2c/adv7842.c 			(stdi->vs_pol == '+' ? V4L2_DV_VSYNC_POS_POL : 0),
stdi             1450 drivers/media/i2c/adv7842.c 	if (v4l2_detect_gtf(stdi->lcf + 1, hfreq, stdi->lcvs,
stdi             1451 drivers/media/i2c/adv7842.c 			(stdi->hs_pol == '+' ? V4L2_DV_HSYNC_POS_POL : 0) |
stdi             1452 drivers/media/i2c/adv7842.c 			(stdi->vs_pol == '+' ? V4L2_DV_VSYNC_POS_POL : 0),
stdi             1458 drivers/media/i2c/adv7842.c 		__func__, stdi->lcvs, stdi->lcf, stdi->bl,
stdi             1459 drivers/media/i2c/adv7842.c 		stdi->hs_pol, stdi->vs_pol);
stdi             1463 drivers/media/i2c/adv7842.c static int read_stdi(struct v4l2_subdev *sd, struct stdi_readback *stdi)
stdi             1473 drivers/media/i2c/adv7842.c 	stdi->bl = ((cp_read(sd, 0xb1) & 0x3f) << 8) | cp_read(sd, 0xb2);
stdi             1474 drivers/media/i2c/adv7842.c 	stdi->lcf = ((cp_read(sd, 0xb3) & 0x7) << 8) | cp_read(sd, 0xb4);
stdi             1475 drivers/media/i2c/adv7842.c 	stdi->lcvs = cp_read(sd, 0xb3) >> 3;
stdi             1478 drivers/media/i2c/adv7842.c 		stdi->hs_pol = ((cp_read(sd, 0xb5) & 0x10) ?
stdi             1480 drivers/media/i2c/adv7842.c 		stdi->vs_pol = ((cp_read(sd, 0xb5) & 0x40) ?
stdi             1483 drivers/media/i2c/adv7842.c 		stdi->hs_pol = 'x';
stdi             1484 drivers/media/i2c/adv7842.c 		stdi->vs_pol = 'x';
stdi             1486 drivers/media/i2c/adv7842.c 	stdi->interlaced = (cp_read(sd, 0xb1) & 0x40) ? true : false;
stdi             1488 drivers/media/i2c/adv7842.c 	if (stdi->lcf < 239 || stdi->bl < 8 || stdi->bl == 0x3fff) {
stdi             1495 drivers/media/i2c/adv7842.c 		 __func__, stdi->lcf, stdi->bl, stdi->lcvs,
stdi             1496 drivers/media/i2c/adv7842.c 		 stdi->hs_pol, stdi->vs_pol,
stdi             1497 drivers/media/i2c/adv7842.c 		 stdi->interlaced ? "interlaced" : "progressive");
stdi             1538 drivers/media/i2c/adv7842.c 	struct stdi_readback stdi = { 0 };
stdi             1549 drivers/media/i2c/adv7842.c 	if (read_stdi(sd, &stdi)) {
stdi             1554 drivers/media/i2c/adv7842.c 	bt->interlaced = stdi.interlaced ?
stdi             1615 drivers/media/i2c/adv7842.c 		if (!stdi2dv_timings(sd, &stdi, timings))
stdi             1617 drivers/media/i2c/adv7842.c 		stdi.lcvs += 1;
stdi             1618 drivers/media/i2c/adv7842.c 		v4l2_dbg(1, debug, sd, "%s: lcvs + 1 = %d\n", __func__, stdi.lcvs);
stdi             1619 drivers/media/i2c/adv7842.c 		if (!stdi2dv_timings(sd, &stdi, timings))
stdi             1621 drivers/media/i2c/adv7842.c 		stdi.lcvs -= 2;
stdi             1622 drivers/media/i2c/adv7842.c 		v4l2_dbg(1, debug, sd, "%s: lcvs - 1 = %d\n", __func__, stdi.lcvs);
stdi             1623 drivers/media/i2c/adv7842.c 		if (stdi2dv_timings(sd, &stdi, timings)) {
stdi              151 drivers/target/target_core_xcopy.c 	if (cscd_index != xop->stdi && cscd_index != xop->dtdi) {
stdi              157 drivers/target/target_core_xcopy.c 	if (cscd_index == xop->stdi) {
stdi              258 drivers/target/target_core_xcopy.c 			"stdi: %hu dtdi: %hu\n", xop->stdi, xop->dtdi);
stdi              298 drivers/target/target_core_xcopy.c 	xop->stdi = get_unaligned_be16(&desc[4]);
stdi              301 drivers/target/target_core_xcopy.c 	if (xop->stdi > XCOPY_CSCD_DESC_ID_LIST_OFF_MAX ||
stdi              304 drivers/target/target_core_xcopy.c 			XCOPY_CSCD_DESC_ID_LIST_OFF_MAX, xop->stdi, xop->dtdi);
stdi              309 drivers/target/target_core_xcopy.c 		desc_len, xop->stdi, xop->dtdi, dc);
stdi               35 drivers/target/target_core_xcopy.h 	unsigned short stdi;