linux/drivers/video/fbdev/geode/lxfb_ops.c

// SPDX-License-Identifier: GPL-2.0-or-later
/* Geode LX framebuffer driver
 *
 * Copyright (C) 2006-2007, Advanced Micro Devices,Inc.
 */

#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/fb.h>
#include <linux/uaccess.h>
#include <linux/delay.h>
#include <linux/cs5535.h>

#include "lxfb.h"

/* TODO
 * Support panel scaling
 * Add acceleration
 * Add support for interlacing (TV out)
 * Support compression
 */

/* This is the complete list of PLL frequencies that we can set -
 * we will choose the closest match to the incoming clock.
 * freq is the frequency of the dotclock * 1000 (for example,
 * 24823 = 24.983 Mhz).
 * pllval is the corresponding PLL value
*/

static const struct {} pll_table[] =;


static void lx_set_dotpll(u32 pllval)
{}

/* Set the clock based on the frequency specified by the current mode */

static void lx_set_clock(struct fb_info *info)
{}

static void lx_graphics_disable(struct fb_info *info)
{}

static void lx_graphics_enable(struct fb_info *info)
{}

unsigned int lx_framebuffer_size(void)
{}

void lx_set_mode(struct fb_info *info)
{}

void lx_set_palette_reg(struct fb_info *info, unsigned regno,
			unsigned red, unsigned green, unsigned blue)
{}

int lx_blank_display(struct fb_info *info, int blank_mode)
{}

static void lx_save_regs(struct lxfb_par *par)
{}

static void lx_restore_gfx_proc(struct lxfb_par *par)
{}

static void lx_restore_display_ctlr(struct lxfb_par *par)
{}

static void lx_restore_video_proc(struct lxfb_par *par)
{}

static void lx_restore_regs(struct lxfb_par *par)
{}

int lx_powerdown(struct fb_info *info)
{}

int lx_powerup(struct fb_info *info)
{}