forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-14 796a7ef0befd21e25c2b9e42f53a6d7a4421941d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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_setSize(struct lynx_cursor *cursor,
                       int w, int h);
void sm750_hw_cursor_setPos(struct lynx_cursor *cursor,
                       int x, int y);
void sm750_hw_cursor_setColor(struct lynx_cursor *cursor,
                       u32 fg, u32 bg);
void sm750_hw_cursor_setData(struct lynx_cursor *cursor,
           u16 rop, const u8 *data, const u8 *mask);
void sm750_hw_cursor_setData2(struct lynx_cursor *cursor,
           u16 rop, const u8 *data, const u8 *mask);
#endif