mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 19:46:55 +07:00
215cedec37
1) This is not allowed by the kernel coding style 2) Just configure your editor correctly 3) It's really ugly Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
29 lines
806 B
C
29 lines
806 B
C
/*
|
|
*/
|
|
struct btcx_riscmem {
|
|
unsigned int size;
|
|
__le32 *cpu;
|
|
__le32 *jmp;
|
|
dma_addr_t dma;
|
|
};
|
|
|
|
struct btcx_skiplist {
|
|
int start;
|
|
int end;
|
|
};
|
|
|
|
int btcx_riscmem_alloc(struct pci_dev *pci,
|
|
struct btcx_riscmem *risc,
|
|
unsigned int size);
|
|
void btcx_riscmem_free(struct pci_dev *pci,
|
|
struct btcx_riscmem *risc);
|
|
|
|
int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win,
|
|
struct v4l2_clip *clips, unsigned int n);
|
|
int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
|
|
unsigned int n, int mask);
|
|
void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips);
|
|
void btcx_calc_skips(int line, int width, int *maxy,
|
|
struct btcx_skiplist *skips, unsigned int *nskips,
|
|
const struct v4l2_clip *clips, unsigned int nclips);
|