Lines Matching full:scaler
364 struct camif_scaler *sc = &vp->scaler; in camif_hw_set_prescaler()
382 struct camif_scaler *scaler = &vp->scaler; in camif_s3c244x_hw_set_scaler() local
393 if (scaler->enable) { in camif_s3c244x_hw_set_scaler()
394 if (scaler->scaleup_h) { in camif_s3c244x_hw_set_scaler()
400 if (scaler->scaleup_v) { in camif_s3c244x_hw_set_scaler()
411 cfg |= ((scaler->main_h_ratio & 0x1ff) << 16); in camif_s3c244x_hw_set_scaler()
412 cfg |= scaler->main_v_ratio & 0x1ff; in camif_s3c244x_hw_set_scaler()
423 scaler->main_h_ratio, scaler->main_v_ratio); in camif_s3c244x_hw_set_scaler()
429 struct camif_scaler *scaler = &vp->scaler; in camif_s3c64xx_hw_set_scaler() local
446 if (!scaler->enable) { in camif_s3c64xx_hw_set_scaler()
449 if (scaler->scaleup_h) in camif_s3c64xx_hw_set_scaler()
451 if (scaler->scaleup_v) in camif_s3c64xx_hw_set_scaler()
453 if (scaler->copy) in camif_s3c64xx_hw_set_scaler()
466 cfg |= (scaler->main_h_ratio & 0x1ff) << 16; in camif_s3c64xx_hw_set_scaler()
467 cfg |= scaler->main_v_ratio & 0x1ff; in camif_s3c64xx_hw_set_scaler()
472 scaler->main_h_ratio, scaler->main_v_ratio); in camif_s3c64xx_hw_set_scaler()
522 if (vp->scaler.enable) in camif_hw_enable_capture()