Home
last modified time | relevance | path

Searched refs:afe_write (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/media/i2c/
Dadv7842.c485 static inline int afe_write(struct v4l2_subdev *sd, u8 reg, u8 val) in afe_write() function
494 return afe_write(sd, reg, (afe_read(sd, reg) & mask) | val); in afe_write_and_or()
957 afe_write(sd, reg->reg & 0xff, val); in adv7842_s_register()
1318 afe_write(sd, 0xc8, ctrl->val); in adv7842_s_ctrl()
1799 afe_write(sd, 0x00, 0x00); /* power up ADC */ in select_input()
1800 afe_write(sd, 0xc8, 0x00); /* phase control */ in select_input()
1808 afe_write(sd, 0x03, 0xa0); /* ADC0 to AIN10 (CVBS), ADC1 N/C*/ in select_input()
1809 afe_write(sd, 0x04, 0x00); /* ADC2 N/C,ADC3 N/C*/ in select_input()
1811 afe_write(sd, 0x03, 0xa0); /* ADC0 to AIN10 (CVBS), ADC1 N/C*/ in select_input()
1812 afe_write(sd, 0x04, 0xc0); /* ADC2 to AIN12, ADC3 N/C*/ in select_input()
[all …]
Dadv7604.c487 static inline int afe_write(struct v4l2_subdev *sd, u8 reg, u8 val) in afe_write() function
1203 afe_write(sd, 0xc8, ctrl->val); in adv76xx_s_ctrl()
1737 afe_write(sd, 0x00, 0x08); /* power up ADC */ in select_input()
1738 afe_write(sd, 0x01, 0x06); /* power up Analog Front End */ in select_input()
1739 afe_write(sd, 0xc8, 0x00); /* phase control */ in select_input()
1746 afe_write(sd, 0x00, 0xff); /* power down ADC */ in select_input()
1747 afe_write(sd, 0x01, 0xfe); /* power down Analog Front End */ in select_input()
1748 afe_write(sd, 0xc8, 0x40); /* phase control */ in select_input()
2517 afe_write(sd, 0xb5, 0x01); /* Setting MCLK to 256Fs */ in adv76xx_core_init()
2520 afe_write(sd, 0x02, pdata->ain_sel); /* Select analog input muxing mode */ in adv76xx_core_init()