Commit d8eaa58b06e8779453410d88d2d86e700a0432c6
Committed by
Mauro Carvalho Chehab
1 parent
990c81c8af
Exists in
master
and in
4 other branches
V4L/DVB (7965): annotate bcx_riscmem
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Showing 5 changed files with 16 additions and 14 deletions Side-by-side Diff
drivers/media/video/bt8xx/bttv-risc.c
... | ... | @@ -48,7 +48,7 @@ |
48 | 48 | { |
49 | 49 | u32 instructions,line,todo; |
50 | 50 | struct scatterlist *sg; |
51 | - u32 *rp; | |
51 | + __le32 *rp; | |
52 | 52 | int rc; |
53 | 53 | |
54 | 54 | /* estimate risc mem: worst case is one write per page border + |
... | ... | @@ -128,7 +128,8 @@ |
128 | 128 | unsigned int cpadding) |
129 | 129 | { |
130 | 130 | unsigned int instructions,line,todo,ylen,chroma; |
131 | - u32 *rp,ri; | |
131 | + __le32 *rp; | |
132 | + u32 ri; | |
132 | 133 | struct scatterlist *ysg; |
133 | 134 | struct scatterlist *usg; |
134 | 135 | struct scatterlist *vsg; |
... | ... | @@ -244,7 +245,8 @@ |
244 | 245 | { |
245 | 246 | int dwords,rc,line,maxy,start,end,skip,nskips; |
246 | 247 | struct btcx_skiplist *skips; |
247 | - u32 *rp,ri,ra; | |
248 | + __le32 *rp; | |
249 | + u32 ri,ra; | |
248 | 250 | u32 addr; |
249 | 251 | |
250 | 252 | /* skip list for window clipping */ |
drivers/media/video/btcx-risc.c
drivers/media/video/btcx-risc.h
drivers/media/video/cx23885/cx23885-core.c
... | ... | @@ -823,7 +823,7 @@ |
823 | 823 | iounmap(dev->lmmio); |
824 | 824 | } |
825 | 825 | |
826 | -static u32* cx23885_risc_field(u32 *rp, struct scatterlist *sglist, | |
826 | +static __le32* cx23885_risc_field(__le32 *rp, struct scatterlist *sglist, | |
827 | 827 | unsigned int offset, u32 sync_line, |
828 | 828 | unsigned int bpl, unsigned int padding, |
829 | 829 | unsigned int lines) |
... | ... | @@ -883,7 +883,7 @@ |
883 | 883 | unsigned int padding, unsigned int lines) |
884 | 884 | { |
885 | 885 | u32 instructions, fields; |
886 | - u32 *rp; | |
886 | + __le32 *rp; | |
887 | 887 | int rc; |
888 | 888 | |
889 | 889 | fields = 0; |
... | ... | @@ -924,7 +924,7 @@ |
924 | 924 | unsigned int lines) |
925 | 925 | { |
926 | 926 | u32 instructions; |
927 | - u32 *rp; | |
927 | + __le32 *rp; | |
928 | 928 | int rc; |
929 | 929 | |
930 | 930 | /* estimate risc mem: worst case is one write per page border + |
... | ... | @@ -951,7 +951,7 @@ |
951 | 951 | int cx23885_risc_stopper(struct pci_dev *pci, struct btcx_riscmem *risc, |
952 | 952 | u32 reg, u32 mask, u32 value) |
953 | 953 | { |
954 | - u32 *rp; | |
954 | + __le32 *rp; | |
955 | 955 | int rc; |
956 | 956 | |
957 | 957 | if ((rc = btcx_riscmem_alloc(pci, risc, 4*16)) < 0) |
drivers/media/video/cx88/cx88-core.c
... | ... | @@ -70,7 +70,7 @@ |
70 | 70 | |
71 | 71 | /* @lpi: lines per IRQ, or 0 to not generate irqs. Note: IRQ to be |
72 | 72 | generated _after_ lpi lines are transferred. */ |
73 | -static u32* cx88_risc_field(u32 *rp, struct scatterlist *sglist, | |
73 | +static __le32* cx88_risc_field(__le32 *rp, struct scatterlist *sglist, | |
74 | 74 | unsigned int offset, u32 sync_line, |
75 | 75 | unsigned int bpl, unsigned int padding, |
76 | 76 | unsigned int lines, unsigned int lpi) |
... | ... | @@ -130,7 +130,7 @@ |
130 | 130 | unsigned int bpl, unsigned int padding, unsigned int lines) |
131 | 131 | { |
132 | 132 | u32 instructions,fields; |
133 | - u32 *rp; | |
133 | + __le32 *rp; | |
134 | 134 | int rc; |
135 | 135 | |
136 | 136 | fields = 0; |
... | ... | @@ -168,7 +168,7 @@ |
168 | 168 | unsigned int lines, unsigned int lpi) |
169 | 169 | { |
170 | 170 | u32 instructions; |
171 | - u32 *rp; | |
171 | + __le32 *rp; | |
172 | 172 | int rc; |
173 | 173 | |
174 | 174 | /* estimate risc mem: worst case is one write per page border + |
... | ... | @@ -193,7 +193,7 @@ |
193 | 193 | int cx88_risc_stopper(struct pci_dev *pci, struct btcx_riscmem *risc, |
194 | 194 | u32 reg, u32 mask, u32 value) |
195 | 195 | { |
196 | - u32 *rp; | |
196 | + __le32 *rp; | |
197 | 197 | int rc; |
198 | 198 | |
199 | 199 | if ((rc = btcx_riscmem_alloc(pci, risc, 4*16)) < 0) |