lens_list.h 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #ifndef _LENS_LIST_H
  2. #define _LENS_LIST_H
  3. #ifdef CONFIG_MTK_LENS_BU6424AF_SUPPORT
  4. extern void BU6424AF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  5. extern long BU6424AF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  6. extern int BU6424AF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  7. #endif
  8. #ifdef CONFIG_MTK_LENS_BU6429AF_SUPPORT
  9. extern void BU6429AF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  10. extern long BU6429AF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  11. extern int BU6429AF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  12. #endif
  13. #ifdef CONFIG_MTK_LENS_BU63165AF_SUPPORT
  14. extern void BU63165AF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  15. extern long BU63165AF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  16. extern int BU63165AF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  17. #endif
  18. #ifdef CONFIG_MTK_LENS_DW9714AF_SUPPORT
  19. extern void DW9714AF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  20. extern long DW9714AF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  21. extern int DW9714AF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  22. #endif
  23. #ifdef CONFIG_MTK_LENS_DW9814AF_SUPPORT
  24. extern void DW9814AF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  25. extern long DW9814AF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  26. extern int DW9814AF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  27. #endif
  28. #ifdef CONFIG_MTK_LENS_DW9718AF_SUPPORT
  29. extern void DW9718AF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  30. extern long DW9718AF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  31. extern int DW9718AF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  32. #endif
  33. #ifdef CONFIG_MTK_LENS_FM50AF_SUPPORT
  34. extern void FM50AF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  35. extern long FM50AF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  36. extern int FM50AF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  37. #endif
  38. #ifdef CONFIG_MTK_LENS_LC898122AF_SUPPORT
  39. extern void LC898122AF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  40. extern long LC898122AF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  41. extern int LC898122AF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  42. #endif
  43. #ifdef CONFIG_MTK_LENS_LC898212AF_SUPPORT
  44. extern void LC898212AF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  45. extern long LC898212AF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  46. extern int LC898212AF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  47. #endif
  48. #ifdef CONFIG_MTK_LENS_LC898212XDAF_SUPPORT
  49. extern void LC898212XDAF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  50. extern long LC898212XDAF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  51. extern int LC898212XDAF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  52. #endif
  53. #ifdef CONFIG_MTK_LENS_AD5820AF_SUPPORT
  54. extern void AD5820AF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  55. extern long AD5820AF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  56. extern int AD5820AF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  57. #endif
  58. #ifdef CONFIG_MTK_LENS_WV511AAF_SUPPORT
  59. extern void WV511AAF_SetI2Cclient(struct i2c_client *pstAF_I2Cclient, spinlock_t *pAF_SpinLock, int *pAF_Opened);
  60. extern long WV511AAF_Ioctl(struct file *a_pstFile, unsigned int a_u4Command, unsigned long a_u4Param);
  61. extern int WV511AAF_Release(struct inode *a_pstInode, struct file *a_pstFile);
  62. #endif
  63. #endif