Home
last modified time | relevance | path

Searched refs:ENCODE_BIT (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/video/fbdev/
H A Dcyber2000fb.c557 #define ENCODE_BIT(v, b1, m, b2) ((((v) >> (b1)) & (m)) << (b2)) in cyber2000fb_decode_crtc() macro
577 hw->crtc[3] = ENCODE_BIT(Hblankend, 0, 0x1f, 0) | in cyber2000fb_decode_crtc()
578 ENCODE_BIT(1, 0, 0x01, 7); in cyber2000fb_decode_crtc()
582 hw->crtc[5] = ENCODE_BIT(Hsyncend, 0, 0x1f, 0) | in cyber2000fb_decode_crtc()
583 ENCODE_BIT(Hblankend, 5, 0x01, 7); in cyber2000fb_decode_crtc()
598 hw->crtc[7] = ENCODE_BIT(Vtotal, 8, 0x01, 0) | in cyber2000fb_decode_crtc()
599 ENCODE_BIT(Vdispend, 8, 0x01, 1) | in cyber2000fb_decode_crtc()
600 ENCODE_BIT(Vsyncstart, 8, 0x01, 2) | in cyber2000fb_decode_crtc()
601 ENCODE_BIT(Vblankstart, 8, 0x01, 3) | in cyber2000fb_decode_crtc()
602 ENCODE_BIT(1, 0, 0x01, 4) | in cyber2000fb_decode_crtc()
[all …]