Lines Matching refs:crtc_mask
1927 uint32 acc_mask, crtc_mask; in nv_general_validate_pic_size() local
1999 case B_CMAP8: crtc_mask = 0x0f; break; /* 0x07 */ in nv_general_validate_pic_size()
2000 case B_RGB15: crtc_mask = 0x07; break; /* 0x03 */ in nv_general_validate_pic_size()
2001 case B_RGB16: crtc_mask = 0x07; break; /* 0x03 */ in nv_general_validate_pic_size()
2002 case B_RGB24: crtc_mask = 0x0f; break; /* 0x07 */ in nv_general_validate_pic_size()
2003 case B_RGB32: crtc_mask = 0x03; break; /* 0x01 */ in nv_general_validate_pic_size()
2143 if (acc_mask < crtc_mask) in nv_general_validate_pic_size()
2144 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask); in nv_general_validate_pic_size()
2149 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask); in nv_general_validate_pic_size()
2184 if (acc_mask < crtc_mask) in nv_general_validate_pic_size()
2185 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask); in nv_general_validate_pic_size()
2190 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask); in nv_general_validate_pic_size()