Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/video/fbdev/aty/
Dmach64_ct.c122 u8 vshift, xshift; in aty_dsp_gt() local
134 vshift = (6 - 2) - pll->xclk_post_div; /* FIFO is 64 bits wide in accelerator mode ... */ in aty_dsp_gt()
137 vshift--; /* ... but only 32 bits in VGA mode. */ in aty_dsp_gt()
158 tmp = ((multiplier * pll->fifo_size) << vshift) / divider; in aty_dsp_gt()
168 vshift += xshift; in aty_dsp_gt()
171 dsp_off = ((multiplier * (pll->fifo_size - 1)) << vshift) / divider - in aty_dsp_gt()
172 (1 << (vshift - xshift)); in aty_dsp_gt()
178 dsp_on = ((multiplier << vshift) + divider) / divider; in aty_dsp_gt()
190 dsp_on = dsp_off - (multiplier << vshift) / divider; in aty_dsp_gt()
195 dsp_xclks = ((multiplier << (vshift + 5)) + divider) / divider; in aty_dsp_gt()
/linux-6.1.9/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()
753 uoffset >>= buf->fmt->vshift; in bttv_buffer_risc()
758 voffset >>= buf->fmt->vshift; in bttv_buffer_risc()
770 buf->fmt->vshift,0); in bttv_buffer_risc()
779 buf->fmt->vshift,0); in bttv_buffer_risc()
793 buf->fmt->vshift, in bttv_buffer_risc()
801 buf->fmt->vshift, in bttv_buffer_risc()
817 buf->fmt->vshift, in bttv_buffer_risc()
825 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-6.1.9/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-6.1.9/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-6.1.9/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()