Lines Matching refs:acc_mask
540 uint32 acc_mask, crtc_mask; in eng_general_validate_pic_size() local
553 case B_CMAP8: acc_mask = 0x0f; depth = 8; break; in eng_general_validate_pic_size()
554 case B_RGB15: acc_mask = 0x07; depth = 16; break; in eng_general_validate_pic_size()
555 case B_RGB16: acc_mask = 0x07; depth = 16; break; in eng_general_validate_pic_size()
556 case B_RGB24: acc_mask = 0x0f; depth = 24; break; in eng_general_validate_pic_size()
557 case B_RGB32: acc_mask = 0x03; depth = 32; break; in eng_general_validate_pic_size()
685 if (acc_mask < crtc_mask) in eng_general_validate_pic_size()
688 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask); in eng_general_validate_pic_size()
709 if (target->virtual_width > (max_crtc_width & ~acc_mask)) in eng_general_validate_pic_size()
710 target->virtual_width = (max_crtc_width & ~acc_mask); in eng_general_validate_pic_size()
728 if (acc_mask < crtc_mask) in eng_general_validate_pic_size()
731 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask); in eng_general_validate_pic_size()