Searched refs:REG_COM8 (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/media/i2c/ |
D | ov9650.c | 80 #define REG_COM8 0x13 /* AGC/AEC options */ macro 306 { REG_COM8, 0xe5 }, /* AGC/AEC options */ 327 { REG_COM8, 0xe7 }, /* Enable AEC, AWB, AEC */ 598 ret = ov965x_read(ov965x, REG_COM8, ®); in ov965x_set_banding_filter() 604 ret = ov965x_write(ov965x, REG_COM8, reg); in ov965x_set_banding_filter() 628 ret = ov965x_read(ov965x, REG_COM8, ®); in ov965x_set_white_balance() 630 reg = awb ? reg | REG_COM8 : reg & ~REG_COM8; in ov965x_set_white_balance() 631 ret = ov965x_write(ov965x, REG_COM8, reg); in ov965x_set_white_balance() 681 ret = ov965x_read(ov965x, REG_COM8, ®); in ov965x_set_gain() 688 ret = ov965x_write(ov965x, REG_COM8, reg); in ov965x_set_gain() [all …]
|
D | ov7670.c | 80 #define REG_COM8 0x13 /* Control 8 */ macro 313 { REG_COM8, COM8_FASTAEC | COM8_AECSTEP | COM8_BFILT }, 324 { REG_COM8, COM8_FASTAEC|COM8_AECSTEP|COM8_BFILT|COM8_AGC|COM8_AEC }, 354 { REG_COM8, COM8_FASTAEC|COM8_AECSTEP|COM8_BFILT|COM8_AGC|COM8_AEC|COM8_AWB }, 1417 ov7670_read(sd, REG_COM8, &com8); in ov7670_s_brightness() 1419 ov7670_write(sd, REG_COM8, com8); in ov7670_s_brightness() 1488 ret = ov7670_read(sd, REG_COM8, &com8); in ov7670_s_gain() 1491 return ov7670_write(sd, REG_COM8, com8 & ~COM8_AGC); in ov7670_s_gain() 1502 ret = ov7670_read(sd, REG_COM8, &com8); in ov7670_s_autogain() 1508 ret = ov7670_write(sd, REG_COM8, com8); in ov7670_s_autogain() [all …]
|