Home
last modified time | relevance | path

Searched refs:vshift (Results 1 – 8 of 8) sorted by relevance

/drivers/video/aty/
Dmach64_ct.c123 u8 vshift, xshift; in aty_dsp_gt() local
135 vshift = (6 - 2) - pll->xclk_post_div; /* FIFO is 64 bits wide in accelerator mode ... */ in aty_dsp_gt()
138 vshift--; /* ... but only 32 bits in VGA mode. */ in aty_dsp_gt()
159 tmp = ((multiplier * pll->fifo_size) << vshift) / divider; in aty_dsp_gt()
169 vshift += xshift; in aty_dsp_gt()
172 dsp_off = ((multiplier * (pll->fifo_size - 1)) << vshift) / divider - in aty_dsp_gt()
173 (1 << (vshift - xshift)); in aty_dsp_gt()
179 dsp_on = ((multiplier << vshift) + divider) / divider; in aty_dsp_gt()
191 dsp_on = dsp_off - (multiplier << vshift) / divider; in aty_dsp_gt()
196 dsp_xclks = ((multiplier << (vshift + 5)) + divider) / divider; in aty_dsp_gt()
/drivers/media/video/bt8xx/
Dbttv-risc.c128 unsigned int hshift, unsigned int vshift, in bttv_risc_planar() argument
162 switch (vshift) { in bttv_risc_planar()
763 uoffset >>= buf->fmt->vshift; in bttv_buffer_risc()
768 voffset >>= buf->fmt->vshift; in bttv_buffer_risc()
780 buf->fmt->vshift,0); in bttv_buffer_risc()
789 buf->fmt->vshift,0); in bttv_buffer_risc()
803 buf->fmt->vshift, in bttv_buffer_risc()
811 buf->fmt->vshift, in bttv_buffer_risc()
827 buf->fmt->vshift, in bttv_buffer_risc()
835 buf->fmt->vshift, in bttv_buffer_risc()
Dbttvp.h121 int hshift,vshift; /* for planar modes */ member
Dbttv-driver.c566 .vshift = 0,
574 .vshift = 1,
582 .vshift = 1,
590 .vshift = 0,
598 .vshift = 2,
606 .vshift = 2,
/drivers/mtd/nand/
Ddiskonchip.c1220 int vshift, lastvunit = 0; in inftl_partscan() local
1263 vshift = this->phys_erase_shift + mh->BlockMultiplierBits; in inftl_partscan()
1265 blocks = mtd->size >> vshift; in inftl_partscan()
1309 parts[numparts].offset = ip->firstUnit << vshift; in inftl_partscan()
1310 parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift; in inftl_partscan()
1318 if ((lastvunit << vshift) < end) { in inftl_partscan()
1320 parts[numparts].offset = lastvunit << vshift; in inftl_partscan()
/drivers/media/video/saa7134/
Dsaa7134.h112 unsigned int vshift; /* vertical downsampling (for planar yuv) */ member
Dsaa7134-video.c176 .vshift = 0,
185 .vshift = 1,
195 .vshift = 1,
984 lines_uv = buf->vb.height >> buf->fmt->vshift; in buffer_activate()
/drivers/video/
Damifb.c3034 short clk_shift, vshift, fstrt, fsize, fstop, fconst, shift, move, mod; in ami_update_par() local
3042 vshift = modx(16<<maxfmode, par->xoffset); in ami_update_par()
3043 fstrt = par->diwstrt_h - (vshift<<clk_shift) - 4; in ami_update_par()
3044 fsize = (par->xres+vshift)<<clk_shift; in ami_update_par()