Home
last modified time | relevance | path

Searched refs:yscale (Results 1 – 11 of 11) 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/
Dintel_overlay.c598 u32 xscale, yscale, xscale_UV, yscale_UV; in update_scaling_factors() local
612 yscale = ((params->src_scan_h - 1) << FP_SHIFT) in update_scaling_factors()
615 yscale = 1 << FP_SHIFT; in update_scaling_factors()
619 yscale_UV = yscale/uv_vscale; in update_scaling_factors()
622 yscale = yscale_UV * uv_vscale; in update_scaling_factors()
628 if (xscale != overlay->old_xscale || yscale != overlay->old_yscale) in update_scaling_factors()
631 overlay->old_yscale = yscale; in update_scaling_factors()
633 iowrite32(((yscale & FRACT_MASK) << 20) | in update_scaling_factors()
643 iowrite32((((yscale >> FP_SHIFT) << 16) | in update_scaling_factors()
/drivers/media/pci/saa7134/
Dsaa7134-video.c526 static void set_v_scale(struct saa7134_dev *dev, int task, int yscale) in set_v_scale() argument
530 saa_writeb(SAA7134_V_SCALE_RATIO1(task), yscale & 0xff); in set_v_scale()
531 saa_writeb(SAA7134_V_SCALE_RATIO2(task), yscale >> 8); in set_v_scale()
534 if (yscale < 2048) { in set_v_scale()
536 video_dbg("yscale LPI yscale=%d\n", yscale); in set_v_scale()
542 val = 0x40 * 1024 / yscale; in set_v_scale()
543 video_dbg("yscale ACM yscale=%d val=0x%x\n", yscale, val); in set_v_scale()
554 int prescale,xscale,yscale,y_even,y_odd; in set_size() local
577 yscale = 512 * div * dev->crop_current.height / height; in set_size()
579 prescale, xscale, yscale); in set_size()
[all …]
/drivers/media/i2c/
Dsaa717x.c864 static void set_v_scale(struct v4l2_subdev *sd, int task, int yscale) in set_v_scale() argument
870 saa717x_write(sd, 0x70 + task_shift, yscale & 0xff); in set_v_scale()
872 saa717x_write(sd, 0x71 + task_shift, yscale >> 8); in set_v_scale()
/drivers/iio/adc/
Dat91_adc.c290 unsigned int xscale, yscale, reg, z1, z2; in at91_ts_sample() local
315 yscale = (reg >> 16) & xyz_mask; in at91_ts_sample()
316 if (yscale == 0) { in at91_ts_sample()
320 y /= yscale; in at91_ts_sample()
334 xpos, xscale, ypos, yscale, z1, z2, pres); in at91_ts_sample()
/drivers/video/fbdev/
Dau1200fb.c127 unsigned int yscale; member