[XFRM]: skb_cow_data() does not set proper owner for new skbs.
[linux-2.6/verdex.git] / drivers / media / video / btcx-risc.h
blob41f60395a5203de439073d9721fded86b2536bbb
1 /*
2 * $Id: btcx-risc.h,v 1.2 2004/09/15 16:15:24 kraxel Exp $
3 */
4 struct btcx_riscmem {
5 unsigned int size;
6 u32 *cpu;
7 u32 *jmp;
8 dma_addr_t dma;
9 };
11 struct btcx_skiplist {
12 int start;
13 int end;
16 int btcx_riscmem_alloc(struct pci_dev *pci,
17 struct btcx_riscmem *risc,
18 unsigned int size);
19 void btcx_riscmem_free(struct pci_dev *pci,
20 struct btcx_riscmem *risc);
22 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win,
23 struct v4l2_clip *clips, unsigned int n);
24 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
25 unsigned int n, int mask);
26 void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips);
27 void btcx_calc_skips(int line, int width, unsigned int *maxy,
28 struct btcx_skiplist *skips, unsigned int *nskips,
29 const struct v4l2_clip *clips, unsigned int nclips);
32 * Local variables:
33 * c-basic-offset: 8
34 * End: