/drivers/clk/spear/ |
D | spear1340_clock.c | 264 {.xscale = 5, .yscale = 122, .eq = 0}, 266 {.xscale = 10, .yscale = 204, .eq = 0}, 268 {.xscale = 4, .yscale = 25, .eq = 0}, 270 {.xscale = 4, .yscale = 21, .eq = 0}, 272 {.xscale = 5, .yscale = 18, .eq = 0}, 274 {.xscale = 2, .yscale = 6, .eq = 0}, 276 {.xscale = 5, .yscale = 12, .eq = 0}, 278 {.xscale = 2, .yscale = 4, .eq = 0}, 280 {.xscale = 5, .yscale = 18, .eq = 1}, 282 {.xscale = 1, .yscale = 3, .eq = 1}, [all …]
|
D | spear1310_clock.c | 252 {.xscale = 10, .yscale = 204, .eq = 0}, /* 12.29 MHz */ 253 {.xscale = 4, .yscale = 21, .eq = 0}, /* 48 MHz */ 254 {.xscale = 2, .yscale = 6, .eq = 0}, /* 83 MHz */ 255 {.xscale = 2, .yscale = 4, .eq = 0}, /* 125 MHz */ 256 {.xscale = 1, .yscale = 3, .eq = 1}, /* 166 MHz */ 257 {.xscale = 1, .yscale = 2, .eq = 1}, /* 250 MHz */ 263 {.xscale = 2, .yscale = 6, .eq = 0}, /* divided by 6 */ 264 {.xscale = 2, .yscale = 4, .eq = 0}, /* divided by 4 */ 265 {.xscale = 1, .yscale = 3, .eq = 1}, /* divided by 3 */ 266 {.xscale = 1, .yscale = 2, .eq = 1}, /* divided by 2 */ [all …]
|
D | spear3xx_clock.c | 107 {.xscale = 1, .yscale = 81, .eq = 0}, /* 2.049 MHz */ 108 {.xscale = 1, .yscale = 59, .eq = 0}, /* 2.822 MHz */ 109 {.xscale = 2, .yscale = 81, .eq = 0}, /* 4.098 MHz */ 110 {.xscale = 3, .yscale = 89, .eq = 0}, /* 5.644 MHz */ 111 {.xscale = 4, .yscale = 81, .eq = 0}, /* 8.197 MHz */ 112 {.xscale = 4, .yscale = 59, .eq = 0}, /* 11.254 MHz */ 113 {.xscale = 2, .yscale = 27, .eq = 0}, /* 12.296 MHz */ 114 {.xscale = 2, .yscale = 8, .eq = 0}, /* 41.5 MHz */ 115 {.xscale = 2, .yscale = 4, .eq = 0}, /* 83 MHz */ 116 {.xscale = 1, .yscale = 2, .eq = 1}, /* 166 MHz */
|
D | spear6xx_clock.c | 91 {.xscale = 2, .yscale = 27, .eq = 0}, /* 12.296 MHz */ 92 {.xscale = 2, .yscale = 8, .eq = 0}, /* 41.5 MHz */ 93 {.xscale = 2, .yscale = 4, .eq = 0}, /* 83 MHz */ 94 {.xscale = 1, .yscale = 2, .eq = 1}, /* 166 MHz */
|
D | clk-aux-synth.c | 49 (rtbl[index].yscale * eq)) * 10000; in aux_calc_rate() 118 val |= (rtbl[i].yscale & aux->masks->yscale_sel_mask) << in clk_aux_set_rate()
|
D | clk.h | 42 u16 yscale; member
|
/drivers/video/fbdev/omap/ |
D | lcd_dma.c | 63 int xscale, yscale; member 122 void omap_set_lcd_dma_b1_scale(unsigned int xscale, unsigned int yscale) in omap_set_lcd_dma_b1_scale() argument 129 lcd_dma.yscale = yscale; in omap_set_lcd_dma_b1_scale() 141 unsigned int xscale, yscale; in set_b1_regs() local 160 yscale = lcd_dma.yscale ? lcd_dma.yscale : 1; in set_b1_regs() 164 ((y) * vxres * yscale + (x) * xscale) * es) in set_b1_regs() 271 lcd_dma.vxres || lcd_dma.xscale || lcd_dma.yscale)) in set_b1_regs() 323 lcd_dma.yscale = 0; in omap_request_lcd_dma()
|
D | lcd_dma.h | 61 extern void omap_set_lcd_dma_b1_scale(unsigned int xscale, unsigned int yscale);
|
/drivers/gpu/drm/i915/display/ |
D | intel_overlay.c | 618 u32 xscale, yscale, xscale_UV, yscale_UV; in update_scaling_factors() local 632 yscale = ((params->src_scan_height - 1) << FP_SHIFT) / in update_scaling_factors() 635 yscale = 1 << FP_SHIFT; in update_scaling_factors() 639 yscale_UV = yscale/uv_vscale; in update_scaling_factors() 642 yscale = yscale_UV * uv_vscale; in update_scaling_factors() 648 if (xscale != overlay->old_xscale || yscale != overlay->old_yscale) in update_scaling_factors() 651 overlay->old_yscale = yscale; in update_scaling_factors() 653 iowrite32(((yscale & FRACT_MASK) << 20) | in update_scaling_factors() 663 iowrite32((((yscale >> FP_SHIFT) << 16) | in update_scaling_factors()
|
/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 499 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/platform/nxp/imx8-isi/ |
D | imx8-isi-hw.c | 124 u32 xscale, yscale; in mxc_isi_channel_set_scaling() local 134 yscale = mxc_isi_channel_scaling_ratio(in_size->height, out_size->height, in mxc_isi_channel_set_scaling() 156 CHNL_SCALE_FACTOR_Y_SCALE(yscale) | in mxc_isi_channel_set_scaling()
|
/drivers/media/i2c/ |
D | saa717x.c | 851 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/ |
D | at91_adc.c | 311 unsigned int xscale, yscale, reg, z1, z2; in at91_ts_sample() local 335 yscale = (reg >> 16) & xyz_mask; in at91_ts_sample() 336 if (yscale == 0) { in at91_ts_sample() 340 y /= yscale; in at91_ts_sample() 354 xpos, xscale, ypos, yscale, z1, z2, pres); in at91_ts_sample()
|
/drivers/media/platform/nxp/ |
D | imx-pxp.c | 851 u32 decx, decy, xscale, yscale; in pxp_start() local 984 yscale = (src_height >> decy) * 0x1000 / dst_height; in pxp_start() 986 yscale = (src_height - 1) * 0x1000 / (dst_height - 1); in pxp_start() 987 ps_scale = BF_PXP_PS_SCALE_YSCALE(yscale) | in pxp_start()
|
/drivers/video/fbdev/ |
D | au1200fb.c | 128 unsigned int yscale; member
|