Lines Matching +full:timing +full:- +full:adjustment
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>
258 table[KS_UVOFFH] = 0x00; /* UV Offset Adjustment High */ in init_reg_defaults()
259 table[KS_UVOFFL] = 0x00; /* UV Offset Adjustment Low */ in init_reg_defaults()
260 table[KS_UGAIN] = 0x00; /* U Component Gain Adjustment */ in init_reg_defaults()
261 table[KS_VGAIN] = 0x00; /* V Component Gain Adjustment */ in init_reg_defaults()
265 table[KS_POLCTL] = 0x41; /* Timing Signal Polarity Control */ in init_reg_defaults()
281 /* Command Register F, update -immediately- */ in init_reg_defaults()
298 * workaround in i2c-algo-bit
308 .addr = client->addr, in ks0127_read()
313 .addr = client->addr, in ks0127_read()
321 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in ks0127_read()
338 ks->regs[reg] = val; in ks0127_write()
342 /* generic bit-twiddling */
347 u8 val = ks->regs[reg]; in ks0127_and_or()
421 /* non-freerunning mode */ in ks0127_s_routing()
448 "s_routing %d: S-Video\n", input); in ks0127_s_routing()
455 /* non-freerunning mode */ in ks0127_s_routing()
480 if (ks->norm & V4L2_STD_525_60) in ks0127_s_routing()
541 ks->norm = std; in ks0127_s_std()
636 /* ----------------------------------------------------------------------- */
650 /* ----------------------------------------------------------------------- */
659 client->addr == (I2C_KS0127_ADDON >> 1) ? "addon" : "on-board", in ks0127_probe()
660 client->addr << 1, client->adapter->name); in ks0127_probe()
662 ks = devm_kzalloc(&client->dev, sizeof(*ks), GFP_KERNEL); in ks0127_probe()
664 return -ENOMEM; in ks0127_probe()
665 sd = &ks->sd; in ks0127_probe()