Guest User

ieibt878.h

a guest
Oct 12th, 2011
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.30 KB | None | 0 0
  1. #ifndef _IEIBT878_H
  2. #define _IEIBT878_H
  3.  
  4. struct iei_auto_switch
  5. {
  6.     int     auto_switch;
  7. };
  8.  
  9. struct iei_channel_mask
  10. {
  11.     int     ch_mask;
  12. };
  13.  
  14. struct iei_auto_detect
  15. {
  16.     int     auto_detect;
  17. };
  18.  
  19. struct iei_gpio
  20. {
  21.     int     gpio_target;
  22.     int     gpio_value;
  23. };
  24.  
  25. struct iei_card_id
  26. {
  27.     unsigned long   dwSubsystemId;
  28.     unsigned long   dwSubsystemVendorId;
  29. };
  30.  
  31. struct iei_signal_status
  32. {
  33.     int     signal_status;
  34. };
  35.  
  36. struct iei_norm_status
  37. {
  38.     int     is_525_scanline;
  39. };
  40.  
  41. #define VIDIOC_IEI_SET_AUTO_SWITCH  _IOW('v', 200, struct iei_auto_switch)
  42. #define VIDIOC_IEI_GET_AUTO_SWITCH  _IOR('v', 201, struct iei_auto_switch)
  43. #define VIDIOC_IEI_SET_CHANNEL_MASK _IOW('v', 202, struct iei_channel_mask)
  44. #define VIDIOC_IEI_GET_CHANNEL_MASK _IOR('v', 203, struct iei_channel_mask)
  45. #define VIDIOC_IEI_SET_GPIO     _IOW('v', 204, struct iei_gpio)
  46. #define VIDIOC_IEI_GET_GPIO     _IOR('v', 205, struct iei_gpio)
  47. #define VIDIOC_IEI_GET_CARD_ID      _IOR('v', 206, struct iei_card_id)
  48. #define VIDIOC_IEI_GET_SIGNAL_STATUS    _IOR('v', 207, struct iei_signal_status)
  49. #define VIDIOC_IEI_SET_AUTO_DETECT  _IOW('v', 208, struct iei_auto_detect)
  50. #define VIDIOC_IEI_GET_AUTO_DETECT  _IOR('v', 209, struct iei_auto_detect)
  51. #define VIDIOC_IEI_GET_NORM_STATUS  _IOR('v', 210, struct iei_norm_status)
  52.  
  53. #define ETIMEOUT    500 /* RISC command time-out */
  54.  
  55. #endif
  56.  
Advertisement
Add Comment
Please, Sign In to add comment