linux/drivers/staging/fbtft/fb_pcd8544.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * FB driver for the PCD8544 LCD Controller
 *
 * The display is monochrome and the video memory is RGB565.
 * Any pixel value except 0 turns the pixel on.
 *
 * Copyright (C) 2013 Noralf Tronnes
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/gpio/consumer.h>
#include <linux/spi/spi.h>
#include <linux/delay.h>

#include "fbtft.h"

#define DRVNAME
#define WIDTH
#define HEIGHT
#define TXBUFLEN
#define DEFAULT_GAMMA

static unsigned int tc;
module_param(tc, uint, 0000);
MODULE_PARM_DESC();

static unsigned int bs =;
module_param(bs, uint, 0000);
MODULE_PARM_DESC();

static int init_display(struct fbtft_par *par)
{}

static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
{}

static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
{}

static int set_gamma(struct fbtft_par *par, u32 *curves)
{}

static struct fbtft_display display =;

FBTFT_REGISTER_DRIVER();

MODULE_ALIAS();
MODULE_ALIAS();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();