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

/drivers/video/fbdev/aty/
H A Dmach64_ct.c123 u8 vshift, xshift; local
135 vshift = (6 - 2) - pll->xclk_post_div; /* FIFO is 64 bits wide in accelerator mode ... */
138 vshift--; /* ... but only 32 bits in VGA mode. */
159 tmp = ((multiplier * pll->fifo_size) << vshift) / divider;
169 vshift += xshift;
172 dsp_off = ((multiplier * (pll->fifo_size - 1)) << vshift) / divider -
173 (1 << (vshift - xshift));
176 dsp_on = ((multiplier * 20 << vshift) + divider) / divider;
179 dsp_on = ((multiplier << vshift) + divider) / divider;
191 dsp_on = dsp_off - (multiplier << vshift) / divide
[all...]
/drivers/media/pci/bt8xx/
H A Dbttv-risc.c131 unsigned int hshift, unsigned int vshift,
165 switch (vshift) {
764 uoffset >>= buf->fmt->vshift;
769 voffset >>= buf->fmt->vshift;
781 buf->fmt->vshift,0);
790 buf->fmt->vshift,0);
804 buf->fmt->vshift,
812 buf->fmt->vshift,
828 buf->fmt->vshift,
836 buf->fmt->vshift,
126 bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc, struct scatterlist *sglist, unsigned int yoffset, unsigned int ybpl, unsigned int ypadding, unsigned int ylines, unsigned int uoffset, unsigned int voffset, unsigned int hshift, unsigned int vshift, unsigned int cpadding) argument
[all...]
H A Dbttvp.h119 int hshift,vshift; /* for planar modes */ member in struct:bttv_format
H A Dbttv-driver.c595 .vshift = 0,
603 .vshift = 1,
611 .vshift = 1,
619 .vshift = 0,
627 .vshift = 2,
635 .vshift = 2,
/drivers/mtd/nand/
H A Ddiskonchip.c1160 int vshift, lastvunit = 0; local
1202 vshift = this->phys_erase_shift + mh->BlockMultiplierBits;
1204 blocks = mtd->size >> vshift;
1248 parts[numparts].offset = ip->firstUnit << vshift;
1249 parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift;
1257 if ((lastvunit << vshift) < end) {
1259 parts[numparts].offset = lastvunit << vshift;
/drivers/media/pci/ngene/
H A Dngene.h868 int hshift, vshift; /* for planar modes */ member in struct:ngene_format
/drivers/media/pci/saa7134/
H A Dsaa7134-video.c174 .vshift = 0,
183 .vshift = 1,
193 .vshift = 1,
835 lines_uv = dev->height >> dev->fmt->vshift;
H A Dsaa7134.h116 unsigned int vshift; /* vertical downsampling (for planar yuv) */ member in struct:saa7134_format
/drivers/video/fbdev/
H A Damifb.c1598 short clk_shift, vshift, fstrt, fsize, fstop, fconst, shift, move, mod; local
1606 vshift = modx(16 << maxfmode, par->xoffset);
1607 fstrt = par->diwstrt_h - (vshift << clk_shift) - 4;
1608 fsize = (par->xres + vshift) << clk_shift;

Completed in 174 milliseconds