Home
last modified time | relevance | path

Searched refs:scaler (Results 1 – 30 of 30) sorted by relevance

/linux-4.4.14/drivers/media/platform/s3c-camif/
Dcamif-core.c152 struct camif_scaler *scaler) in s3c_camif_get_scaler_config() argument
164 ret = camif_get_scaler_factor(source_x, target_x, &scaler->pre_h_ratio, in s3c_camif_get_scaler_config()
165 &scaler->h_shift); in s3c_camif_get_scaler_config()
169 ret = camif_get_scaler_factor(source_y, target_y, &scaler->pre_v_ratio, in s3c_camif_get_scaler_config()
170 &scaler->v_shift); in s3c_camif_get_scaler_config()
174 scaler->pre_dst_width = source_x / scaler->pre_h_ratio; in s3c_camif_get_scaler_config()
175 scaler->pre_dst_height = source_y / scaler->pre_v_ratio; in s3c_camif_get_scaler_config()
177 scaler->main_h_ratio = (source_x << 8) / (target_x << scaler->h_shift); in s3c_camif_get_scaler_config()
178 scaler->main_v_ratio = (source_y << 8) / (target_y << scaler->v_shift); in s3c_camif_get_scaler_config()
180 scaler->scaleup_h = (target_x >= source_x); in s3c_camif_get_scaler_config()
[all …]
Dcamif-regs.c367 struct camif_scaler *sc = &vp->scaler; in camif_hw_set_prescaler()
385 struct camif_scaler *scaler = &vp->scaler; in camif_s3c244x_hw_set_scaler() local
396 if (scaler->enable) { in camif_s3c244x_hw_set_scaler()
397 if (scaler->scaleup_h) { in camif_s3c244x_hw_set_scaler()
403 if (scaler->scaleup_v) { in camif_s3c244x_hw_set_scaler()
414 cfg |= ((scaler->main_h_ratio & 0x1ff) << 16); in camif_s3c244x_hw_set_scaler()
415 cfg |= scaler->main_v_ratio & 0x1ff; in camif_s3c244x_hw_set_scaler()
426 scaler->main_h_ratio, scaler->main_v_ratio); in camif_s3c244x_hw_set_scaler()
432 struct camif_scaler *scaler = &vp->scaler; in camif_s3c64xx_hw_set_scaler() local
449 if (!scaler->enable) { in camif_s3c64xx_hw_set_scaler()
[all …]
Dcamif-core.h225 struct camif_scaler scaler; member
340 struct camif_scaler *scaler);
Dcamif-capture.c49 WARN_ON(s3c_camif_get_scaler_config(vp, &vp->scaler)); in camif_cfg_video_path()
411 camif_hw_enable_scaler(vp, vp->scaler.enable); in start_streaming()
520 camif_hw_enable_scaler(vp, vp->scaler.enable); in buffer_queue()
1458 struct camif_scaler scaler; in s3c_camif_subdev_set_selection() local
1477 scaler = vp->scaler; in s3c_camif_subdev_set_selection()
1478 if (s3c_camif_get_scaler_config(vp, &scaler)) in s3c_camif_subdev_set_selection()
1480 vp->scaler = scaler; in s3c_camif_subdev_set_selection()
1654 vp->scaler.enable = 1; in s3c_camif_set_defaults()
/linux-4.4.14/drivers/pwm/
Dpwm-bcm2835.c32 unsigned long scaler; member
76 writel(duty_ns / pc->scaler, pc->base + DUTY(pwm->hwpwm)); in bcm2835_pwm_config()
77 writel(period_ns / pc->scaler, pc->base + PERIOD(pwm->hwpwm)); in bcm2835_pwm_config()
159 pc->scaler = NSEC_PER_SEC / clk_get_rate(pc->clk); in bcm2835_pwm_probe()
/linux-4.4.14/drivers/tty/serial/
Dapbuart.h13 u32 scaler; member
50 #define APBBASE_SCALAR_P(port) (&(APBBASE(port)->scaler))
/linux-4.4.14/drivers/video/fbdev/exynos/
Dexynos_mipi_dsi_common.c471 unsigned int scaler) in exynos_mipi_dsi_change_pll() argument
522 dpll_out = dfvco / (1 << scaler); in exynos_mipi_dsi_change_pll()
524 dpll_out, dfvco, scaler); in exynos_mipi_dsi_change_pll()
535 exynos_mipi_dsi_pll_freq(dsim, pre_divider, main_divider, scaler); in exynos_mipi_dsi_change_pll()
Dexynos_mipi_dsi_lowlevel.h61 unsigned int scaler);
Dexynos_mipi_dsi_lowlevel.c329 unsigned int scaler) in exynos_mipi_dsi_pll_freq() argument
335 (scaler & 0x7) << 1; in exynos_mipi_dsi_pll_freq()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-reg.c237 struct fimc_scaler *sc = &ctx->scaler; in fimc_hw_set_prescaler()
253 struct fimc_scaler *sc = &ctx->scaler; in fimc_hw_set_scaler()
318 struct fimc_scaler *sc = &ctx->scaler; in fimc_hw_set_mainscaler()
357 if (ctx->scaler.enabled) in fimc_hw_enable_capture()
792 fimc_hw_enable_scaler(ctx->fimc_dev, ctx->scaler.enabled); in fimc_activate_capture()
Dfimc-core.h496 struct fimc_scaler scaler; member
Dfimc-core.c222 if (!ctx->scaler.enabled) in fimc_check_scaler_ratio()
253 struct fimc_scaler *sc = &ctx->scaler; in fimc_set_scaler_info()
Dfimc-m2m.c648 ctx->scaler.enabled = 1; in fimc_m2m_open()
Dfimc-capture.c1015 ctx->scaler.enabled = !jpeg; in fimc_capture_mark_jpeg_xfer()
/linux-4.4.14/Documentation/devicetree/bindings/reserved-memory/
Dreserved-memory.txt124 scaler: scaler@12500000 {
/linux-4.4.14/arch/sparc/include/asm/
Dleon_amba.h120 u32 scaler; member
/linux-4.4.14/drivers/media/i2c/smiapp/
Dsmiapp.h198 struct smiapp_subdev *scaler; member
Dsmiapp-core.c1442 sensor->scaler->crop[SMIAPP_PAD_SINK].left); in smiapp_start_streaming()
1448 sensor->scaler->crop[SMIAPP_PAD_SINK].top); in smiapp_start_streaming()
1454 sensor->scaler->crop[SMIAPP_PAD_SINK].width); in smiapp_start_streaming()
1460 sensor->scaler->crop[SMIAPP_PAD_SINK].height); in smiapp_start_streaming()
1697 if (ssd == sensor->scaler) { in smiapp_propagate()
2088 if (ssd == sensor->scaler in __smiapp_sel_supported()
2105 if (ssd == sensor->scaler in __smiapp_sel_supported()
2476 sensor->scaler, in smiapp_register_subdevs()
2682 sensor->scaler = &sensor->ssds[sensor->ssds_used]; in smiapp_init()
2686 sensor->scaler = &sensor->ssds[sensor->ssds_used]; in smiapp_init()
[all …]
/linux-4.4.14/drivers/media/platform/exynos-gsc/
Dgsc-regs.c349 struct gsc_scaler *sc = &ctx->scaler; in gsc_hw_set_prescaler()
361 struct gsc_scaler *sc = &ctx->scaler; in gsc_hw_set_mainscaler()
Dgsc-core.h371 struct gsc_scaler scaler; member
Dgsc-core.c637 struct gsc_scaler *sc = &ctx->scaler; in gsc_set_scaler_info()
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dsamsung-fimc.txt61 0 - scaler input horizontal size,
62 1 - input horizontal size for the scaler bypassed,
/linux-4.4.14/drivers/net/can/
Dgrcan.c413 int bpr, rsj, ps1, ps2, scaler; in grcan_set_bittiming() local
425 scaler = (bt->brp - 1); in grcan_set_bittiming()
427 bpr, rsj, ps1, ps2, scaler); in grcan_set_bittiming()
443 timing |= (scaler << GRCAN_CONF_SCALER_BIT) & GRCAN_CONF_SCALER; in grcan_set_bittiming()
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000.h264 int scaler; member
Dtm6000-core.c304 if (dev->scaler) in tm6000_init_analog_mode()
/linux-4.4.14/Documentation/video4linux/
Dvivid.txt195 picture. The scaler of the vivid driver can enlarge up
196 or down to four times the original size. The scaler is
218 buffer. The scaler of the vivid driver can enlarge up
219 or down to four times the original size. The scaler is
682 Enable Capture Scaler: enables support for a scaler (maximum 4 times upscaling
712 Enable Output Scaler: enables support for a scaler (maximum 4 times upscaling
976 The minimum and maximum resolutions that the scaler can achieve are 16x16 and
978 less. So for a source resolution of 1280x720 the minimum the scaler can do is
985 The scaler is a simple scaler that uses the Coarse Bresenham algorithm. It's
/linux-4.4.14/arch/arm/boot/dts/
Dexynos5420.dtsi720 gsc_0: video-scaler@13e00000 {
730 gsc_1: video-scaler@13e10000 {
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dexynos5433-clock.txt41 which generates clocks for M2M (Memory to Memory) scaler and JPEG IPs.
/linux-4.4.14/drivers/media/i2c/
DKconfig343 with high quality down scaler.
/linux-4.4.14/Documentation/networking/
Dcan.txt1103 bitrate pre-scaler and the CAN system clock frequency in Hz.