Lines Matching +full:4 +full:x
28 #define DET_TIMINGS 4
41 #define V_WEEK (V_SERIAL + 4)
99 #define SECTION(x,y) (Uchar *)(x + y) argument
104 #define _PROD_ID(x) x[0] + (x[1] << 8); argument
106 #define _SERIAL_NO(x) x[0] + (x[1] << 8) + (x[2] << 16) + (x[3] << 24) argument
108 #define _YEAR(x) (x & 0xFF) + 1990 argument
111 #define _L1(x) ((x[0] & 0x7C) >> 2) + '@' argument
112 #define _L2(x) ((x[0] & 0x03) << 3) + ((x[1] & 0xE0) >> 5) + '@' argument
113 #define _L3(x) (x[1] & 0x1F) + '@'; argument
123 #define _INPUT_TYPE(x) ((x & 0x80) >> 7) argument
125 #define _INPUT_VOLTAGE(x) ((x & 0x60) >> 5) argument
127 #define _SETUP(x) ((x & 0x10) >> 4) argument
129 #define _SYNC(x) (x & 0x0F) argument
131 #define _DFP(x) (x & 0x01) argument
133 #define _BPC(x) ((x & 0x70) >> 4) argument
135 #define _DIGITAL_INTERFACE(x) (x & 0x0F) argument
137 #define _GAMMA(x) (x == 0xff ? 0.0 : ((x + 100.0)/100.0)) argument
141 #define _DPMS(x) ((x & 0xE0) >> 5) argument
143 #define _DISPLAY_TYPE(x) ((x & 0x18) >> 3) argument
145 #define _MSC(x) (x & 0x7) argument
149 #define CC_L(x,y) ((x & (0x03 << y)) >> y) argument
150 #define CC_H(x) (x << 2) argument
151 #define I_CC(x,y,z) CC_H(y) | CC_L(x,z) argument
152 #define F_CC(x) ((x)/1024.0) argument
154 #define REDY F_CC(I_CC((GET(D_RG_LOW)),(GET(D_REDY)),4))
158 #define BLUEY F_CC(I_CC((GET(D_BW_LOW)),(GET(D_BLUEY)),4))
168 #define _VALID_TIMING(x) !(((x[0] == 0x01) && (x[1] == 0x01)) \ argument
169 || ((x[0] == 0x00) && (x[1] == 0x00)) \
170 || ((x[0] == 0x20) && (x[1] == 0x20)) )
172 #define _HSIZE1(x) ((x[0] + 31) * 8) argument
174 #define RATIO(x) ((x[1] & 0xC0) >> 6) argument
181 #define _VSIZE1(x,y,r) switch(RATIO(x)){ \ argument
183 ? (_HSIZE1(x) * 10) / 16 : _HSIZE1(x)); break; \
184 case RATIO4_3: y = _HSIZE1(x) * 3 / 4; break; \
185 case RATIO5_4: y = _HSIZE1(x) * 4 / 5; break; \
186 case RATIO16_9: y = _HSIZE1(x) * 9 / 16; break; \
188 #define VSIZE1(x) _VSIZE1(c,x,v) argument
189 #define _REFRESH_R(x) (x[1] & 0x3F) + 60 argument
191 #define _ID_LOW(x) x[0] argument
193 #define _ID_HIGH(x) (x[1] << 8) argument
196 #define _NEXT_STD_TIMING(x) (x = (x + STD_TIMING_INFO_LEN)) argument
207 #define _IS_MONITOR_DESC(x) (x[0] == 0 && x[1] == 0) argument
209 #define _PIXEL_CLOCK(x) (x[0] + (x[1] << 8)) * 10000 argument
211 #define _H_ACTIVE(x) (x[2] + ((x[4] & 0xF0) << 4)) argument
213 #define _H_BLANK(x) (x[3] + ((x[4] & 0x0F) << 8)) argument
215 #define _V_ACTIVE(x) (x[5] + ((x[7] & 0xF0) << 4)) argument
217 #define _V_BLANK(x) (x[6] + ((x[7] & 0x0F) << 8)) argument
219 #define _H_SYNC_OFF(x) (x[8] + ((x[11] & 0xC0) << 2)) argument
221 #define _H_SYNC_WIDTH(x) (x[9] + ((x[11] & 0x30) << 4)) argument
223 #define _V_SYNC_OFF(x) ((x[10] >> 4) + ((x[11] & 0x0C) << 2)) argument
225 #define _V_SYNC_WIDTH(x) ((x[10] & 0x0F) + ((x[11] & 0x03) << 4)) argument
227 #define _H_SIZE(x) (x[12] + ((x[14] & 0xF0) << 4)) argument
229 #define _V_SIZE(x) (x[13] + ((x[14] & 0x0F) << 8)) argument
231 #define _H_BORDER(x) (x[15]) argument
233 #define _V_BORDER(x) (x[16]) argument
235 #define _INTERLACED(x) ((x[17] & 0x80) >> 7) argument
237 #define _STEREO(x) ((x[17] & 0x60) >> 5) argument
239 #define _STEREO1(x) (x[17] & 0x1) argument
241 #define _SYNC_T(x) ((x[17] & 0x18) >> 3) argument
243 #define _MISC(x) ((x[17] & 0x06) >> 1) argument
246 #define _MONITOR_DESC_TYPE(x) x[3] argument
251 #define _MIN_V_OFFSET(x) ((!!(x[4] & 0x01)) * 255) argument
252 #define _MAX_V_OFFSET(x) ((!!(x[4] & 0x02)) * 255) argument
253 #define _MIN_H_OFFSET(x) ((!!(x[4] & 0x04)) * 255) argument
254 #define _MAX_H_OFFSET(x) ((!!(x[4] & 0x08)) * 255) argument
255 #define _MIN_V(x) x[5] argument
257 #define _MAX_V(x) x[6] argument
259 #define _MIN_H(x) x[7] argument
261 #define _MAX_H(x) x[8] argument
263 #define _MAX_CLOCK(x) x[9] argument
265 #define _DEFAULT_GTF(x) (x[10] == 0x00) argument
267 #define _RANGE_LIMITS_ONLY(x) (x[10] == 0x01) argument
269 #define _HAVE_2ND_GTF(x) (x[10] == 0x02) argument
271 #define _F_2ND_GTF(x) (x[12] * 2) argument
273 #define _C_2ND_GTF(x) (x[13] / 2) argument
275 #define _M_2ND_GTF(x) (x[14] + (x[15] << 8)) argument
277 #define _K_2ND_GTF(x) (x[16]) argument
279 #define _J_2ND_GTF(x) (x[17] / 2) argument
281 #define _HAVE_CVT(x) (x[10] == 0x04) argument
283 #define _MAX_CLOCK_KHZ(x) (x[12] >> 2) argument
285 #define _MAXWIDTH(x) ((x[13] == 0 ? 0 : x[13] + ((x[12] & 0x03) << 8)) * 8) argument
287 #define _SUPPORTED_ASPECT(x) x[14] argument
294 #define _PREFERRED_ASPECT(x) ((x[15] & 0xe0) >> 5) argument
300 #define PREFERRED_ASPECT_15_9 4
301 #define _SUPPORTED_BLANKING(x) ((x[15] & 0x18) >> 3) argument
305 #define _SUPPORTED_SCALING(x) ((x[16] & 0xf0) >> 4) argument
311 #define _PREFERRED_REFRESH(x) x[17] argument
318 #define _WHITEX_ADD(x,y) F_CC(I_CC(((*(x + y))),(*(x + y + 1)),2)) argument
319 #define _WHITEY_ADD(x,y) F_CC(I_CC(((*(x + y))),(*(x + y + 2)),0)) argument
320 #define _WHITE_INDEX1(x) x[5] argument
322 #define _WHITE_INDEX2(x) x[10] argument
328 #define _WHITE_GAMMA1(x) _GAMMA(x[9]) argument
330 #define _WHITE_GAMMA2(x) _GAMMA(x[14]) argument
338 #define _NEXT_DT_MD_SECTION(x) (x = (x + DET_TIMING_INFO_LEN)) argument
344 #define DIGITAL(x) x argument
347 #define DFP1(x) x argument
356 #define SIG_SETUP(x) (x) argument
359 #define SEP_SYNC(x) (x & 0x08) argument
360 #define COMP_SYNC(x) (x & 0x04) argument
361 #define SYNC_O_GREEN(x) (x & 0x02) argument
362 #define SYNC_SERR(x) (x & 0x01) argument
365 #define DPMS_STANDBY(x) (x & 0x04) argument
366 #define DPMS_SUSPEND(x) (x & 0x02) argument
367 #define DPMS_OFF(x) (x & 0x01) argument
379 #define STD_COLOR_SPACE(x) (x & 0x4) argument
380 #define PREFERRED_TIMING_MODE(x) (x & 0x2) argument
381 #define GFT_SUPPORTED(x) (x & 0x1) argument
382 #define GTF_SUPPORTED(x) (x & 0x1) argument
383 #define CVT_SUPPORTED(x) (x & 0x1) argument
386 #define IS_INTERLACED(x) (x) argument
387 #define IS_STEREO(x) (x) argument
388 #define IS_RIGHT_STEREO(x) (x & 0x01) argument
389 #define IS_LEFT_STEREO(x) (x & 0x02) argument
390 #define IS_4WAY_STEREO(x) (x & 0x03) argument
391 #define IS_RIGHT_ON_SYNC(x) IS_RIGHT_STEREO(x) argument
392 #define IS_LEFT_ON_SYNC(x) IS_LEFT_STEREO(x) argument
398 char name[4];
417 unsigned int input_interface:4;
485 * Display range limit Descriptor of EDID version1, reversion 4
491 DR_CVT_SUPPORTED = 4,
546 struct cvt_timings cvt[4]; /* 64 */
567 struct detailed_monitor_section det_mon[4];
583 #define CEA_EXT_MIN_DATA_OFFSET 4
591 #define CEA_SPEAKER_ALLOC_BLK 4
593 #define VENDOR_SUPPORT_AI(x) ((x) >> 7) argument
594 #define VENDOR_SUPPORT_DC_48bit(x) ( ( (x) >> 6) & 0x01) argument
595 #define VENDOR_SUPPORT_DC_36bit(x) ( ( (x) >> 5) & 0x01) argument
596 #define VENDOR_SUPPORT_DC_30bit(x) ( ( (x) >> 4) & 0x01) argument
597 #define VENDOR_SUPPORT_DC_Y444(x) ( ( (x) >> 3) & 0x01) argument
598 #define VENDOR_LATENCY_PRESENT(x) ( (x) >> 7) argument
599 #define VENDOR_LATENCY_PRESENT_I(x) ( ( (x) >> 6) & 0x01) argument
615 Uchar portB:4;
616 Uchar portA:4;
617 Uchar portD:4;
618 Uchar portC:4;