#ifndef SL_SPLICER_DEVICE_IOCTL_H
#define SL_SPLICER_DEVICE_IOCTL_H

#include <linux/ioctl.h>

#define SL_SPLICER_IOCTL_MAGIC 't'

#define sl_splicer_fifo_size 20000

#define sl_splicer_get_fifo_size_id _IOR(SL_SPLICER_IOCTL_MAGIC, 0, unsigned int)
#define sl_splicer_is_lock_id _IOR(SL_SPLICER_IOCTL_MAGIC, 1, unsigned int)
#define sl_splicer_is_asi_detect_id _IOR(SL_SPLICER_IOCTL_MAGIC, 2, unsigned int)
#define sl_splicer_get_input_packet_size_id _IOR(SL_SPLICER_IOCTL_MAGIC, 3, unsigned int)
#define sl_splicer_get_input_stuffing_id _IOR(SL_SPLICER_IOCTL_MAGIC, 4, unsigned int)
#define sl_splicer_set_output_packet_size_id _IOW(SL_SPLICER_IOCTL_MAGIC, 5, unsigned int)
#define sl_splicer_get_output_packet_size_id _IOR(SL_SPLICER_IOCTL_MAGIC, 6, unsigned int)
#define sl_splicer_set_output_stuffing_id _IOW(SL_SPLICER_IOCTL_MAGIC, 7, unsigned int)
#define sl_splicer_get_output_stuffing_id _IOR(SL_SPLICER_IOCTL_MAGIC, 8, unsigned int)
#define sl_splicer_get_read_pos_id _IOR(SL_SPLICER_IOCTL_MAGIC, 9, unsigned int)
#define sl_splicer_set_read_pos_id _IOW(SL_SPLICER_IOCTL_MAGIC, 10, unsigned int)
#define sl_splicer_get_write_pos_id _IOR(SL_SPLICER_IOCTL_MAGIC, 11, unsigned int)
#define sl_splicer_get_interrupt_id _IOR(SL_SPLICER_IOCTL_MAGIC, 12, unsigned int)
#define sl_splicer_enable_output_id _IOW(SL_SPLICER_IOCTL_MAGIC, 13, unsigned int)
#define sl_splicer_is_enable_output_id _IOW(SL_SPLICER_IOCTL_MAGIC, 14, unsigned int)
#define sl_splicer_enable_input_id _IOW(SL_SPLICER_IOCTL_MAGIC, 15, unsigned int)
#define sl_splicer_is_enable_input_id _IOW(SL_SPLICER_IOCTL_MAGIC, 16, unsigned int)
#define sl_splicer_enable_bypass_id _IOW(SL_SPLICER_IOCTL_MAGIC, 17, unsigned int)
#define sl_splicer_is_enable_bypass_id _IOW(SL_SPLICER_IOCTL_MAGIC, 18, unsigned int)
#define sl_splicer_get_firmware_svn_revision_id _IOR(SL_SPLICER_IOCTL_MAGIC, 19, unsigned int)
#define sl_splicer_get_firmware_rebuild_number_id _IOR(SL_SPLICER_IOCTL_MAGIC, 20, unsigned int)
#define sl_splicer_keep_alive_bypass _IOW(SL_SPLICER_IOCTL_MAGIC, 21, unsigned int)

#endif /* SL_SPLICER_DEVICE_IOCTL_H */
