blob: 16ac07eb58d6d8ed8483c37fdd0c2fbbef93e284 [file] [log] [blame]
/* 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