diff options
author | Danny Nold <dannynold@freescale.com> | 2010-11-11 19:01:59 -0600 |
---|---|---|
committer | Alan Tull <alan.tull@freescale.com> | 2011-02-03 16:32:55 -0600 |
commit | 663ca718e36478e01768e4b445b3b3793814bcfe (patch) | |
tree | e0adb0ca8bbcfc62e606937543bd2f5bafd467e3 /include | |
parent | 6e2aadfe7cd5b3e69f5d21c95bf022eed07ec165 (diff) |
ENGR00133794 - EPDC fb: Make IOCTL functions accessible from kernel modules
- Created global to hold EPDC fb data structure
- Created new functions to ensure all ioctls map to functions
- Created header file to declare functions accessible from other kernel modules
Signed-off-by: Danny Nold <dannynold@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mxcfb_epdc_kernel.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/linux/mxcfb_epdc_kernel.h b/include/linux/mxcfb_epdc_kernel.h new file mode 100644 index 000000000000..80a498e08679 --- /dev/null +++ b/include/linux/mxcfb_epdc_kernel.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +#ifndef _MXCFB_EPDC_KERNEL +#define _MXCFB_EPDC_KERNEL + +void mxc_epdc_fb_set_waveform_modes(struct mxcfb_waveform_modes *modes, + struct fb_info *info); +int mxc_epdc_fb_set_temperature(int temperature, struct fb_info *info); +int mxc_epdc_fb_set_auto_update(u32 auto_mode, struct fb_info *info); +int mxc_epdc_fb_send_update(struct mxcfb_update_data *upd_data, + struct fb_info *info); +int mxc_epdc_fb_wait_update_complete(u32 update_marker, struct fb_info *info); +int mxc_epdc_fb_set_pwrdown_delay(u32 pwrdown_delay, + struct fb_info *info); +int mxc_epdc_get_pwrdown_delay(struct fb_info *info); + +#endif |