#ifndef BS_MOJITO_LCD_H
#define BS_MOJITO_LCD_H

#include <linux/ioctl.h>

struct lcd_point
{
	unsigned int x;
	unsigned int y;
};

#define LCDIOC_BASE 'L'
#define LCDIOC_SCONTRAST _IOW(LCDIOC_BASE, 0, int)
#define LCDIOC_GCONTRAST _IOR(LCDIOC_BASE, 0, int)
#define LCDIOC_SBACKLIGHT _IOW(LCDIOC_BASE, 1, int)
#define LCDIOC_GBACKLIGHT _IOR(LCDIOC_BASE, 1, int)

#define LCDIOC_CLEAR _IO(LCDIOC_BASE, 2)
#define LCDIOC_CLEAR_TO_LINE_END _IO(LCDIOC_BASE, 3)
#define LCDIOC_SETPOS _IOW(LCDIOC_BASE, 4, struct lcd_point)
#define LCDIOC_SETPOS_CLEAR_TO_LINE_END _IOW(LCDIOC_BASE, 5, struct lcd_point)

#endif // BS_MOJITO_LCD_H
