Home
last modified time | relevance | path

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

/Linux-v5.10/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()
/Linux-v5.10/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,
/Linux-v5.10/drivers/mtd/nand/raw/
Ddiskonchip.c1021 int vshift, lastvunit = 0; in inftl_partscan() local
1063 vshift = this->phys_erase_shift + mh->BlockMultiplierBits; in inftl_partscan()
1065 blocks = mtd->size >> vshift; in inftl_partscan()
1109 parts[numparts].offset = ip->firstUnit << vshift; in inftl_partscan()
1110 parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift; in inftl_partscan()
1118 if ((lastvunit << vshift) < end) { in inftl_partscan()
1120 parts[numparts].offset = lastvunit << vshift; in inftl_partscan()
/Linux-v5.10/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
/Linux-v5.10/drivers/media/pci/ngene/
Dngene.h873 int hshift, vshift; /* for planar modes */ member
/Linux-v5.10/drivers/video/fbdev/
Damifb.c1602 short clk_shift, vshift, fstrt, fsize, fstop, fconst, shift, move, mod; in ami_update_par() local
1610 vshift = modx(16 << maxfmode, par->xoffset); in ami_update_par()
1611 fstrt = par->diwstrt_h - (vshift << clk_shift) - 4; in ami_update_par()
1612 fsize = (par->xres + vshift) << clk_shift; in ami_update_par()