plat_ctrl.h 601 B

12345678910111213
  1. #ifndef _AMLOGIC_CAMERA_PLAT_CTRL_H
  2. #define _AMLOGIC_CAMERA_PLAT_CTRL_H
  3. extern int i2c_get_byte(struct i2c_client *client,unsigned short addr);
  4. extern int i2c_get_word(struct i2c_client *client,unsigned short addr);
  5. extern int i2c_get_byte_add8(struct i2c_client *client,unsigned short addr);
  6. extern int i2c_put_byte(struct i2c_client *client, unsigned short addr, unsigned char data);
  7. extern int i2c_put_word(struct i2c_client *client, unsigned short addr, unsigned short data);
  8. extern int i2c_put_byte_add8(struct i2c_client *client,char *buf, int len);
  9. #endif /* _AMLOGIC_CAMERA_PLAT_CTRL_H. */