xref: /linux/drivers/staging/sm750fb/sm750_cursor.h (revision a100922a3855eb35ecd465f1d558546b1e144445)
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_set_size(struct lynx_cursor *cursor, int w, int h);
9 void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y);
10 void sm750_hw_cursor_set_color(struct lynx_cursor *cursor, u32 fg, u32 bg);
11 void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop,
12 			      const u8 *data, const u8 *mask);
13 void sm750_hw_cursor_set_data2(struct lynx_cursor *cursor, u16 rop,
14 			       const u8 *data, const u8 *mask);
15 #endif
16