hx170dec.h 829 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _HX170DEC_H_
  2. #define _HX170DEC_H_
  3. struct core_desc
  4. {
  5. u32 id; /* id of the core */
  6. u32 *regs; /* pointer to user registers */
  7. u32 size; /* size of register space */
  8. };
  9. #define HX170DEC_IOCGHWOFFSET 3
  10. #define HX170DEC_IOCGHWIOSIZE 4
  11. #define HX170DEC_IOC_MC_OFFSETS 7
  12. #define HX170DEC_IOC_MC_CORES 8
  13. #define HX170DEC_IOCS_DEC_PUSH_REG 9
  14. #define HX170DEC_IOCS_PP_PUSH_REG 10
  15. #define HX170DEC_IOCH_DEC_RESERVE 11
  16. #define HX170DEC_IOCT_DEC_RELEASE 12
  17. #define HX170DEC_IOCQ_PP_RESERVE 13
  18. #define HX170DEC_IOCT_PP_RELEASE 14
  19. #define HX170DEC_IOCX_DEC_WAIT 15
  20. #define HX170DEC_IOCX_PP_WAIT 16
  21. #define HX170DEC_IOCS_DEC_PULL_REG 17
  22. #define HX170DEC_IOCS_PP_PULL_REG 18
  23. #define HX170DEC_IOX_ASIC_ID 20
  24. #define HX170DEC_IOC_MAXNR 29
  25. long vdec_ioctl(unsigned int cmd, void *arg);
  26. #endif /* !_HX170DEC_H_ */