Home
last modified time | relevance | path

Searched refs:yscale (Results 1 – 12 of 12) sorted by relevance

/drivers/clk/spear/
Dspear1340_clock.c267 {.xscale = 5, .yscale = 122, .eq = 0},
269 {.xscale = 10, .yscale = 204, .eq = 0},
271 {.xscale = 4, .yscale = 25, .eq = 0},
273 {.xscale = 4, .yscale = 21, .eq = 0},
275 {.xscale = 5, .yscale = 18, .eq = 0},
277 {.xscale = 2, .yscale = 6, .eq = 0},
279 {.xscale = 5, .yscale = 12, .eq = 0},
281 {.xscale = 2, .yscale = 4, .eq = 0},
283 {.xscale = 5, .yscale = 18, .eq = 1},
285 {.xscale = 1, .yscale = 3, .eq = 1},
[all …]
Dspear1310_clock.c255 {.xscale = 10, .yscale = 204, .eq = 0}, /* 12.29 MHz */
256 {.xscale = 4, .yscale = 21, .eq = 0}, /* 48 MHz */
257 {.xscale = 2, .yscale = 6, .eq = 0}, /* 83 MHz */
258 {.xscale = 2, .yscale = 4, .eq = 0}, /* 125 MHz */
259 {.xscale = 1, .yscale = 3, .eq = 1}, /* 166 MHz */
260 {.xscale = 1, .yscale = 2, .eq = 1}, /* 250 MHz */
266 {.xscale = 2, .yscale = 6, .eq = 0}, /* divided by 6 */
267 {.xscale = 2, .yscale = 4, .eq = 0}, /* divided by 4 */
268 {.xscale = 1, .yscale = 3, .eq = 1}, /* divided by 3 */
269 {.xscale = 1, .yscale = 2, .eq = 1}, /* divided by 2 */
[all …]
Dspear3xx_clock.c109 {.xscale = 1, .yscale = 81, .eq = 0}, /* 2.049 MHz */
110 {.xscale = 1, .yscale = 59, .eq = 0}, /* 2.822 MHz */
111 {.xscale = 2, .yscale = 81, .eq = 0}, /* 4.098 MHz */
112 {.xscale = 3, .yscale = 89, .eq = 0}, /* 5.644 MHz */
113 {.xscale = 4, .yscale = 81, .eq = 0}, /* 8.197 MHz */
114 {.xscale = 4, .yscale = 59, .eq = 0}, /* 11.254 MHz */
115 {.xscale = 2, .yscale = 27, .eq = 0}, /* 12.296 MHz */
116 {.xscale = 2, .yscale = 8, .eq = 0}, /* 41.5 MHz */
117 {.xscale = 2, .yscale = 4, .eq = 0}, /* 83 MHz */
118 {.xscale = 1, .yscale = 2, .eq = 1}, /* 166 MHz */
Dspear6xx_clock.c93 {.xscale = 2, .yscale = 27, .eq = 0}, /* 12.296 MHz */
94 {.xscale = 2, .yscale = 8, .eq = 0}, /* 41.5 MHz */
95 {.xscale = 2, .yscale = 4, .eq = 0}, /* 83 MHz */
96 {.xscale = 1, .yscale = 2, .eq = 1}, /* 166 MHz */
Dclk-aux-synth.c52 (rtbl[index].yscale * eq)) * 10000; in aux_calc_rate()
121 val |= (rtbl[i].yscale & aux->masks->yscale_sel_mask) << in clk_aux_set_rate()
Dclk.h45 u16 yscale; member
/drivers/gpu/drm/i915/display/
Dintel_overlay.c615 u32 xscale, yscale, xscale_UV, yscale_UV; in update_scaling_factors() local
629 yscale = ((params->src_scan_height - 1) << FP_SHIFT) / in update_scaling_factors()
632 yscale = 1 << FP_SHIFT; in update_scaling_factors()
636 yscale_UV = yscale/uv_vscale; in update_scaling_factors()
639 yscale = yscale_UV * uv_vscale; in update_scaling_factors()
645 if (xscale != overlay->old_xscale || yscale != overlay->old_yscale) in update_scaling_factors()
648 overlay->old_yscale = yscale; in update_scaling_factors()
650 iowrite32(((yscale & FRACT_MASK) << 20) | in update_scaling_factors()
660 iowrite32((((yscale >> FP_SHIFT) << 16) | in update_scaling_factors()
/drivers/media/pci/saa7134/
Dsaa7134-video.c499 static void set_v_scale(struct saa7134_dev *dev, int task, int yscale) in set_v_scale() argument
503 saa_writeb(SAA7134_V_SCALE_RATIO1(task), yscale & 0xff); in set_v_scale()
504 saa_writeb(SAA7134_V_SCALE_RATIO2(task), yscale >> 8); in set_v_scale()
507 if (yscale < 2048) { in set_v_scale()
509 video_dbg("yscale LPI yscale=%d\n", yscale); in set_v_scale()
515 val = 0x40 * 1024 / yscale; in set_v_scale()
516 video_dbg("yscale ACM yscale=%d val=0x%x\n", yscale, val); in set_v_scale()
527 int prescale,xscale,yscale,y_even,y_odd; in set_size() local
550 yscale = 512 * div * dev->crop_current.height / height; in set_size()
552 prescale, xscale, yscale); in set_size()
[all …]
/drivers/media/i2c/
Dsaa717x.c851 static void set_v_scale(struct v4l2_subdev *sd, int task, int yscale) in set_v_scale() argument
857 saa717x_write(sd, 0x70 + task_shift, yscale & 0xff); in set_v_scale()
859 saa717x_write(sd, 0x71 + task_shift, yscale >> 8); in set_v_scale()
/drivers/iio/adc/
Dat91_adc.c293 unsigned int xscale, yscale, reg, z1, z2; in at91_ts_sample() local
317 yscale = (reg >> 16) & xyz_mask; in at91_ts_sample()
318 if (yscale == 0) { in at91_ts_sample()
322 y /= yscale; in at91_ts_sample()
336 xpos, xscale, ypos, yscale, z1, z2, pres); in at91_ts_sample()
/drivers/media/platform/
Dimx-pxp.c733 u32 decx, decy, xscale, yscale; in pxp_start() local
860 yscale = (src_height >> decy) * 0x1000 / dst_height; in pxp_start()
862 yscale = (src_height - 1) * 0x1000 / (dst_height - 1); in pxp_start()
863 ps_scale = BF_PXP_PS_SCALE_YSCALE(yscale) | in pxp_start()
/drivers/video/fbdev/
Dau1200fb.c128 unsigned int yscale; member