Searched refs:afe_write (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | adv7842.c | 479 static inline int afe_write(struct v4l2_subdev *sd, u8 reg, u8 val) in afe_write() function 488 return afe_write(sd, reg, (afe_read(sd, reg) & mask) | val); in afe_write_and_or() 941 afe_write(sd, reg->reg & 0xff, val); in adv7842_s_register() 1304 afe_write(sd, 0xc8, ctrl->val); in adv7842_s_ctrl() 1807 afe_write(sd, 0x00, 0x00); /* power up ADC */ in select_input() 1808 afe_write(sd, 0xc8, 0x00); /* phase control */ in select_input() 1816 afe_write(sd, 0x03, 0xa0); /* ADC0 to AIN10 (CVBS), ADC1 N/C*/ in select_input() 1817 afe_write(sd, 0x04, 0x00); /* ADC2 N/C,ADC3 N/C*/ in select_input() 1819 afe_write(sd, 0x03, 0xa0); /* ADC0 to AIN10 (CVBS), ADC1 N/C*/ in select_input() 1820 afe_write(sd, 0x04, 0xc0); /* ADC2 to AIN12, ADC3 N/C*/ in select_input() [all …]
|
| H A D | adv7604.c | 449 static inline int afe_write(struct v4l2_subdev *sd, u8 reg, u8 val) in afe_write() function 1226 afe_write(sd, 0xc8, ctrl->val); in adv76xx_s_ctrl() 1773 afe_write(sd, 0x00, 0x08); /* power up ADC */ in select_input() 1774 afe_write(sd, 0x01, 0x06); /* power up Analog Front End */ in select_input() 1775 afe_write(sd, 0xc8, 0x00); /* phase control */ in select_input() 1782 afe_write(sd, 0x00, 0xff); /* power down ADC */ in select_input() 1783 afe_write(sd, 0x01, 0xfe); /* power down Analog Front End */ in select_input() 1784 afe_write(sd, 0xc8, 0x40); /* phase control */ in select_input() 2839 afe_write(sd, 0xb5, 0x01); /* Setting MCLK to 256Fs */ in adv76xx_core_init() 2842 afe_write(sd, 0x02, pdata->ain_sel); /* Select analog input muxing mode */ in adv76xx_core_init()
|