p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/source/include/video/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/source/include/video/w100fb.h
/*
 *  Support for the w100 frame buffer.
 *
 *  Copyright (c) 2004-2005 Richard Purdie
 *  Copyright (c) 2005 Ian Molton
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2 as
 *  published by the Free Software Foundation.
 */

#define W100_GPIO_PORT_A	0
#define W100_GPIO_PORT_B	1

#define CLK_SRC_XTAL  0
#define CLK_SRC_PLL   1

struct w100fb_par;

unsigned long w100fb_gpio_read(int port);
void w100fb_gpio_write(int port, unsigned long value);
unsigned long w100fb_get_hsynclen(struct device *dev);

/* LCD Specific Routines and Config */
struct w100_tg_info {
	void (*change)(struct w100fb_par*);
	void (*suspend)(struct w100fb_par*);
	void (*resume)(struct w100fb_par*);
};

/* General Platform Specific w100 Register Values */
struct w100_gen_regs {
	unsigned long lcd_format;
	unsigned long lcdd_cntl1;
	unsigned long lcdd_cntl2;
	unsigned long genlcd_cntl1;
	unsigned long genlcd_cntl2;
	unsigned long genlcd_cntl3;
};

struct w100_gpio_regs {
	unsigned long init_data1;
	unsigned long init_data2;
	unsigned long gpio_dir1;
	unsigned long gpio_oe1;
	unsigned long gpio_dir2;
	unsigned long gpio_oe2;
};

/* Optional External Memory Configuration */
struct w100_mem_info {
	unsigned long ext_cntl;
	unsigned long sdram_mode_reg;
	unsigned long ext_timing_cntl;
	unsigned long io_cntl;
	unsigned int size;
};

struct w100_bm_mem_info {
	unsigned long ext_mem_bw;
	unsigned long offset;
	unsigned long ext_timing_ctl;
	unsigned long ext_cntl;
	unsigned long mode_reg;
	unsigned long io_cntl;
	unsigned long config;
};

/* LCD Mode definition */
struct w100_mode {
	unsigned int xres;
	unsigned int yres;
	unsigned short left_margin;
	unsigned short right_margin;
	unsigned short upper_margin;
	unsigned short lower_margin;
	unsigned long crtc_ss;
	unsigned long crtc_ls;
	unsigned long crtc_gs;
	unsigned long crtc_vpos_gs;
	unsigned long crtc_rev;
	unsigned long crtc_dclk;
	unsigned long crtc_gclk;
	unsigned long crtc_goe;
	unsigned long crtc_ps1_active;
	char pll_freq;
	char fast_pll_freq;
	int sysclk_src;
	int sysclk_divider;
	int pixclk_src;
	int pixclk_divider;
	int pixclk_divider_rotated;
};

struct w100_pll_info {
	uint16_t freq;  /* desired Fout for PLL (Mhz) */
	uint8_t M;      /* input divider */
	uint8_t N_int;  /* VCO multiplier */
	uint8_t N_fac;  /* VCO multiplier fractional part */
	uint8_t tfgoal;
	uint8_t lock_time;
};

/* Initial Video mode orientation flags */
#define INIT_MODE_ROTATED  0x1
#define INIT_MODE_FLIPPED  0x2

/*
 * This structure describes the machine which we are running on.
 * It is set by machine specific code and used in the probe routine
 * of drivers/video/w100fb.c
 */
struct w100fb_mach_info {
	/* General Platform Specific Registers */
	struct w100_gen_regs *regs;
	/* Table of modes the LCD is capable of */
	struct w100_mode *modelist;
	unsigned int num_modes;
	/* Hooks for any platform specific tg/lcd code (optional) */
	struct w100_tg_info *tg;
	/* External memory definition (if present) */
	struct w100_mem_info *mem;
	/* Additional External memory definition (if present) */
	struct w100_bm_mem_info *bm_mem;
	/* GPIO definitions (optional) */
	struct w100_gpio_regs *gpio;
	/* Initial Mode flags */
	unsigned int init_mode;
	/* Xtal Frequency */
	unsigned int xtal_freq;
	/* Enable Xtal input doubler (1 == enable) */
	unsigned int xtal_dbl;
};

/* General frame buffer data structure */
struct w100fb_par {
	unsigned int chip_id;
	unsigned int xres;
	unsigned int yres;
	unsigned int extmem_active;
	unsigned int flip;
	unsigned int blanked;
	unsigned int fastpll_mode;
	unsigned long hsync_len;
	struct w100_mode *mode;
	struct w100_pll_info *pll_table;
	struct w100fb_mach_info *mach;
	uint32_t *saved_intmem;
	uint32_t *saved_extmem;
};
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
January 19 2024 08:12:51
0 / 0
0755
Kbuild
0 KB
November 06 2023 09:15:52
0 / 0
0644
atmel_lcdc.h
7.151 KB
November 06 2023 09:15:52
0 / 0
0644
aty128.h
13.236 KB
November 06 2023 09:15:52
0 / 0
0644
auo_k190xfb.h
2.795 KB
November 06 2023 09:15:52
0 / 0
0644
broadsheetfb.h
2.118 KB
November 06 2023 09:15:52
0 / 0
0644
cirrus.h
5.665 KB
November 06 2023 09:15:52
0 / 0
0644
cvisionppc.h
1.54 KB
November 06 2023 09:15:52
0 / 0
0644
da8xx-fb.h
1.917 KB
November 06 2023 09:15:52
0 / 0
0644
display_timing.h
2.94 KB
November 06 2023 09:15:52
0 / 0
0644
edid.h
0.185 KB
November 06 2023 09:15:52
0 / 0
0644
exynos_dp.h
1.98 KB
November 06 2023 09:15:52
0 / 0
0644
exynos_mipi_dsim.h
12.315 KB
November 06 2023 09:15:52
0 / 0
0644
gbe.h
10.545 KB
November 06 2023 09:15:52
0 / 0
0644
hecubafb.h
1.504 KB
November 06 2023 09:15:52
0 / 0
0644
iga.h
0.769 KB
November 06 2023 09:15:52
0 / 0
0644
ili9320.h
5.801 KB
November 06 2023 09:15:52
0 / 0
0644
kyro.h
2.39 KB
November 06 2023 09:15:52
0 / 0
0644
mach64.h
47.136 KB
November 06 2023 09:15:52
0 / 0
0644
maxinefb.h
1.238 KB
November 06 2023 09:15:52
0 / 0
0644
mbxfb.h
2.117 KB
November 06 2023 09:15:52
0 / 0
0644
metronomefb.h
1.484 KB
November 06 2023 09:15:52
0 / 0
0644
mipi_display.h
4.521 KB
November 06 2023 09:15:52
0 / 0
0644
mmp_disp.h
7.464 KB
November 06 2023 09:15:52
0 / 0
0644
neomagic.h
4.918 KB
November 06 2023 09:15:52
0 / 0
0644
newport.h
18.64 KB
November 06 2023 09:15:52
0 / 0
0644
of_display_timing.h
0.421 KB
November 06 2023 09:15:52
0 / 0
0644
of_videomode.h
0.358 KB
November 06 2023 09:15:52
0 / 0
0644
omap-panel-data.h
3.808 KB
November 06 2023 09:15:52
0 / 0
0644
omapdss.h
26.652 KB
November 06 2023 09:15:52
0 / 0
0644
omapvrfb.h
2.385 KB
November 06 2023 09:15:52
0 / 0
0644
permedia2.h
8.96 KB
November 06 2023 09:15:52
0 / 0
0644
platform_lcd.h
0.575 KB
November 06 2023 09:15:52
0 / 0
0644
pm3fb.h
45.312 KB
November 06 2023 09:15:52
0 / 0
0644
pmag-ba-fb.h
1.023 KB
November 06 2023 09:15:52
0 / 0
0644
pmagb-b-fb.h
2.344 KB
November 06 2023 09:15:52
0 / 0
0644
pxa168fb.h
2.728 KB
November 06 2023 09:15:52
0 / 0
0644
radeon.h
109.177 KB
November 06 2023 09:15:52
0 / 0
0644
s1d13xxxfb.h
9.949 KB
November 06 2023 09:15:52
0 / 0
0644
sa1100fb.h
1.264 KB
November 06 2023 09:15:52
0 / 0
0644
samsung_fimd.h
16.407 KB
November 06 2023 09:15:52
0 / 0
0644
sgivw.h
24.146 KB
November 06 2023 09:15:52
0 / 0
0644
sh_mipi_dsi.h
1.415 KB
November 06 2023 09:15:52
0 / 0
0644
sh_mobile_hdmi.h
1.197 KB
November 06 2023 09:15:52
0 / 0
0644
sh_mobile_lcdc.h
6.072 KB
November 06 2023 09:15:52
0 / 0
0644
sh_mobile_meram.h
2.403 KB
November 06 2023 09:15:52
0 / 0
0644
sisfb.h
1.231 KB
November 06 2023 09:15:52
0 / 0
0644
sstfb.h
11.003 KB
November 06 2023 09:15:52
0 / 0
0644
tdfx.h
5.281 KB
November 06 2023 09:15:52
0 / 0
0644
tgafb.h
6.939 KB
November 06 2023 09:15:52
0 / 0
0644
trident.h
3.196 KB
November 06 2023 09:15:52
0 / 0
0644
udlfb.h
2.781 KB
November 06 2023 09:15:52
0 / 0
0644
uvesafb.h
2.796 KB
November 06 2023 09:15:52
0 / 0
0644
vga.h
13.722 KB
November 06 2023 09:15:52
0 / 0
0644
videomode.h
1.347 KB
November 06 2023 09:15:52
0 / 0
0644
w100fb.h
3.716 KB
November 06 2023 09:15:52
0 / 0
0644