Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / staging / sm750fb / sm750_cursor.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LYNX_CURSOR_H__
3 #define LYNX_CURSOR_H__
4
5 /* hw_cursor_xxx works for voyager,718 and 750 */
6 void sm750_hw_cursor_enable(struct lynx_cursor *cursor);
7 void sm750_hw_cursor_disable(struct lynx_cursor *cursor);
8 void sm750_hw_cursor_setSize(struct lynx_cursor *cursor,
9                                                 int w, int h);
10 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor,
11                                                 int x, int y);
12 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor,
13                                                 u32 fg, u32 bg);
14 void sm750_hw_cursor_setData(struct lynx_cursor *cursor,
15                         u16 rop, const u8 *data, const u8 *mask);
16 void sm750_hw_cursor_setData2(struct lynx_cursor *cursor,
17                         u16 rop, const u8 *data, const u8 *mask);
18 #endif