Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _IEIBT878_H
- #define _IEIBT878_H
- struct iei_auto_switch
- {
- int auto_switch;
- };
- struct iei_channel_mask
- {
- int ch_mask;
- };
- struct iei_auto_detect
- {
- int auto_detect;
- };
- struct iei_gpio
- {
- int gpio_target;
- int gpio_value;
- };
- struct iei_card_id
- {
- unsigned long dwSubsystemId;
- unsigned long dwSubsystemVendorId;
- };
- struct iei_signal_status
- {
- int signal_status;
- };
- struct iei_norm_status
- {
- int is_525_scanline;
- };
- #define VIDIOC_IEI_SET_AUTO_SWITCH _IOW('v', 200, struct iei_auto_switch)
- #define VIDIOC_IEI_GET_AUTO_SWITCH _IOR('v', 201, struct iei_auto_switch)
- #define VIDIOC_IEI_SET_CHANNEL_MASK _IOW('v', 202, struct iei_channel_mask)
- #define VIDIOC_IEI_GET_CHANNEL_MASK _IOR('v', 203, struct iei_channel_mask)
- #define VIDIOC_IEI_SET_GPIO _IOW('v', 204, struct iei_gpio)
- #define VIDIOC_IEI_GET_GPIO _IOR('v', 205, struct iei_gpio)
- #define VIDIOC_IEI_GET_CARD_ID _IOR('v', 206, struct iei_card_id)
- #define VIDIOC_IEI_GET_SIGNAL_STATUS _IOR('v', 207, struct iei_signal_status)
- #define VIDIOC_IEI_SET_AUTO_DETECT _IOW('v', 208, struct iei_auto_detect)
- #define VIDIOC_IEI_GET_AUTO_DETECT _IOR('v', 209, struct iei_auto_detect)
- #define VIDIOC_IEI_GET_NORM_STATUS _IOR('v', 210, struct iei_norm_status)
- #define ETIMEOUT 500 /* RISC command time-out */
- #endif
Advertisement
Add Comment
Please, Sign In to add comment