Lines Matching refs:ENCODE_BIT

564 #define ENCODE_BIT(v, b1, m, b2) ((((v) >> (b1)) & (m)) << (b2))  in cyber2000fb_decode_crtc()  macro
584 hw->crtc[3] = ENCODE_BIT(Hblankend, 0, 0x1f, 0) | in cyber2000fb_decode_crtc()
585 ENCODE_BIT(1, 0, 0x01, 7); in cyber2000fb_decode_crtc()
589 hw->crtc[5] = ENCODE_BIT(Hsyncend, 0, 0x1f, 0) | in cyber2000fb_decode_crtc()
590 ENCODE_BIT(Hblankend, 5, 0x01, 7); in cyber2000fb_decode_crtc()
605 hw->crtc[7] = ENCODE_BIT(Vtotal, 8, 0x01, 0) | in cyber2000fb_decode_crtc()
606 ENCODE_BIT(Vdispend, 8, 0x01, 1) | in cyber2000fb_decode_crtc()
607 ENCODE_BIT(Vsyncstart, 8, 0x01, 2) | in cyber2000fb_decode_crtc()
608 ENCODE_BIT(Vblankstart, 8, 0x01, 3) | in cyber2000fb_decode_crtc()
609 ENCODE_BIT(1, 0, 0x01, 4) | in cyber2000fb_decode_crtc()
610 ENCODE_BIT(Vtotal, 9, 0x01, 5) | in cyber2000fb_decode_crtc()
611 ENCODE_BIT(Vdispend, 9, 0x01, 6) | in cyber2000fb_decode_crtc()
612 ENCODE_BIT(Vsyncstart, 9, 0x01, 7); in cyber2000fb_decode_crtc()
613 hw->crtc[9] = ENCODE_BIT(0, 0, 0x1f, 0) | in cyber2000fb_decode_crtc()
614 ENCODE_BIT(Vblankstart, 9, 0x01, 5) | in cyber2000fb_decode_crtc()
615 ENCODE_BIT(1, 0, 0x01, 6); in cyber2000fb_decode_crtc()
617 hw->crtc[11] = ENCODE_BIT(Vsyncend, 0, 0x0f, 0) | in cyber2000fb_decode_crtc()
618 ENCODE_BIT(1, 0, 0x01, 7); in cyber2000fb_decode_crtc()
630 ENCODE_BIT(Vtotal, 10, 0x01, 0) | in cyber2000fb_decode_crtc()
631 ENCODE_BIT(Vdispend, 10, 0x01, 1) | in cyber2000fb_decode_crtc()
632 ENCODE_BIT(Vsyncstart, 10, 0x01, 2) | in cyber2000fb_decode_crtc()
633 ENCODE_BIT(Vblankstart, 10, 0x01, 3) | in cyber2000fb_decode_crtc()