Lines Matching refs:timings
12 // Monitor has its own preferred timings. Use that
13 p->timings.interlace_mode = disp_timing->flags & MODE_FLAG_INTERLACED;
14 p->timings.pfreq = (disp_timing->pixel_clock_10khz * 10); // KHz
16 p->timings.pixel_repeat = 0;
17 p->timings.hactive = disp_timing->h_addressable;
18 p->timings.hblank = disp_timing->h_blanking;
19 p->timings.hfront = disp_timing->h_front_porch;
20 p->timings.hsync = disp_timing->h_sync_pulse;
21 p->timings.htotal = (p->timings.hactive) + (p->timings.hblank);
22 p->timings.hback = (p->timings.hblank) - (p->timings.hfront + p->timings.hsync);
23 p->timings.hpol = disp_timing->flags & MODE_FLAG_HSYNC_POSITIVE;
25 p->timings.vactive = disp_timing->v_addressable;
26 p->timings.vblank0 = disp_timing->v_blanking;
27 p->timings.vfront = disp_timing->v_front_porch;
28 p->timings.vsync = disp_timing->v_sync_pulse;
29 p->timings.vtotal = (p->timings.vactive) + (p->timings.vblank0);
30 p->timings.vback = (p->timings.vblank0) - (p->timings.vfront + p->timings.vsync);
31 p->timings.vpol = disp_timing->flags & MODE_FLAG_VSYNC_POSITIVE;
36 p->timings.venc_pixel_repeat = 0;
38 if (p->timings.interlace_mode) {
42 if (p->timings.vactive == 2160) {
45 if (p->timings.pfreq == 533250) {
48 p->timings.interlace_mode = 0;
49 p->timings.pfreq = (297000); // KHz
50 p->timings.pixel_repeat = 0;
51 p->timings.hactive = 3840;
52 p->timings.hblank = 560;
53 p->timings.hfront = 176;
54 p->timings.hsync = 88;
55 p->timings.htotal = (p->timings.hactive) + (p->timings.hblank);
56 p->timings.hback = (p->timings.hblank) -
57 (p->timings.hfront + p->timings.hsync);
58 p->timings.hpol = 1;
59 p->timings.vactive = 2160;
60 p->timings.vblank0 = 90;
61 p->timings.vfront = 8;
62 p->timings.vsync = 10;
63 p->timings.vtotal = (p->timings.vactive) + (p->timings.vblank0);
64 p->timings.vback = (p->timings.vblank0) -
65 (p->timings.vfront + p->timings.vsync);
66 p->timings.vpol = 1;
70 if (p->timings.pfreq > 500000) {
76 if (p->timings.hactive * 3 == p->timings.vactive * 4) {
78 } else if (p->timings.hactive * 9 == p->timings.vactive * 16) {
86 if (p->timings.pfreq > 500000) {
88 } else if (p->timings.pfreq > 200000) {
90 } else if (p->timings.pfreq > 100000) {
108 p->pll_p_24b.hpll_clk_out = (p->timings.pfreq * 10);