linux/drivers/staging/sm750fb/sm750_cursor.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/vmalloc.h>
#include <linux/pagemap.h>
#include <linux/console.h>
#include <linux/platform_device.h>

#include "sm750.h"
#include "sm750_cursor.h"

#define poke32(addr, data)

/* cursor control for voyager and 718/750*/
#define HWC_ADDRESS
#define HWC_ADDRESS_ENABLE
#define HWC_ADDRESS_EXT
#define HWC_ADDRESS_CS
#define HWC_ADDRESS_ADDRESS_MASK

#define HWC_LOCATION
#define HWC_LOCATION_TOP
#define HWC_LOCATION_Y_SHIFT
#define HWC_LOCATION_Y_MASK
#define HWC_LOCATION_LEFT
#define HWC_LOCATION_X_MASK

#define HWC_COLOR_12
#define HWC_COLOR_12_2_RGB565_SHIFT
#define HWC_COLOR_12_2_RGB565_MASK
#define HWC_COLOR_12_1_RGB565_MASK

#define HWC_COLOR_3
#define HWC_COLOR_3_RGB565_MASK

/* 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 *pcol, const u8 *pmsk)
{}

void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop,
			      const u8 *pcol, const u8 *pmsk)
{}