From 81dee67e215b23f0c98182eece122b906d35765a Mon Sep 17 00:00:00 2001 From: Sudip Mukherjee Date: Tue, 3 Mar 2015 16:21:06 +0530 Subject: staging: sm750fb: add sm750 to staging sm750 of Silicon Motion is pci-e display controller device and has features like dual display and 2D acceleration. This patch adds the driver to staging. Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- drivers/staging/sm750fb/sm750_cursor.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 drivers/staging/sm750fb/sm750_cursor.h (limited to 'drivers/staging/sm750fb/sm750_cursor.h') diff --git a/drivers/staging/sm750fb/sm750_cursor.h b/drivers/staging/sm750fb/sm750_cursor.h new file mode 100644 index 000000000000..8cede0721332 --- /dev/null +++ b/drivers/staging/sm750fb/sm750_cursor.h @@ -0,0 +1,17 @@ +#ifndef LYNX_CURSOR_H__ +#define LYNX_CURSOR_H__ + +/* hw_cursor_xxx works for voyager,718 and 750 */ +void hw_cursor_enable(struct lynx_cursor * cursor); +void hw_cursor_disable(struct lynx_cursor * cursor); +void hw_cursor_setSize(struct lynx_cursor * cursor, + int w,int h); +void hw_cursor_setPos(struct lynx_cursor * cursor, + int x,int y); +void hw_cursor_setColor(struct lynx_cursor * cursor, + u32 fg,u32 bg); +void hw_cursor_setData(struct lynx_cursor * cursor, + u16 rop,const u8* data,const u8* mask); +void hw_cursor_setData2(struct lynx_cursor * cursor, + u16 rop,const u8* data,const u8* mask); +#endif -- cgit