|
@@ -29,14 +29,15 @@
|
|
|
#include "tw68.h"
|
|
|
|
|
|
/**
|
|
|
- * @rp pointer to current risc program position
|
|
|
- * @sglist pointer to "scatter-gather list" of buffer pointers
|
|
|
- * @offset offset to target memory buffer
|
|
|
- * @sync_line 0 -> no sync, 1 -> odd sync, 2 -> even sync
|
|
|
- * @bpl number of bytes per scan line
|
|
|
- * @padding number of bytes of padding to add
|
|
|
- * @lines number of lines in field
|
|
|
- * @jump insert a jump at the start
|
|
|
+ * tw68_risc_field
|
|
|
+ * @rp: pointer to current risc program position
|
|
|
+ * @sglist: pointer to "scatter-gather list" of buffer pointers
|
|
|
+ * @offset: offset to target memory buffer
|
|
|
+ * @sync_line: 0 -> no sync, 1 -> odd sync, 2 -> even sync
|
|
|
+ * @bpl: number of bytes per scan line
|
|
|
+ * @padding: number of bytes of padding to add
|
|
|
+ * @lines: number of lines in field
|
|
|
+ * @jump: insert a jump at the start
|
|
|
*/
|
|
|
static __le32 *tw68_risc_field(__le32 *rp, struct scatterlist *sglist,
|
|
|
unsigned int offset, u32 sync_line,
|
|
@@ -120,18 +121,18 @@ static __le32 *tw68_risc_field(__le32 *rp, struct scatterlist *sglist,
|
|
|
* memory for the dma controller "program" and then fills in that
|
|
|
* memory with the appropriate "instructions".
|
|
|
*
|
|
|
- * @pci_dev structure with info about the pci
|
|
|
+ * @pci: structure with info about the pci
|
|
|
* slot which our device is in.
|
|
|
- * @risc structure with info about the memory
|
|
|
+ * @buf: structure with info about the memory
|
|
|
* used for our controller program.
|
|
|
- * @sglist scatter-gather list entry
|
|
|
- * @top_offset offset within the risc program area for the
|
|
|
+ * @sglist: scatter-gather list entry
|
|
|
+ * @top_offset: offset within the risc program area for the
|
|
|
* first odd frame line
|
|
|
- * @bottom_offset offset within the risc program area for the
|
|
|
+ * @bottom_offset: offset within the risc program area for the
|
|
|
* first even frame line
|
|
|
- * @bpl number of data bytes per scan line
|
|
|
- * @padding number of extra bytes to add at end of line
|
|
|
- * @lines number of scan lines
|
|
|
+ * @bpl: number of data bytes per scan line
|
|
|
+ * @padding: number of extra bytes to add at end of line
|
|
|
+ * @lines: number of scan lines
|
|
|
*/
|
|
|
int tw68_risc_buffer(struct pci_dev *pci,
|
|
|
struct tw68_buf *buf,
|