Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
H A 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()
177 dsp_on = ((multiplier * 20 << vshift) + divider) / divider; in aty_dsp_gt()
180 dsp_on = ((multiplier << vshift) + divider) / divider; in aty_dsp_gt()
192 dsp_on = dsp_off - (multiplier << vshift) / divide in aty_dsp_gt()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/
H A 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()
175 dsp_on = ((multiplier * 20 << vshift) + divider) / divider; in aty_dsp_gt()
178 dsp_on = ((multiplier << vshift) + divider) / divider; in aty_dsp_gt()
190 dsp_on = dsp_off - (multiplier << vshift) / divide in aty_dsp_gt()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
H A Dbttv-risc.c119 unsigned int hshift, unsigned int vshift, in bttv_risc_planar()
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()
114 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) bttv_risc_planar() argument
[all...]
H A Dbttvp.h107 int hshift,vshift; /* for planar modes */ member
H A Dbttv-driver.c570 .vshift = 0,
577 .vshift = 1,
584 .vshift = 1,
591 .vshift = 0,
598 .vshift = 2,
605 .vshift = 2,
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/
H A Dbttv-risc.c119 unsigned int hshift, unsigned int vshift, in bttv_risc_planar()
153 switch (vshift) { in bttv_risc_planar()
713 uoffset >>= btv->fmt->vshift; in bttv_buffer_risc()
718 voffset >>= btv->fmt->vshift; in bttv_buffer_risc()
730 btv->fmt->vshift, 0); in bttv_buffer_risc()
740 btv->fmt->vshift, 0); in bttv_buffer_risc()
753 btv->fmt->vshift, cpadding); in bttv_buffer_risc()
760 btv->fmt->vshift, cpadding); in bttv_buffer_risc()
773 btv->fmt->vshift, 0); in bttv_buffer_risc()
780 btv->fmt->vshift, in bttv_buffer_risc()
114 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) bttv_risc_planar() argument
[all...]
H A Dbttvp.h106 int hshift,vshift; /* for planar modes */ member
H A Dbttv-driver.c570 .vshift = 0,
577 .vshift = 1,
584 .vshift = 1,
591 .vshift = 0,
598 .vshift = 2,
605 .vshift = 2,
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A 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()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A 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()
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/
H A Dsaa7134-video.c151 .vshift = 0,
159 .vshift = 1,
168 .vshift = 1,
681 lines_uv = dev->height >> dev->fmt->vshift; in buffer_activate()
H A Dsaa7134.h104 unsigned int vshift; /* vertical downsampling (for planar yuv) */ member
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
H A Dsaa7134-video.c151 .vshift = 0,
159 .vshift = 1,
168 .vshift = 1,
868 lines_uv = dev->height >> dev->fmt->vshift; in buffer_activate()
H A Dsaa7134.h104 unsigned int vshift; /* vertical downsampling (for planar yuv) */ member
/kernel/linux/linux-5.10/drivers/media/pci/ngene/
H A Dngene.h875 int hshift, vshift; /* for planar modes */ member
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A 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()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A 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()

Completed in 58 milliseconds