Searched refs:SetBitField (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/video/fbdev/nvidia/ |
D | nvidia.c | 333 state->crtc[0x3] = SetBitField(h_blank_e, 4: 0, 4:0) in nvidia_calc_regs() 336 state->crtc[0x5] = SetBitField(h_blank_e, 5: 5, 7:7) in nvidia_calc_regs() 337 | SetBitField(h_end, 4: 0, 4:0); in nvidia_calc_regs() 338 state->crtc[0x6] = SetBitField(v_total, 7: 0, 7:0); in nvidia_calc_regs() 339 state->crtc[0x7] = SetBitField(v_total, 8: 8, 0:0) in nvidia_calc_regs() 340 | SetBitField(v_display, 8: 8, 1:1) in nvidia_calc_regs() 341 | SetBitField(v_start, 8: 8, 2:2) in nvidia_calc_regs() 342 | SetBitField(v_blank_s, 8: 8, 3:3) in nvidia_calc_regs() 344 | SetBitField(v_total, 9: 9, 5:5) in nvidia_calc_regs() 345 | SetBitField(v_display, 9: 9, 6:6) in nvidia_calc_regs() [all …]
|
D | nv_type.h | 21 #define SetBitField(value,from,to) SetBF(to, GetBF(value,from)) macro
|
/Linux-v5.10/drivers/video/fbdev/riva/ |
D | fbdev.c | 83 #define SetBitField(value,from,to) SetBF(to,GetBF(value,from)) macro 723 newmode.crtc[0x3] = SetBitField (hBlankEnd, 4: 0, 4:0) | SetBit (7); in riva_load_video_mode() 725 newmode.crtc[0x5] = SetBitField (hBlankEnd, 5: 5, 7:7) in riva_load_video_mode() 726 | SetBitField (hEnd, 4: 0, 4:0); in riva_load_video_mode() 727 newmode.crtc[0x6] = SetBitField (vTotal, 7: 0, 7:0); in riva_load_video_mode() 728 newmode.crtc[0x7] = SetBitField (vTotal, 8: 8, 0:0) in riva_load_video_mode() 729 | SetBitField (vDisplay, 8: 8, 1:1) in riva_load_video_mode() 730 | SetBitField (vStart, 8: 8, 2:2) in riva_load_video_mode() 731 | SetBitField (vBlankStart, 8: 8, 3:3) in riva_load_video_mode() 733 | SetBitField (vTotal, 9: 9, 5:5) in riva_load_video_mode() [all …]
|