Lines Matching refs:ENCODE_BIT
557 #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()
603 ENCODE_BIT(Vtotal, 9, 0x01, 5) | in cyber2000fb_decode_crtc()
604 ENCODE_BIT(Vdispend, 9, 0x01, 6) | in cyber2000fb_decode_crtc()
605 ENCODE_BIT(Vsyncstart, 9, 0x01, 7); in cyber2000fb_decode_crtc()
606 hw->crtc[9] = ENCODE_BIT(0, 0, 0x1f, 0) | in cyber2000fb_decode_crtc()
607 ENCODE_BIT(Vblankstart, 9, 0x01, 5) | in cyber2000fb_decode_crtc()
608 ENCODE_BIT(1, 0, 0x01, 6); in cyber2000fb_decode_crtc()
610 hw->crtc[11] = ENCODE_BIT(Vsyncend, 0, 0x0f, 0) | in cyber2000fb_decode_crtc()
611 ENCODE_BIT(1, 0, 0x01, 7); in cyber2000fb_decode_crtc()
623 ENCODE_BIT(Vtotal, 10, 0x01, 0) | in cyber2000fb_decode_crtc()
624 ENCODE_BIT(Vdispend, 10, 0x01, 1) | in cyber2000fb_decode_crtc()
625 ENCODE_BIT(Vsyncstart, 10, 0x01, 2) | in cyber2000fb_decode_crtc()
626 ENCODE_BIT(Vblankstart, 10, 0x01, 3) | in cyber2000fb_decode_crtc()