Lines Matching refs:val
42 static inline void smtc_crtcw(int reg, int val)
45 smtc_mmiowb(val, 0x3d5);
48 static inline void smtc_grphw(int reg, int val)
51 smtc_mmiowb(val, 0x3cf);
54 static inline void smtc_attrw(int reg, int val)
59 smtc_mmiowb(val, 0x3c0);
62 static inline void smtc_seqw(int reg, int val)
65 smtc_mmiowb(val, 0x3c5);
96 #define pal_rgb(r, g, b, val) (((r & 0xf800) >> 8) | \
106 #define pal_rgb(r, g, b, val) val