Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/i2c/
Dadv7842.c430 static inline int afe_write(struct v4l2_subdev *sd, u8 reg, u8 val) in afe_write() function
439 return afe_write(sd, reg, (afe_read(sd, reg) & mask) | val); in afe_write_and_or()
844 afe_write(sd, reg->reg & 0xff, val); in adv7842_s_register()
1205 afe_write(sd, 0xc8, ctrl->val); in adv7842_s_ctrl()
1680 afe_write(sd, 0x00, 0x00); /* power up ADC */ in select_input()
1681 afe_write(sd, 0xc8, 0x00); /* phase control */ in select_input()
1689 afe_write(sd, 0x03, 0xa0); /* ADC0 to AIN10 (CVBS), ADC1 N/C*/ in select_input()
1690 afe_write(sd, 0x04, 0x00); /* ADC2 N/C,ADC3 N/C*/ in select_input()
1692 afe_write(sd, 0x03, 0xa0); /* ADC0 to AIN10 (CVBS), ADC1 N/C*/ in select_input()
1693 afe_write(sd, 0x04, 0xc0); /* ADC2 to AIN12, ADC3 N/C*/ in select_input()
[all …]
Dadv7604.c482 static inline int afe_write(struct v4l2_subdev *sd, u8 reg, u8 val) in afe_write() function
1159 afe_write(sd, 0xc8, ctrl->val); in adv76xx_s_ctrl()
1688 afe_write(sd, 0x00, 0x08); /* power up ADC */ in select_input()
1689 afe_write(sd, 0x01, 0x06); /* power up Analog Front End */ in select_input()
1690 afe_write(sd, 0xc8, 0x00); /* phase control */ in select_input()
1697 afe_write(sd, 0x00, 0xff); /* power down ADC */ in select_input()
1698 afe_write(sd, 0x01, 0xfe); /* power down Analog Front End */ in select_input()
1699 afe_write(sd, 0xc8, 0x40); /* phase control */ in select_input()
2421 afe_write(sd, 0xb5, 0x01); /* Setting MCLK to 256Fs */ in adv76xx_core_init()
2424 afe_write(sd, 0x02, pdata->ain_sel); /* Select analog input muxing mode */ in adv76xx_core_init()