/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-core.c | 152 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 …]
|
D | camif-regs.c | 367 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 …]
|
D | camif-core.h | 225 struct camif_scaler scaler; member 340 struct camif_scaler *scaler);
|
D | camif-capture.c | 49 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/ |
D | pwm-bcm2835.c | 32 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/ |
D | apbuart.h | 13 u32 scaler; member 50 #define APBBASE_SCALAR_P(port) (&(APBBASE(port)->scaler))
|
/linux-4.4.14/drivers/video/fbdev/exynos/ |
D | exynos_mipi_dsi_common.c | 471 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()
|
D | exynos_mipi_dsi_lowlevel.h | 61 unsigned int scaler);
|
D | exynos_mipi_dsi_lowlevel.c | 329 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/ |
D | fimc-reg.c | 237 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()
|
D | fimc-core.h | 496 struct fimc_scaler scaler; member
|
D | fimc-core.c | 222 if (!ctx->scaler.enabled) in fimc_check_scaler_ratio() 253 struct fimc_scaler *sc = &ctx->scaler; in fimc_set_scaler_info()
|
D | fimc-m2m.c | 648 ctx->scaler.enabled = 1; in fimc_m2m_open()
|
D | fimc-capture.c | 1015 ctx->scaler.enabled = !jpeg; in fimc_capture_mark_jpeg_xfer()
|
/linux-4.4.14/Documentation/devicetree/bindings/reserved-memory/ |
D | reserved-memory.txt | 124 scaler: scaler@12500000 {
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | leon_amba.h | 120 u32 scaler; member
|
/linux-4.4.14/drivers/media/i2c/smiapp/ |
D | smiapp.h | 198 struct smiapp_subdev *scaler; member
|
D | smiapp-core.c | 1442 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/ |
D | gsc-regs.c | 349 struct gsc_scaler *sc = &ctx->scaler; in gsc_hw_set_prescaler() 361 struct gsc_scaler *sc = &ctx->scaler; in gsc_hw_set_mainscaler()
|
D | gsc-core.h | 371 struct gsc_scaler scaler; member
|
D | gsc-core.c | 637 struct gsc_scaler *sc = &ctx->scaler; in gsc_set_scaler_info()
|
/linux-4.4.14/Documentation/devicetree/bindings/media/ |
D | samsung-fimc.txt | 61 0 - scaler input horizontal size, 62 1 - input horizontal size for the scaler bypassed,
|
/linux-4.4.14/drivers/net/can/ |
D | grcan.c | 413 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/ |
D | tm6000.h | 264 int scaler; member
|
D | tm6000-core.c | 304 if (dev->scaler) in tm6000_init_analog_mode()
|
/linux-4.4.14/Documentation/video4linux/ |
D | vivid.txt | 195 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/ |
D | exynos5420.dtsi | 720 gsc_0: video-scaler@13e00000 { 730 gsc_1: video-scaler@13e10000 {
|
/linux-4.4.14/Documentation/devicetree/bindings/clock/ |
D | exynos5433-clock.txt | 41 which generates clocks for M2M (Memory to Memory) scaler and JPEG IPs.
|
/linux-4.4.14/drivers/media/i2c/ |
D | Kconfig | 343 with high quality down scaler.
|
/linux-4.4.14/Documentation/networking/ |
D | can.txt | 1103 bitrate pre-scaler and the CAN system clock frequency in Hz.
|