source/dvr_disp_ioctl.h
Go to the documentation of this file.
00001 00002 #define DVR_DISP_IOC_MAGIC 'I' 00003 00004 /** 00005 * \b ioctl(disp_fd, DVR_DISP_INITIATE, 0) 00006 * 00007 * \arg explanation : not used 00008 * 00009 */ 00010 #define DVR_DISP_INITIATE _IO(DVR_DISP_IOC_MAGIC, 1) 00011 00012 /** 00013 * \b ioctl(disp_fd, DVR_DISP_TERMINATE, 0) 00014 * 00015 * \arg explanation : not used 00016 * 00017 */ 00018 #define DVR_DISP_TERMINATE _IO(DVR_DISP_IOC_MAGIC, 2) 00019 00020 /** 00021 * \b ioctl(disp_fd, DVR_DISP_GET_DISP_PARAM, &disp_param) 00022 * 00023 * \arg explanation : get LCD color parameter from user space ,and set parameter to device driver 00024 * \arg parameter : 00025 * \n \b \e pointer \b \e disp_param : argument from user space ioctl parameter, it means structure dvr_disp_disp_param 00026 * 00027 */ 00028 #define DVR_DISP_GET_DISP_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 4, dvr_disp_disp_param) 00029 00030 /** 00031 * \b ioctl(disp_fd, DVR_DISP_SET_DISP_PARAM, &disp_param) 00032 * 00033 * \arg explanation : get LCD color parameter from user space ,and set parameter to device driver 00034 * \arg parameter : 00035 * \n \b \e pointer \b \e disp_param : argument from user space ioctl parameter, it means structure dvr_disp_disp_param 00036 * 00037 */ 00038 #define DVR_DISP_SET_DISP_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 5, dvr_disp_disp_param) 00039 00040 /** 00041 * \b ioctl(disp_fd, DVR_DISP_UPDATE_DISP_PARAM, &disp_update_param) 00042 * 00043 * \arg explanation : get LCD color parameter from user space ,and update parameter to device driver 00044 * \arg parameter : 00045 * \n \b \e pointer \b \e disp_update_param : argument from user space ioctl parameter, it means structure dvr_disp_update_disp_param 00046 * 00047 */ 00048 #define DVR_DISP_UPDATE_DISP_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 6, dvr_disp_update_disp_param) 00049 00050 /** 00051 * \b ioctl(disp_fd, DVR_DISP_GET_PLANE_PARAM, &plane_param) 00052 * 00053 * \arg explanation : get LCD plane(window) parameter from user space, and set parameter to device driver 00054 * \arg parameter : 00055 * \n \b \e pointer \b \e plane_param : argument from user space ioctl parameter, it means structure dvr_disp_plane_param 00056 * 00057 */ 00058 #define DVR_DISP_GET_PLANE_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 7, dvr_disp_plane_param) 00059 00060 /** 00061 * \b ioctl(disp_fd, DVR_DISP_SET_PLANE_PARAM, &plane_param_set) 00062 * 00063 * \arg explanation : get LCD plane(window) parameter from user space, and set parameter to device driver 00064 * \arg parameter : 00065 * \n \b \e pointer \b \e plane_param_set : argument from user space ioctl parameter, it means structure dvr_disp_plane_param 00066 * 00067 */ 00068 #define DVR_DISP_SET_PLANE_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 8, dvr_disp_plane_param) 00069 00070 /** 00071 * \b ioctl(disp_fd, DVR_DISP_UPDATE_PLANE_PARAM, &plane_param_update) 00072 * 00073 * \arg explanation : get LCD plane(window) parameter from user space, and update parameter to device driver 00074 * \arg parameter : 00075 * \n \b \e pointer \b \e plane_param_update : argument from user space ioctl parameter, it means structure dvr_disp_update_plane_param 00076 * 00077 */ 00078 #define DVR_DISP_UPDATE_PLANE_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 9, dvr_disp_update_plane_param) 00079 00080 /** 00081 * \b ioctl(disp_fd, DVR_DISP_CONTROL, &disp_ctrl) 00082 * 00083 * \arg explanation : get display control command from user space, and set command to videograph layer 00084 * \arg parameter : 00085 * \n \b \e pointer \b \e disp_ctrl : argument from user space ioctl parameter, it means structure dvr_disp_control 00086 * 00087 */ 00088 #define DVR_DISP_CONTROL _IOR(DVR_DISP_IOC_MAGIC, 10, dvr_disp_control) 00089 00090 /** 00091 * \b ioctl(disp_fd, DVR_DISP_INITIATE, &disp_clear_param) 00092 * 00093 * \arg explanation : get channel parameter from user space ,and clear lcd buffer 00094 * \arg parameter : 00095 * \n \b \e pointer \b \e disp_clear_param; : argument from user space ioctl parameter, it means structure dvr_disp_clear_param 00096 * 00097 */ 00098 #define DVR_DISP_CLEAR_WIN _IOWR(DVR_DISP_IOC_MAGIC, 11, dvr_disp_clear_param)
Generated on Wed Jun 15 2011 15:51:00 for This describe GM8126 ioctl functions by 1.7.1