bm_isp_ioctl.h 538 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (C) 2021 Alibaba Group Holding Limited
  3. * Author: LuChongzhi <chongzhi.lcz@alibaba-inc.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #ifndef _BM_ISP_IOCTL_H_
  10. #define _BM_ISP_IOCTL_H_
  11. #include <linux/ioctl.h>
  12. enum {
  13. BMISPIOC_WRITE_REG = 0x100,
  14. BMISPIOC_READ_REG,
  15. };
  16. struct bm_isp_reg_t {
  17. unsigned int offset;
  18. unsigned int value;
  19. };
  20. #endif /* _BM_ISP_IOCTL_H_ */