.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SN_DMA_MAP_SG" "9" "09 October 2005" "" ""
.SH NAME
sn_dma_map_sg \- map a scatterlist for DMA
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int sn_dma_map_sg (struct device * \fIdev\fB, struct scatterlist * \fIsg\fB, int \fInhwentries\fB, int \fIdirection\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
device to map for
.TP
\fB\fIsg\fB\fR
scatterlist to map
.TP
\fB\fInhwentries\fB\fR
number of entries
.TP
\fB\fIdirection\fB\fR
direction of the DMA transaction
.SH "DESCRIPTION"
.PP
Maps each entry of \fIsg\fR for DMA.