summaryrefslogtreecommitdiff
path: root/drivers/staging/sm750fb/sm750_cursor.h
blob: 88fa02f6377a4250e1c4f112eda8e1da41f97b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef LYNX_CURSOR_H__
#define LYNX_CURSOR_H__

/* hw_cursor_xxx works for voyager,718 and 750 */
void sm750_hw_cursor_enable(struct lynx_cursor *cursor);
void sm750_hw_cursor_disable(struct lynx_cursor *cursor);
void sm750_hw_cursor_set_size(struct lynx_cursor *cursor, int w, int h);
void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y);
void sm750_hw_cursor_set_color(struct lynx_cursor *cursor, u32 fg, u32 bg);
void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop,
			      const u8 *data, const u8 *mask);
void sm750_hw_cursor_set_data2(struct lynx_cursor *cursor, u16 rop,
			       const u8 *data, const u8 *mask);
#endif