scaler 121 arch/sparc/include/asm/leon_amba.h u32 scaler; scaler 282 drivers/gpu/drm/amd/display/dc/inc/core_types.h uint32_t scaler : 1; scaler 1079 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct fixed31_32 scaler = max_os; scaler 1090 drivers/gpu/drm/amd/display/modules/color/color_gamma.c scaler = max_driver; scaler 1100 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ramp->entries.red[i], scaler); scaler 1102 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ramp->entries.green[i], scaler); scaler 1104 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ramp->entries.blue[i], scaler); scaler 1210 drivers/gpu/drm/amd/display/modules/color/color_gamma.c unsigned short scaler = max_os; scaler 1220 drivers/gpu/drm/amd/display/modules/color/color_gamma.c scaler = max_driver; scaler 1229 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ramp->gamma[i], scaler); scaler 1231 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ramp->gamma[i + 256], scaler); scaler 1233 drivers/gpu/drm/amd/display/modules/color/color_gamma.c ramp->gamma[i + 512], scaler); scaler 738 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c struct komeda_scaler *scaler; scaler 743 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c c = komeda_component_add(&d71->pipes[pipe_id]->base, sizeof(*scaler), scaler 755 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c scaler = to_scaler(c); scaler 756 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c set_range(&scaler->hsize, 4, 2048); scaler 757 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c set_range(&scaler->vsize, 4, 4096); scaler 758 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c scaler->max_downscaling = 6; scaler 759 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c scaler->max_upscaling = 64; scaler 760 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c scaler->scaling_split_overlap = 8; scaler 761 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c scaler->enh_split_overlap = 1; scaler 426 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_scaler_check_cfg(struct komeda_scaler *scaler, scaler 438 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (!in_range(&scaler->hsize, hsize_in) || scaler 439 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c !in_range(&scaler->hsize, hsize_out)) { scaler 444 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (!in_range(&scaler->vsize, vsize_in) || scaler 445 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c !in_range(&scaler->vsize, vsize_out)) { scaler 456 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c max_upscaling = scaler->max_upscaling; scaler 459 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c scaler->max_downscaling)) { scaler 465 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c scaler->max_downscaling)) { scaler 471 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_pipeline *pipe = scaler->base.pipeline; scaler 494 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_scaler *scaler; scaler 500 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c scaler = komeda_component_get_avail_scaler(dflow->input.component, scaler 502 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (!scaler) { scaler 507 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c err = komeda_scaler_check_cfg(scaler, kcrtc_st, dflow); scaler 511 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c c_st = komeda_component_get_state_and_set_user(&scaler->base, scaler 536 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&dflow->input, &scaler->base, 0); scaler 540 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c static void komeda_split_data_flow(struct komeda_scaler *scaler, scaler 791 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_scaler *scaler = layer->base.pipeline->scalers[0]; scaler 816 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (dflow->en_scaling && scaler) scaler 817 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c dflow->en_split = !in_range(&scaler->hsize, dflow->in_w) || scaler 818 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c !in_range(&scaler->hsize, dflow->out_w); scaler 893 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c static void komeda_split_data_flow(struct komeda_scaler *scaler, scaler 910 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (dflow->en_scaling && scaler) scaler 911 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c overlap += scaler->scaling_split_overlap; scaler 918 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (dflow->en_img_enhancement && scaler) scaler 919 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c overlap += scaler->enh_split_overlap; scaler 91 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c struct komeda_scaler *scaler) scaler 99 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c st->base.component = &scaler->base; scaler 101 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c &scaler->base.obj, &st->base.obj, scaler 26 drivers/gpu/drm/exynos/exynos_drm_scaler.c #define scaler_read(offset) readl(scaler->regs + (offset)) scaler 27 drivers/gpu/drm/exynos/exynos_drm_scaler.c #define scaler_write(cfg, offset) writel(cfg, scaler->regs + (offset)) scaler 92 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline int scaler_reset(struct scaler_context *scaler) scaler 109 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_enable_int(struct scaler_context *scaler) scaler 142 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_src_fmt(struct scaler_context *scaler, scaler 151 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_src_base(struct scaler_context *scaler, scaler 165 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_src_span(struct scaler_context *scaler, scaler 179 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_src_luma_chroma_pos(struct scaler_context *scaler, scaler 195 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_src_wh(struct scaler_context *scaler, scaler 205 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_dst_fmt(struct scaler_context *scaler, scaler 214 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_dst_base(struct scaler_context *scaler, scaler 228 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_dst_span(struct scaler_context *scaler, scaler 242 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_dst_luma_pos(struct scaler_context *scaler, scaler 252 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_dst_wh(struct scaler_context *scaler, scaler 262 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_hv_ratio(struct scaler_context *scaler, scaler 284 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_rotation(struct scaler_context *scaler, scaler 302 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_csc(struct scaler_context *scaler, scaler 340 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_set_timer(struct scaler_context *scaler, scaler 351 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_start_hw(struct scaler_context *scaler) scaler 359 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct scaler_context *scaler = scaler 369 drivers/gpu/drm/exynos/exynos_drm_scaler.c pm_runtime_get_sync(scaler->dev); scaler 370 drivers/gpu/drm/exynos/exynos_drm_scaler.c if (scaler_reset(scaler)) { scaler 371 drivers/gpu/drm/exynos/exynos_drm_scaler.c pm_runtime_put(scaler->dev); scaler 375 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->task = task; scaler 378 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler, src_fmt->internal_fmt, task->src.buf.modifier != 0); scaler 379 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_src_base(scaler, &task->src); scaler 380 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_src_span(scaler, &task->src); scaler 381 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_src_luma_chroma_pos(scaler, src_pos, src_fmt); scaler 382 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_src_wh(scaler, src_pos); scaler 384 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_dst_fmt(scaler, dst_fmt->internal_fmt); scaler 385 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_dst_base(scaler, &task->dst); scaler 386 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_dst_span(scaler, &task->dst); scaler 387 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_dst_luma_pos(scaler, dst_pos); scaler 388 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_dst_wh(scaler, dst_pos); scaler 390 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_hv_ratio(scaler, task->transform.rotation, src_pos, dst_pos); scaler 391 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_rotation(scaler, task->transform.rotation); scaler 393 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_csc(scaler, task->src.format); scaler 395 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_timer(scaler, 0xffff, 0xf); scaler 397 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_enable_int(scaler); scaler 398 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_start_hw(scaler); scaler 407 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline void scaler_disable_int(struct scaler_context *scaler) scaler 412 drivers/gpu/drm/exynos/exynos_drm_scaler.c static inline u32 scaler_get_int_status(struct scaler_context *scaler) scaler 428 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct scaler_context *scaler = arg; scaler 430 drivers/gpu/drm/exynos/exynos_drm_scaler.c u32 val = scaler_get_int_status(scaler); scaler 432 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_disable_int(scaler); scaler 434 drivers/gpu/drm/exynos/exynos_drm_scaler.c if (scaler->task) { scaler 435 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct exynos_drm_ipp_task *task = scaler->task; scaler 437 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->task = NULL; scaler 438 drivers/gpu/drm/exynos/exynos_drm_scaler.c pm_runtime_mark_last_busy(scaler->dev); scaler 439 drivers/gpu/drm/exynos/exynos_drm_scaler.c pm_runtime_put_autosuspend(scaler->dev); scaler 448 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct scaler_context *scaler = dev_get_drvdata(dev); scaler 450 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct exynos_drm_ipp *ipp = &scaler->ipp; scaler 452 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->drm_dev = drm_dev; scaler 454 drivers/gpu/drm/exynos/exynos_drm_scaler.c exynos_drm_register_dma(drm_dev, dev, &scaler->dma_priv); scaler 459 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->scaler_data->formats, scaler 460 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->scaler_data->num_formats, "scaler"); scaler 470 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct scaler_context *scaler = dev_get_drvdata(dev); scaler 471 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct exynos_drm_ipp *ipp = &scaler->ipp; scaler 474 drivers/gpu/drm/exynos/exynos_drm_scaler.c exynos_drm_unregister_dma(scaler->drm_dev, scaler->dev, scaler 475 drivers/gpu/drm/exynos/exynos_drm_scaler.c &scaler->dma_priv); scaler 487 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct scaler_context *scaler; scaler 491 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler = devm_kzalloc(dev, sizeof(*scaler), GFP_KERNEL); scaler 492 drivers/gpu/drm/exynos/exynos_drm_scaler.c if (!scaler) scaler 495 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->scaler_data = scaler 498 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->dev = dev; scaler 500 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->regs = devm_ioremap_resource(dev, regs_res); scaler 501 drivers/gpu/drm/exynos/exynos_drm_scaler.c if (IS_ERR(scaler->regs)) scaler 502 drivers/gpu/drm/exynos/exynos_drm_scaler.c return PTR_ERR(scaler->regs); scaler 511 drivers/gpu/drm/exynos/exynos_drm_scaler.c IRQF_ONESHOT, "drm_scaler", scaler); scaler 517 drivers/gpu/drm/exynos/exynos_drm_scaler.c for (i = 0; i < scaler->scaler_data->num_clk; ++i) { scaler 518 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->clock[i] = devm_clk_get(dev, scaler 519 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->scaler_data->clk_name[i]); scaler 520 drivers/gpu/drm/exynos/exynos_drm_scaler.c if (IS_ERR(scaler->clock[i])) { scaler 522 drivers/gpu/drm/exynos/exynos_drm_scaler.c return PTR_ERR(scaler->clock[i]); scaler 529 drivers/gpu/drm/exynos/exynos_drm_scaler.c platform_set_drvdata(pdev, scaler); scaler 563 drivers/gpu/drm/exynos/exynos_drm_scaler.c static int scaler_clk_ctrl(struct scaler_context *scaler, bool enable) scaler 569 drivers/gpu/drm/exynos/exynos_drm_scaler.c for (i = 0; i < scaler->scaler_data->num_clk; ++i) scaler 570 drivers/gpu/drm/exynos/exynos_drm_scaler.c clk_fun(scaler->clock[i]); scaler 577 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct scaler_context *scaler = dev_get_drvdata(dev); scaler 579 drivers/gpu/drm/exynos/exynos_drm_scaler.c return scaler_clk_ctrl(scaler, false); scaler 584 drivers/gpu/drm/exynos/exynos_drm_scaler.c struct scaler_context *scaler = dev_get_drvdata(dev); scaler 586 drivers/gpu/drm/exynos/exynos_drm_scaler.c return scaler_clk_ctrl(scaler, true); scaler 15026 drivers/gpu/drm/i915/display/intel_display.c struct intel_scaler *scaler = &scaler_state->scalers[i]; scaler 15028 drivers/gpu/drm/i915/display/intel_display.c scaler->in_use = 0; scaler 15029 drivers/gpu/drm/i915/display/intel_display.c scaler->mode = 0; scaler 366 drivers/gpu/drm/i915/display/intel_sprite.c const struct intel_scaler *scaler = scaler 402 drivers/gpu/drm/i915/display/intel_sprite.c PS_SCALER_EN | PS_PLANE_SEL(plane->id) | scaler->mode); scaler 317 drivers/gpu/drm/nouveau/dispnv50/disp.c asyc->scaler.full = false; scaler 321 drivers/gpu/drm/nouveau/dispnv50/disp.c if (asyc->scaler.mode == DRM_MODE_SCALE_NONE) { scaler 334 drivers/gpu/drm/nouveau/dispnv50/disp.c asyc->scaler.full = true; scaler 114 drivers/gpu/drm/nouveau/dispnv50/head.c int mode = asyc->scaler.mode; scaler 123 drivers/gpu/drm/nouveau/dispnv50/head.c if (!asyc->scaler.full) { scaler 148 drivers/gpu/drm/nouveau/dispnv50/head.c if ((asyc->scaler.underscan.mode == UNDERSCAN_ON || scaler 149 drivers/gpu/drm/nouveau/dispnv50/head.c (asyc->scaler.underscan.mode == UNDERSCAN_AUTO && scaler 151 drivers/gpu/drm/nouveau/dispnv50/head.c u32 bX = asyc->scaler.underscan.hborder; scaler 152 drivers/gpu/drm/nouveau/dispnv50/head.c u32 bY = asyc->scaler.underscan.vborder; scaler 317 drivers/gpu/drm/nouveau/dispnv50/head.c asyc->set.scaler = true; scaler 341 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyc->set.scaler) scaler 107 drivers/gpu/drm/nouveau/nouveau_connector.c *val = asyc->scaler.mode; scaler 109 drivers/gpu/drm/nouveau/nouveau_connector.c *val = asyc->scaler.underscan.mode; scaler 111 drivers/gpu/drm/nouveau/nouveau_connector.c *val = asyc->scaler.underscan.hborder; scaler 113 drivers/gpu/drm/nouveau/nouveau_connector.c *val = asyc->scaler.underscan.vborder; scaler 168 drivers/gpu/drm/nouveau/nouveau_connector.c if (asyc->scaler.mode != val) { scaler 169 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->scaler.mode = val; scaler 170 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->set.scaler = true; scaler 174 drivers/gpu/drm/nouveau/nouveau_connector.c if (asyc->scaler.underscan.mode != val) { scaler 175 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->scaler.underscan.mode = val; scaler 176 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->set.scaler = true; scaler 180 drivers/gpu/drm/nouveau/nouveau_connector.c if (asyc->scaler.underscan.hborder != val) { scaler 181 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->scaler.underscan.hborder = val; scaler 182 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->set.scaler = true; scaler 186 drivers/gpu/drm/nouveau/nouveau_connector.c if (asyc->scaler.underscan.vborder != val) { scaler 187 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->scaler.underscan.vborder = val; scaler 188 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->set.scaler = true; scaler 239 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->scaler = armc->scaler; scaler 266 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->scaler.mode = DRM_MODE_SCALE_NONE; scaler 267 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->scaler.underscan.mode = UNDERSCAN_OFF; scaler 275 drivers/gpu/drm/nouveau/nouveau_connector.c asyc->scaler.mode = DRM_MODE_SCALE_FULLSCREEN; scaler 337 drivers/gpu/drm/nouveau/nouveau_connector.c armc->scaler.mode); scaler 782 drivers/gpu/drm/nouveau/nouveau_connector.c nv_connector->scaling_mode = asyc->scaler.mode; scaler 85 drivers/gpu/drm/nouveau/nouveau_connector.h } scaler; scaler 95 drivers/gpu/drm/nouveau/nouveau_connector.h bool scaler:1; scaler 1440 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler->crop[SMIAPP_PAD_SINK].left); scaler 1446 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler->crop[SMIAPP_PAD_SINK].top); scaler 1452 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler->crop[SMIAPP_PAD_SINK].width); scaler 1458 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler->crop[SMIAPP_PAD_SINK].height); scaler 1708 drivers/media/i2c/smiapp/smiapp-core.c if (ssd == sensor->scaler) { scaler 2097 drivers/media/i2c/smiapp/smiapp-core.c if (ssd == sensor->scaler scaler 2114 drivers/media/i2c/smiapp/smiapp-core.c if (ssd == sensor->scaler scaler 2558 drivers/media/i2c/smiapp/smiapp-core.c if (sensor->scaler) { scaler 2560 drivers/media/i2c/smiapp/smiapp-core.c sensor, sensor->binner, sensor->scaler, scaler 3037 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler = &sensor->ssds[sensor->ssds_used]; scaler 3041 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler = &sensor->ssds[sensor->ssds_used]; scaler 3060 drivers/media/i2c/smiapp/smiapp-core.c smiapp_create_subdev(sensor, sensor->scaler, " scaler", 2); scaler 178 drivers/media/i2c/smiapp/smiapp.h struct smiapp_subdev *scaler; scaler 636 drivers/media/platform/exynos-gsc/gsc-core.c struct gsc_scaler *sc = &ctx->scaler; scaler 363 drivers/media/platform/exynos-gsc/gsc-core.h struct gsc_scaler scaler; scaler 345 drivers/media/platform/exynos-gsc/gsc-regs.c struct gsc_scaler *sc = &ctx->scaler; scaler 357 drivers/media/platform/exynos-gsc/gsc-regs.c struct gsc_scaler *sc = &ctx->scaler; scaler 1008 drivers/media/platform/exynos4-is/fimc-capture.c ctx->scaler.enabled = !jpeg; scaler 198 drivers/media/platform/exynos4-is/fimc-core.c if (!ctx->scaler.enabled) scaler 229 drivers/media/platform/exynos4-is/fimc-core.c struct fimc_scaler *sc = &ctx->scaler; scaler 490 drivers/media/platform/exynos4-is/fimc-core.h struct fimc_scaler scaler; scaler 649 drivers/media/platform/exynos4-is/fimc-m2m.c ctx->scaler.enabled = 1; scaler 234 drivers/media/platform/exynos4-is/fimc-reg.c struct fimc_scaler *sc = &ctx->scaler; scaler 250 drivers/media/platform/exynos4-is/fimc-reg.c struct fimc_scaler *sc = &ctx->scaler; scaler 315 drivers/media/platform/exynos4-is/fimc-reg.c struct fimc_scaler *sc = &ctx->scaler; scaler 354 drivers/media/platform/exynos4-is/fimc-reg.c if (ctx->scaler.enabled) scaler 789 drivers/media/platform/exynos4-is/fimc-reg.c fimc_hw_enable_scaler(ctx->fimc_dev, ctx->scaler.enabled); scaler 46 drivers/media/platform/s3c-camif/camif-capture.c WARN_ON(s3c_camif_get_scaler_config(vp, &vp->scaler)); scaler 410 drivers/media/platform/s3c-camif/camif-capture.c camif_hw_enable_scaler(vp, vp->scaler.enable); scaler 506 drivers/media/platform/s3c-camif/camif-capture.c camif_hw_enable_scaler(vp, vp->scaler.enable); scaler 1440 drivers/media/platform/s3c-camif/camif-capture.c struct camif_scaler scaler; scaler 1459 drivers/media/platform/s3c-camif/camif-capture.c scaler = vp->scaler; scaler 1460 drivers/media/platform/s3c-camif/camif-capture.c if (s3c_camif_get_scaler_config(vp, &scaler)) scaler 1462 drivers/media/platform/s3c-camif/camif-capture.c vp->scaler = scaler; scaler 1636 drivers/media/platform/s3c-camif/camif-capture.c vp->scaler.enable = 1; scaler 143 drivers/media/platform/s3c-camif/camif-core.c struct camif_scaler *scaler) scaler 155 drivers/media/platform/s3c-camif/camif-core.c ret = camif_get_scaler_factor(source_x, target_x, &scaler->pre_h_ratio, scaler 156 drivers/media/platform/s3c-camif/camif-core.c &scaler->h_shift); scaler 160 drivers/media/platform/s3c-camif/camif-core.c ret = camif_get_scaler_factor(source_y, target_y, &scaler->pre_v_ratio, scaler 161 drivers/media/platform/s3c-camif/camif-core.c &scaler->v_shift); scaler 165 drivers/media/platform/s3c-camif/camif-core.c scaler->pre_dst_width = source_x / scaler->pre_h_ratio; scaler 166 drivers/media/platform/s3c-camif/camif-core.c scaler->pre_dst_height = source_y / scaler->pre_v_ratio; scaler 168 drivers/media/platform/s3c-camif/camif-core.c scaler->main_h_ratio = (source_x << 8) / (target_x << scaler->h_shift); scaler 169 drivers/media/platform/s3c-camif/camif-core.c scaler->main_v_ratio = (source_y << 8) / (target_y << scaler->v_shift); scaler 171 drivers/media/platform/s3c-camif/camif-core.c scaler->scaleup_h = (target_x >= source_x); scaler 172 drivers/media/platform/s3c-camif/camif-core.c scaler->scaleup_v = (target_y >= source_y); scaler 174 drivers/media/platform/s3c-camif/camif-core.c scaler->copy = 0; scaler 177 drivers/media/platform/s3c-camif/camif-core.c scaler->pre_h_ratio, scaler->h_shift, scaler 178 drivers/media/platform/s3c-camif/camif-core.c scaler->pre_v_ratio, scaler->v_shift); scaler 182 drivers/media/platform/s3c-camif/camif-core.c scaler->scaleup_h, scaler->scaleup_v); scaler 221 drivers/media/platform/s3c-camif/camif-core.h struct camif_scaler scaler; scaler 334 drivers/media/platform/s3c-camif/camif-core.h struct camif_scaler *scaler); scaler 364 drivers/media/platform/s3c-camif/camif-regs.c struct camif_scaler *sc = &vp->scaler; scaler 382 drivers/media/platform/s3c-camif/camif-regs.c struct camif_scaler *scaler = &vp->scaler; scaler 393 drivers/media/platform/s3c-camif/camif-regs.c if (scaler->enable) { scaler 394 drivers/media/platform/s3c-camif/camif-regs.c if (scaler->scaleup_h) { scaler 400 drivers/media/platform/s3c-camif/camif-regs.c if (scaler->scaleup_v) { scaler 411 drivers/media/platform/s3c-camif/camif-regs.c cfg |= ((scaler->main_h_ratio & 0x1ff) << 16); scaler 412 drivers/media/platform/s3c-camif/camif-regs.c cfg |= scaler->main_v_ratio & 0x1ff; scaler 423 drivers/media/platform/s3c-camif/camif-regs.c scaler->main_h_ratio, scaler->main_v_ratio); scaler 429 drivers/media/platform/s3c-camif/camif-regs.c struct camif_scaler *scaler = &vp->scaler; scaler 446 drivers/media/platform/s3c-camif/camif-regs.c if (!scaler->enable) { scaler 449 drivers/media/platform/s3c-camif/camif-regs.c if (scaler->scaleup_h) scaler 451 drivers/media/platform/s3c-camif/camif-regs.c if (scaler->scaleup_v) scaler 453 drivers/media/platform/s3c-camif/camif-regs.c if (scaler->copy) scaler 466 drivers/media/platform/s3c-camif/camif-regs.c cfg |= (scaler->main_h_ratio & 0x1ff) << 16; scaler 467 drivers/media/platform/s3c-camif/camif-regs.c cfg |= scaler->main_v_ratio & 0x1ff; scaler 472 drivers/media/platform/s3c-camif/camif-regs.c scaler->main_h_ratio, scaler->main_v_ratio); scaler 522 drivers/media/platform/s3c-camif/camif-regs.c if (vp->scaler.enable) scaler 290 drivers/media/usb/tm6000/tm6000-core.c if (dev->scaler) scaler 251 drivers/media/usb/tm6000/tm6000.h int scaler; scaler 409 drivers/net/can/grcan.c int bpr, rsj, ps1, ps2, scaler; scaler 421 drivers/net/can/grcan.c scaler = (bt->brp - 1); scaler 423 drivers/net/can/grcan.c bpr, rsj, ps1, ps2, scaler); scaler 439 drivers/net/can/grcan.c timing |= (scaler << GRCAN_CONF_SCALER_BIT) & GRCAN_CONF_SCALER; scaler 66 drivers/pwm/pwm-bcm2835.c unsigned long scaler; scaler 74 drivers/pwm/pwm-bcm2835.c scaler = DIV_ROUND_CLOSEST(NSEC_PER_SEC, rate); scaler 75 drivers/pwm/pwm-bcm2835.c period = DIV_ROUND_CLOSEST(period_ns, scaler); scaler 80 drivers/pwm/pwm-bcm2835.c writel(DIV_ROUND_CLOSEST(duty_ns, scaler), scaler 1056 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_osys_scaler scaler[IPU3_UAPI_MAX_STRIPES]; scaler 876 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_abi_osys_scaler_params *scaler = scaler 877 drivers/staging/media/ipu3/ipu3-css-params.c &osys->scaler[s].param; scaler 882 drivers/staging/media/ipu3/ipu3-css-params.c scaler->inp_buf_y_st_addr = IMGU_VMEM1_INP_BUF_ADDR; scaler 890 drivers/staging/media/ipu3/ipu3-css-params.c scaler->inp_buf_y_line_stride = IMGU_VMEM1_Y_STRIDE; scaler 899 drivers/staging/media/ipu3/ipu3-css-params.c scaler->inp_buf_y_buffer_stride = IMGU_VMEM1_BUF_SIZE; scaler 900 drivers/staging/media/ipu3/ipu3-css-params.c scaler->inp_buf_u_st_addr = IMGU_VMEM1_INP_BUF_ADDR + scaler 902 drivers/staging/media/ipu3/ipu3-css-params.c scaler->inp_buf_v_st_addr = IMGU_VMEM1_INP_BUF_ADDR + scaler 904 drivers/staging/media/ipu3/ipu3-css-params.c scaler->inp_buf_uv_line_stride = IMGU_VMEM1_UV_STRIDE; scaler 905 drivers/staging/media/ipu3/ipu3-css-params.c scaler->inp_buf_uv_buffer_stride = IMGU_VMEM1_BUF_SIZE; scaler 906 drivers/staging/media/ipu3/ipu3-css-params.c scaler->inp_buf_chunk_width = stripe_params[s].chunk_width; scaler 907 drivers/staging/media/ipu3/ipu3-css-params.c scaler->inp_buf_nr_buffers = IMGU_OSYS_NUM_INPUT_BUFFERS; scaler 910 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_buf_y_st_addr = IMGU_VMEM1_INT_BUF_ADDR; scaler 911 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_buf_y_line_stride = stripe_params[s].block_width / scaler 913 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_buf_y_buffer_stride = IMGU_VMEM1_BUF_SIZE; scaler 914 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_buf_u_st_addr = IMGU_VMEM1_INT_BUF_ADDR + scaler 916 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_buf_v_st_addr = IMGU_VMEM1_INT_BUF_ADDR + scaler 918 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_buf_uv_line_stride = stripe_params[s].block_width / scaler 920 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_buf_uv_buffer_stride = IMGU_VMEM1_BUF_SIZE; scaler 921 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_buf_nr_buffers = IMGU_OSYS_NUM_INTERM_BUFFERS; scaler 924 drivers/staging/media/ipu3/ipu3-css-params.c scaler->int_buf_y_st_addr = IMGU_VMEM2_BUF_Y_ADDR; scaler 925 drivers/staging/media/ipu3/ipu3-css-params.c scaler->int_buf_y_line_stride = IMGU_VMEM2_BUF_Y_STRIDE; scaler 926 drivers/staging/media/ipu3/ipu3-css-params.c scaler->int_buf_u_st_addr = IMGU_VMEM2_BUF_U_ADDR; scaler 927 drivers/staging/media/ipu3/ipu3-css-params.c scaler->int_buf_v_st_addr = IMGU_VMEM2_BUF_V_ADDR; scaler 928 drivers/staging/media/ipu3/ipu3-css-params.c scaler->int_buf_uv_line_stride = IMGU_VMEM2_BUF_UV_STRIDE; scaler 929 drivers/staging/media/ipu3/ipu3-css-params.c scaler->int_buf_height = IMGU_VMEM2_LINES_PER_BLOCK; scaler 930 drivers/staging/media/ipu3/ipu3-css-params.c scaler->int_buf_chunk_width = stripe_params[s].chunk_height; scaler 931 drivers/staging/media/ipu3/ipu3-css-params.c scaler->int_buf_chunk_height = stripe_params[s].block_width; scaler 934 drivers/staging/media/ipu3/ipu3-css-params.c scaler->ctx_buf_hor_y_st_addr = IMGU_VMEM3_HOR_Y_ADDR; scaler 935 drivers/staging/media/ipu3/ipu3-css-params.c scaler->ctx_buf_hor_u_st_addr = IMGU_VMEM3_HOR_U_ADDR; scaler 936 drivers/staging/media/ipu3/ipu3-css-params.c scaler->ctx_buf_hor_v_st_addr = IMGU_VMEM3_HOR_V_ADDR; scaler 937 drivers/staging/media/ipu3/ipu3-css-params.c scaler->ctx_buf_ver_y_st_addr = IMGU_VMEM3_VER_Y_ADDR; scaler 938 drivers/staging/media/ipu3/ipu3-css-params.c scaler->ctx_buf_ver_u_st_addr = IMGU_VMEM3_VER_U_ADDR; scaler 939 drivers/staging/media/ipu3/ipu3-css-params.c scaler->ctx_buf_ver_v_st_addr = IMGU_VMEM3_VER_V_ADDR; scaler 942 drivers/staging/media/ipu3/ipu3-css-params.c scaler->release_inp_buf_addr = fifo_addr_ack; scaler 943 drivers/staging/media/ipu3/ipu3-css-params.c scaler->release_inp_buf_en = 1; scaler 944 drivers/staging/media/ipu3/ipu3-css-params.c scaler->release_out_buf_en = 1; scaler 945 drivers/staging/media/ipu3/ipu3-css-params.c scaler->process_out_buf_addr = fifo_addr_fmt; scaler 948 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_y_width = stripe_params[s].input_width; scaler 949 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_y_height = stripe_params[s].input_height; scaler 950 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_y_start_column = scaler 952 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_uv_start_column = scaler 954 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_y_left_pad = stripe_params[s].pad_left_y; scaler 955 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_uv_left_pad = stripe_params[s].pad_left_uv; scaler 956 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_y_right_pad = stripe_params[s].pad_right_y; scaler 957 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_uv_right_pad = scaler 959 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_y_top_pad = stripe_params[s].pad_top_y; scaler 960 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_uv_top_pad = stripe_params[s].pad_top_uv; scaler 961 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_y_bottom_pad = scaler 963 drivers/staging/media/ipu3/ipu3-css-params.c scaler->input_image_uv_bottom_pad = scaler 965 drivers/staging/media/ipu3/ipu3-css-params.c scaler->processing_mode = stripe_params[s].processing_mode; scaler 966 drivers/staging/media/ipu3/ipu3-css-params.c scaler->scaling_ratio = stripe_params[s].phase_step; scaler 967 drivers/staging/media/ipu3/ipu3-css-params.c scaler->y_left_phase_init = stripe_params[s].phase_init_left_y; scaler 968 drivers/staging/media/ipu3/ipu3-css-params.c scaler->uv_left_phase_init = scaler 970 drivers/staging/media/ipu3/ipu3-css-params.c scaler->y_top_phase_init = stripe_params[s].phase_init_top_y; scaler 971 drivers/staging/media/ipu3/ipu3-css-params.c scaler->uv_top_phase_init = stripe_params[s].phase_init_top_uv; scaler 972 drivers/staging/media/ipu3/ipu3-css-params.c scaler->coeffs_exp_shift = stripe_params[s].exp_shift; scaler 973 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_y_left_crop = stripe_params[s].crop_left_y; scaler 974 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_uv_left_crop = stripe_params[s].crop_left_uv; scaler 975 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_y_top_crop = stripe_params[s].crop_top_y; scaler 976 drivers/staging/media/ipu3/ipu3-css-params.c scaler->out_uv_top_crop = stripe_params[s].crop_top_uv; scaler 14 drivers/tty/serial/apbuart.h u32 scaler; scaler 51 drivers/tty/serial/apbuart.h #define APBBASE_SCALAR_P(port) (&(APBBASE(port)->scaler))