Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
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 …]
/linux-2.6.39/drivers/isdn/i4l/
Disdn_bsdcomp.c119 unsigned char hshift; /* used in hash function */ member
160 #define BSD_HASH(prefix,suffix,hshift) ((((unsigned long)(suffix))<<(hshift)) \ argument
308 unsigned int hsize, hshift, maxmaxcode; in bsd_alloc() local
327 hshift = htab[bits-9][1]; in bsd_alloc()
369 db->hshift = hshift; in bsd_alloc()
457 int hshift; in bsd_compress() local
494 hshift = db->hshift; in bsd_compress()
515 hval = BSD_HASH (ent, c, hshift); in bsd_compress()
836 hval = BSD_HASH(oldcode,finchar,db->hshift); in bsd_decompress()
/linux-2.6.39/drivers/media/video/bt8xx/
Dbttv-risc.c129 unsigned int hshift, unsigned int vshift, in bttv_risc_planar() argument
204 if (uoffset + (ylen>>hshift) > sg_dma_len(usg)) in bttv_risc_planar()
205 ylen = (sg_dma_len(usg) - uoffset) << hshift; in bttv_risc_planar()
206 if (voffset + (ylen>>hshift) > sg_dma_len(vsg)) in bttv_risc_planar()
207 ylen = (sg_dma_len(vsg) - voffset) << hshift; in bttv_risc_planar()
219 *(rp++)=cpu_to_le32(((ylen >> hshift) << 16) | in bttv_risc_planar()
220 (ylen >> hshift)); in bttv_risc_planar()
225 uoffset += ylen >> hshift; in bttv_risc_planar()
227 voffset += ylen >> hshift; in bttv_risc_planar()
763 uoffset >>= buf->fmt->hshift; in bttv_buffer_risc()
[all …]
Dbttvp.h120 int hshift,vshift; /* for planar modes */ member
Dbttv-driver.c575 .hshift = 1,
583 .hshift = 1,
591 .hshift = 1,
599 .hshift = 2,
607 .hshift = 2,
615 .hshift = 2,
/linux-2.6.39/drivers/media/video/saa7134/
Dsaa7134.h114 unsigned int hshift; /* horizontal downsampling (for planar yuv) */ member
Dsaa7134-video.c171 .hshift = 1,
180 .hshift = 1,
190 .hshift = 1,
981 bpl_uv = bpl >> buf->fmt->hshift; in buffer_activate()
/linux-2.6.39/drivers/media/dvb/ngene/
Dngene.h863 int hshift, vshift; /* for planar modes */ member