Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.2-rc7 51 lines 1.0 kB view raw
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * 4 * Copyright (c) 2009 Nuvoton technology corporation 5 * All rights reserved. 6 * 7 * Author: 8 * Wang Qiang(rurality.linux@gmail.com) 2009/12/16 9 */ 10 11#ifndef __NUC900FB_H 12#define __NUC900FB_H 13 14#include <mach/map.h> 15#include <linux/platform_data/video-nuc900fb.h> 16 17enum nuc900_lcddrv_type { 18 LCDDRV_NUC910, 19 LCDDRV_NUC930, 20 LCDDRV_NUC932, 21 LCDDRV_NUC950, 22 LCDDRV_NUC960, 23}; 24 25 26#define PALETTE_BUFFER_SIZE 256 27#define PALETTE_BUFF_CLEAR (0x80000000) /* entry is clear/invalid */ 28 29struct nuc900fb_info { 30 struct device *dev; 31 struct clk *clk; 32 33 struct resource *mem; 34 void __iomem *io; 35 void __iomem *irq_base; 36 int drv_type; 37 struct nuc900fb_hw regs; 38 unsigned long clk_rate; 39 40#ifdef CONFIG_CPU_FREQ 41 struct notifier_block freq_transition; 42#endif 43 44 /* keep these registers in case we need to re-write palette */ 45 u32 palette_buffer[PALETTE_BUFFER_SIZE]; 46 u32 pseudo_pal[16]; 47}; 48 49int nuc900fb_init(void); 50 51#endif /* __NUC900FB_H */