Lines Matching +full:saturation +full:- +full:ratio

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>
235 table[KS_SAT] = 0x00; /* Color Saturation Control*/ in init_reg_defaults()
241 table[KS_HSCLL] = 0x00; /* Horizontal Scaling Ratio Low */ in init_reg_defaults()
242 table[KS_HSCLH] = 0x00; /* Horizontal Scaling Ratio High */ in init_reg_defaults()
243 table[KS_VSCLL] = 0x00; /* Vertical Scaling Ratio Low */ in init_reg_defaults()
244 table[KS_VSCLH] = 0x00; /* Vertical Scaling Ratio High */ 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()