Home
last modified time | relevance | path

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

/drivers/video/fbdev/aty/
Dmach64_ct.c124 u8 vshift, xshift; in aty_dsp_gt() local
136 vshift = (6 - 2) - pll->xclk_post_div; /* FIFO is 64 bits wide in accelerator mode ... */ in aty_dsp_gt()
139 vshift--; /* ... but only 32 bits in VGA mode. */ in aty_dsp_gt()
160 tmp = ((multiplier * pll->fifo_size) << vshift) / divider; in aty_dsp_gt()
170 vshift += xshift; in aty_dsp_gt()
173 dsp_off = ((multiplier * (pll->fifo_size - 1)) << vshift) / divider - in aty_dsp_gt()
174 (1 << (vshift - xshift)); in aty_dsp_gt()
180 dsp_on = ((multiplier << vshift) + divider) / divider; in aty_dsp_gt()
192 dsp_on = dsp_off - (multiplier << vshift) / divider; in aty_dsp_gt()
197 dsp_xclks = ((multiplier << (vshift + 5)) + divider) / divider; in aty_dsp_gt()
/drivers/media/pci/bt8xx/
Dbttv-risc.c119 unsigned int hshift, unsigned int vshift, in bttv_risc_planar() argument
153 switch (vshift) { in bttv_risc_planar()
754 uoffset >>= buf->fmt->vshift; in bttv_buffer_risc()
759 voffset >>= buf->fmt->vshift; in bttv_buffer_risc()
771 buf->fmt->vshift,0); in bttv_buffer_risc()
780 buf->fmt->vshift,0); in bttv_buffer_risc()
794 buf->fmt->vshift, in bttv_buffer_risc()
802 buf->fmt->vshift, in bttv_buffer_risc()
818 buf->fmt->vshift, in bttv_buffer_risc()
826 buf->fmt->vshift, in bttv_buffer_risc()
Dbttvp.h107 int hshift,vshift; /* for planar modes */ member
Dbttv-driver.c570 .vshift = 0,
577 .vshift = 1,
584 .vshift = 1,
591 .vshift = 0,
598 .vshift = 2,
605 .vshift = 2,
/drivers/mtd/nand/raw/
Ddiskonchip.c1144 int vshift, lastvunit = 0; in inftl_partscan() local
1186 vshift = this->phys_erase_shift + mh->BlockMultiplierBits; in inftl_partscan()
1188 blocks = mtd->size >> vshift; in inftl_partscan()
1232 parts[numparts].offset = ip->firstUnit << vshift; in inftl_partscan()
1233 parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift; in inftl_partscan()
1241 if ((lastvunit << vshift) < end) { in inftl_partscan()
1243 parts[numparts].offset = lastvunit << vshift; in inftl_partscan()
/drivers/media/pci/saa7134/
Dsaa7134-video.c151 .vshift = 0,
159 .vshift = 1,
168 .vshift = 1,
868 lines_uv = dev->height >> dev->fmt->vshift; in buffer_activate()
Dsaa7134.h104 unsigned int vshift; /* vertical downsampling (for planar yuv) */ member
/drivers/media/pci/ngene/
Dngene.h873 int hshift, vshift; /* for planar modes */ member
/drivers/video/fbdev/
Damifb.c1596 short clk_shift, vshift, fstrt, fsize, fstop, fconst, shift, move, mod; in ami_update_par() local
1604 vshift = modx(16 << maxfmode, par->xoffset); in ami_update_par()
1605 fstrt = par->diwstrt_h - (vshift << clk_shift) - 4; in ami_update_par()
1606 fsize = (par->xres + vshift) << clk_shift; in ami_update_par()