blob: 6c4fc9b73489c2ba7892f7e30439c87fdb6fc2e4 [file] [log] [blame]
Sudip Mukherjee81dee672015-03-03 16:21:06 +05301#ifndef LYNX_CURSOR_H__
2#define LYNX_CURSOR_H__
3
4/* hw_cursor_xxx works for voyager,718 and 750 */
Greg Donaldeb0f4272015-06-18 15:06:56 -05005void hw_cursor_enable(struct lynx_cursor *cursor);
6void hw_cursor_disable(struct lynx_cursor *cursor);
7void hw_cursor_setSize(struct lynx_cursor *cursor,
Isaac Assegai5e935812015-06-02 03:14:23 -07008 int w, int h);
Greg Donaldeb0f4272015-06-18 15:06:56 -05009void hw_cursor_setPos(struct lynx_cursor *cursor,
Isaac Assegai5e935812015-06-02 03:14:23 -070010 int x, int y);
Greg Donaldeb0f4272015-06-18 15:06:56 -050011void hw_cursor_setColor(struct lynx_cursor *cursor,
Isaac Assegai5e935812015-06-02 03:14:23 -070012 u32 fg, u32 bg);
Greg Donaldeb0f4272015-06-18 15:06:56 -050013void hw_cursor_setData(struct lynx_cursor *cursor,
Yash Shahcc6c16d2015-08-14 06:06:13 +000014 u16 rop, const u8 *data, const u8 *mask);
Greg Donaldeb0f4272015-06-18 15:06:56 -050015void hw_cursor_setData2(struct lynx_cursor *cursor,
Yash Shahcc6c16d2015-08-14 06:06:13 +000016 u16 rop, const u8 *data, const u8 *mask);
Sudip Mukherjee81dee672015-03-03 16:21:06 +053017#endif