Lines Matching +full:vsync +full:- +full:polarity +full:- +full:high
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * for the Matrox Marvel G200,G400 and Rainbow Runner-G series
20 * V1.1 Gerard v.d. Horst Added some debugoutput, reset the video-standard
31 #include <media/v4l2-device.h>
234 table[KS_HSCLH] = 0x00; /* Horizontal Scaling Ratio High */ in init_reg_defaults()
236 table[KS_VSCLH] = 0x00; /* Vertical Scaling Ratio High */ in init_reg_defaults()
250 table[KS_UVOFFH] = 0x00; /* UV Offset Adjustment High */ in init_reg_defaults()
257 table[KS_POLCTL] = 0x41; /* Timing Signal Polarity Control */ in init_reg_defaults()
273 /* Command Register F, update -immediately- */ in init_reg_defaults()
274 /* (there might come no vsync)*/ in init_reg_defaults()
290 * workaround in i2c-algo-bit
300 .addr = client->addr, in ks0127_read()
305 .addr = client->addr, in ks0127_read()
313 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in ks0127_read()
330 ks->regs[reg] = val; in ks0127_write()
334 /* generic bit-twiddling */
339 u8 val = ks->regs[reg]; in ks0127_and_or()
413 /* non-freerunning mode */ in ks0127_s_routing()
440 "s_routing %d: S-Video\n", input); in ks0127_s_routing()
447 /* non-freerunning mode */ in ks0127_s_routing()
472 if (ks->norm & V4L2_STD_525_60) in ks0127_s_routing()
533 ks->norm = std; in ks0127_s_std()
628 /* ----------------------------------------------------------------------- */
642 /* ----------------------------------------------------------------------- */
651 client->addr == (I2C_KS0127_ADDON >> 1) ? "addon" : "on-board", in ks0127_probe()
652 client->addr << 1, client->adapter->name); in ks0127_probe()
654 ks = devm_kzalloc(&client->dev, sizeof(*ks), GFP_KERNEL); in ks0127_probe()
656 return -ENOMEM; in ks0127_probe()
657 sd = &ks->sd; in ks0127_probe()