linux/drivers/auxdisplay/hd44780_common.c

// SPDX-License-Identifier: GPL-2.0-or-later
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/slab.h>

#include "charlcd.h"
#include "hd44780_common.h"

/* LCD commands */
#define LCD_CMD_DISPLAY_CLEAR

#define LCD_CMD_ENTRY_MODE
#define LCD_CMD_CURSOR_INC

#define LCD_CMD_DISPLAY_CTRL
#define LCD_CMD_DISPLAY_ON
#define LCD_CMD_CURSOR_ON
#define LCD_CMD_BLINK_ON

#define LCD_CMD_SHIFT
#define LCD_CMD_DISPLAY_SHIFT
#define LCD_CMD_SHIFT_RIGHT

#define LCD_CMD_FUNCTION_SET
#define LCD_CMD_DATA_LEN_8BITS
#define LCD_CMD_TWO_LINES
#define LCD_CMD_FONT_5X10_DOTS

#define LCD_CMD_SET_CGRAM_ADDR

#define LCD_CMD_SET_DDRAM_ADDR

/* sleeps that many milliseconds with a reschedule */
static void long_sleep(int ms)
{}

int hd44780_common_print(struct charlcd *lcd, int c)
{}
EXPORT_SYMBOL_GPL();

int hd44780_common_gotoxy(struct charlcd *lcd, unsigned int x, unsigned int y)
{}
EXPORT_SYMBOL_GPL();

int hd44780_common_home(struct charlcd *lcd)
{}
EXPORT_SYMBOL_GPL();

/* clears the display and resets X/Y */
int hd44780_common_clear_display(struct charlcd *lcd)
{}
EXPORT_SYMBOL_GPL();

int hd44780_common_init_display(struct charlcd *lcd)
{}
EXPORT_SYMBOL_GPL();

int hd44780_common_shift_cursor(struct charlcd *lcd, enum charlcd_shift_dir dir)
{}
EXPORT_SYMBOL_GPL();

int hd44780_common_shift_display(struct charlcd *lcd,
		enum charlcd_shift_dir dir)
{}
EXPORT_SYMBOL_GPL();

static void hd44780_common_set_mode(struct hd44780_common *hdc)
{}

int hd44780_common_display(struct charlcd *lcd, enum charlcd_onoff on)
{}
EXPORT_SYMBOL_GPL();

int hd44780_common_cursor(struct charlcd *lcd, enum charlcd_onoff on)
{}
EXPORT_SYMBOL_GPL();

int hd44780_common_blink(struct charlcd *lcd, enum charlcd_onoff on)
{}
EXPORT_SYMBOL_GPL();

static void hd44780_common_set_function(struct hd44780_common *hdc)
{}

int hd44780_common_fontsize(struct charlcd *lcd, enum charlcd_fontsize size)
{}
EXPORT_SYMBOL_GPL();

int hd44780_common_lines(struct charlcd *lcd, enum charlcd_lines lines)
{}
EXPORT_SYMBOL_GPL();

int hd44780_common_redefine_char(struct charlcd *lcd, char *esc)
{}
EXPORT_SYMBOL_GPL();

struct hd44780_common *hd44780_common_alloc(void)
{}
EXPORT_SYMBOL_GPL();

MODULE_DESCRIPTION();
MODULE_LICENSE();