Home
last modified time | relevance | path

Searched refs:hshift (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ppp/
Dbsd_comp.c139 unsigned char hshift; /* used in hash function */ member
206 #define BSD_HASH(prefix,suffix,hshift) ((((unsigned long)(suffix))<<(hshift)) \ argument
355 unsigned int hsize, hshift, maxmaxcode; in bsd_alloc() local
373 hshift = 4; in bsd_alloc()
377 hshift = 5; in bsd_alloc()
381 hshift = 6; in bsd_alloc()
385 hshift = 7; in bsd_alloc()
442 db->hshift = hshift; in bsd_alloc()
567 int hshift; in bsd_compress() local
622 hshift = db->hshift; in bsd_compress()
[all …]
/drivers/media/pci/bt8xx/
Dbttv-risc.c119 unsigned int hshift, unsigned int vshift, in bttv_risc_planar() argument
195 if (uoffset + (ylen>>hshift) > sg_dma_len(usg)) in bttv_risc_planar()
196 ylen = (sg_dma_len(usg) - uoffset) << hshift; in bttv_risc_planar()
197 if (voffset + (ylen>>hshift) > sg_dma_len(vsg)) in bttv_risc_planar()
198 ylen = (sg_dma_len(vsg) - voffset) << hshift; in bttv_risc_planar()
210 *(rp++)=cpu_to_le32(((ylen >> hshift) << 16) | in bttv_risc_planar()
211 (ylen >> hshift)); in bttv_risc_planar()
216 uoffset += ylen >> hshift; in bttv_risc_planar()
218 voffset += ylen >> hshift; in bttv_risc_planar()
752 uoffset >>= buf->fmt->hshift; in bttv_buffer_risc()
[all …]
Dbttvp.h107 int hshift,vshift; /* for planar modes */ member
Dbttv-driver.c569 .hshift = 1,
576 .hshift = 1,
583 .hshift = 1,
590 .hshift = 2,
597 .hshift = 2,
604 .hshift = 2,
/drivers/media/pci/saa7134/
Dsaa7134-video.c150 .hshift = 1,
158 .hshift = 1,
167 .hshift = 1,
867 bpl_uv = bpl >> dev->fmt->hshift; in buffer_activate()
Dsaa7134.h105 unsigned int hshift; /* horizontal downsampling (for planar yuv) */ member