/
usr
/
src
/
kernels
/
4.18.0-553.121.1.el8_10.x86_64
/
include
/
video
/
/usr/src/kernels/4.18.0-553.121.1.el8_10.x86_64/include/video
mkdir
upload
Name
Size
Mode
Actions
atmel_lcdc.h
6966
0644
edit
dl
rm
aty128.h
13593
0644
edit
dl
rm
broadsheetfb.h
2169
0644
edit
dl
rm
cirrus.h
5801
0644
edit
dl
rm
cvisionppc.h
1577
0644
edit
dl
rm
da8xx-fb.h
2035
0644
edit
dl
rm
display_timing.h
3188
0644
edit
dl
rm
edid.h
228
0644
edit
dl
rm
gbe.h
10798
0644
edit
dl
rm
hecubafb.h
1540
0644
edit
dl
rm
ili9320.h
5940
0644
edit
dl
rm
imx-ipu-image-convert.h
7141
0644
edit
dl
rm
imx-ipu-v3.h
15254
0644
edit
dl
rm
kyro.h
2419
0644
edit
dl
rm
mach64.h
48267
0644
edit
dl
rm
maxinefb.h
1268
0644
edit
dl
rm
mbxfb.h
2207
0644
edit
dl
rm
metronomefb.h
1520
0644
edit
dl
rm
mipi_display.h
5074
0644
edit
dl
rm
mmp_disp.h
7793
0644
edit
dl
rm
neomagic.h
5014
0644
edit
dl
rm
newport.h
19126
0644
edit
dl
rm
nomodeset.h
137
0644
edit
dl
rm
of_display_timing.h
814
0644
edit
dl
rm
of_videomode.h
367
0644
edit
dl
rm
omap-panel-data.h
2237
0644
edit
dl
rm
omapfb_dss.h
25182
0644
edit
dl
rm
omapvrfb.h
2442
0644
edit
dl
rm
permedia2.h
9175
0644
edit
dl
rm
platform_lcd.h
589
0644
edit
dl
rm
pm3fb.h
46399
0644
edit
dl
rm
pmag-ba-fb.h
1048
0644
edit
dl
rm
pmagb-b-fb.h
2400
0644
edit
dl
rm
pxa168fb.h
2739
0644
edit
dl
rm
radeon.h
111836
0644
edit
dl
rm
s1d13xxxfb.h
10188
0644
edit
dl
rm
sa1100fb.h
1294
0644
edit
dl
rm
samsung_fimd.h
17203
0644
edit
dl
rm
sh_mobile_lcdc.h
6135
0644
edit
dl
rm
sisfb.h
1261
0644
edit
dl
rm
sstfb.h
11306
0644
edit
dl
rm
tdfx.h
5445
0644
edit
dl
rm
tgafb.h
7106
0644
edit
dl
rm
trident.h
3312
0644
edit
dl
rm
udlfb.h
2849
0644
edit
dl
rm
uvesafb.h
2920
0644
edit
dl
rm
vga.h
14053
0644
edit
dl
rm
videomode.h
1379
0644
edit
dl
rm
w100fb.h
3805
0644
edit
dl
rm
Edit:
/usr/src/kernels/4.18.0-553.121.1.el8_10.x86_64/include/video/display_timing.h
(3188B)
/* * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de> * * description of display timings * * This file is released under the GPLv2 */ #ifndef __LINUX_DISPLAY_TIMING_H #define __LINUX_DISPLAY_TIMING_H #include <linux/bitops.h> #include <linux/types.h> enum display_flags { DISPLAY_FLAGS_HSYNC_LOW = BIT(0), DISPLAY_FLAGS_HSYNC_HIGH = BIT(1), DISPLAY_FLAGS_VSYNC_LOW = BIT(2), DISPLAY_FLAGS_VSYNC_HIGH = BIT(3), /* data enable flag */ DISPLAY_FLAGS_DE_LOW = BIT(4), DISPLAY_FLAGS_DE_HIGH = BIT(5), /* drive data on pos. edge */ DISPLAY_FLAGS_PIXDATA_POSEDGE = BIT(6), /* drive data on neg. edge */ DISPLAY_FLAGS_PIXDATA_NEGEDGE = BIT(7), DISPLAY_FLAGS_INTERLACED = BIT(8), DISPLAY_FLAGS_DOUBLESCAN = BIT(9), DISPLAY_FLAGS_DOUBLECLK = BIT(10), /* drive sync on pos. edge */ DISPLAY_FLAGS_SYNC_POSEDGE = BIT(11), /* drive sync on neg. edge */ DISPLAY_FLAGS_SYNC_NEGEDGE = BIT(12), }; /* * A single signal can be specified via a range of minimal and maximal values * with a typical value, that lies somewhere inbetween. */ struct timing_entry { u32 min; u32 typ; u32 max; }; /* * Single "mode" entry. This describes one set of signal timings a display can * have in one setting. This struct can later be converted to struct videomode * (see include/video/videomode.h). As each timing_entry can be defined as a * range, one struct display_timing may become multiple struct videomodes. * * Example: hsync active high, vsync active low * * Active Video * Video ______________________XXXXXXXXXXXXXXXXXXXXXX_____________________ * |<- sync ->|<- back ->|<----- active ----->|<- front ->|<- sync.. * | | porch | | porch | * * HSync _|¯¯¯¯¯¯¯¯¯¯|___________________________________________|¯¯¯¯¯¯¯¯¯ * * VSync ¯|__________|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|_________ */ struct display_timing { struct timing_entry pixelclock; struct timing_entry hactive; /* hor. active video */ struct timing_entry hfront_porch; /* hor. front porch */ struct timing_entry hback_porch; /* hor. back porch */ struct timing_entry hsync_len; /* hor. sync len */ struct timing_entry vactive; /* ver. active video */ struct timing_entry vfront_porch; /* ver. front porch */ struct timing_entry vback_porch; /* ver. back porch */ struct timing_entry vsync_len; /* ver. sync len */ enum display_flags flags; /* display flags */ }; /* * This describes all timing settings a display provides. * The native_mode is the default setting for this display. * Drivers that can handle multiple videomodes should work with this struct and * convert each entry to the desired end result. */ struct display_timings { unsigned int num_timings; unsigned int native_mode; struct display_timing **timings; }; /* get one entry from struct display_timings */ static inline struct display_timing *display_timings_get(const struct display_timings *disp, unsigned int index) { if (disp->num_timings > index) return disp->timings[index]; else return NULL; } void display_timings_release(struct display_timings *disp); #endif
Save
cmd:
run