[CIFS] Fix double list addition in cifs posix open code
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / media / video / btcx-risc.h
blobf8bc6e8e7b5198d1bb8dade28f803fc75a2e161f
1 /*
2 */
3 struct btcx_riscmem {
4 unsigned int size;
5 __le32 *cpu;
6 __le32 *jmp;
7 dma_addr_t dma;
8 };
10 struct btcx_skiplist {
11 int start;
12 int end;
15 int btcx_riscmem_alloc(struct pci_dev *pci,
16 struct btcx_riscmem *risc,
17 unsigned int size);
18 void btcx_riscmem_free(struct pci_dev *pci,
19 struct btcx_riscmem *risc);
21 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win,
22 struct v4l2_clip *clips, unsigned int n);
23 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
24 unsigned int n, int mask);
25 void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips);
26 void btcx_calc_skips(int line, int width, int *maxy,
27 struct btcx_skiplist *skips, unsigned int *nskips,
28 const struct v4l2_clip *clips, unsigned int nclips);
31 * Local variables:
32 * c-basic-offset: 8
33 * End: