Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/i2c/
H A Dadv7842.c457 static inline int afe_write(struct v4l2_subdev *sd, u8 reg, u8 val) in afe_write() function
466 return afe_write(sd, reg, (afe_read(sd, reg) & mask) | val); in afe_write_and_or()
929 afe_write(sd, reg->reg & 0xff, val); in adv7842_s_register()
1292 afe_write(sd, 0xc8, ctrl->val); in adv7842_s_ctrl()
1796 afe_write(sd, 0x00, 0x00); /* power up ADC */ in select_input()
1797 afe_write(sd, 0xc8, 0x00); /* phase control */ in select_input()
1805 afe_write(sd, 0x03, 0xa0); /* ADC0 to AIN10 (CVBS), ADC1 N/C*/ in select_input()
1806 afe_write(sd, 0x04, 0x00); /* ADC2 N/C,ADC3 N/C*/ in select_input()
1808 afe_write(sd, 0x03, 0xa0); /* ADC0 to AIN10 (CVBS), ADC1 N/C*/ in select_input()
1809 afe_write(sd, 0x04, 0xc0); /* ADC2 to AIN12, ADC3 N/C*/ in select_input()
[all …]
H A Dadv7604.c456 static inline int afe_write(struct v4l2_subdev *sd, u8 reg, u8 val) in afe_write() function
1240 afe_write(sd, 0xc8, ctrl->val); in adv76xx_s_ctrl()
1788 afe_write(sd, 0x00, 0x08); /* power up ADC */ in select_input()
1789 afe_write(sd, 0x01, 0x06); /* power up Analog Front End */ in select_input()
1790 afe_write(sd, 0xc8, 0x00); /* phase control */ in select_input()
1797 afe_write(sd, 0x00, 0xff); /* power down ADC */ in select_input()
1798 afe_write(sd, 0x01, 0xfe); /* power down Analog Front End */ in select_input()
1799 afe_write(sd, 0xc8, 0x40); /* phase control */ in select_input()
2892 afe_write(sd, 0xb5, 0x01); /* Setting MCLK to 256Fs */ in adv76xx_core_init()
2895 afe_write(sd, 0x02, pdata->ain_sel); /* Select analog input muxing mode */ in adv76xx_core_init()