Searched refs:ENCODE_BIT (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/video/fbdev/ |
D | cyber2000fb.c | 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() [all …]
|