Lines Matching defs:target

578 status_t eng_general_validate_pic_size (display_mode *target, uint32 *bytes_per_row, bool *acc_mode)
591 switch (target->space)
599 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
608 switch (target->space)
616 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
643 switch (target->space)
651 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
659 /* switch (target->space)
667 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
679 switch(target->space)
687 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
694 switch(target->space)
702 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
711 switch(target->space)
719 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
741 switch(target->space)
749 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
757 /* switch(target->space)
765 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
779 if (target->virtual_width > max_acc_width) *acc_mode = false;
783 if (target->virtual_height > 4096) *acc_mode = false;
786 if (target->virtual_width > max_crtc_width) target->virtual_width = max_crtc_width;
790 if (target->virtual_height > 65535) target->virtual_height = 65535;
799 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
801 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask);
804 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
814 if (target->virtual_height > 4096) *acc_mode = false;
820 if (target->virtual_width > (max_crtc_width & ~acc_mask))
821 target->virtual_width = (max_crtc_width & ~acc_mask);
825 if (target->virtual_width > max_crtc_width)
826 target->virtual_width = max_crtc_width;
831 if (target->virtual_height > 65535) target->virtual_height = 65535;
840 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
842 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask);
845 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
849 video_pitch, target->space));
850 if (target->virtual_width != video_pitch)
852 (video_pitch - target->virtual_width)));