.\" 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 "CCIO_MAP_SG" "" "06 October 2005" "" ""
.SH NAME
ccio_map_sg \- Map the scatter/gather list into the IOMMU.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ccio_map_sg (struct device * \fIdev\fB, struct scatterlist * \fIsglist\fB, int \fInents\fB, enum dma_data_direction \fIdirection\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
The PCI device.
.TP
\fB\fIsglist\fB\fR
The scatter/gather list to be mapped in the IOMMU.
.TP
\fB\fInents\fB\fR
The number of entries in the scatter/gather list.
.TP
\fB\fIdirection\fB\fR
The direction of the DMA transaction (to/from device).
.SH "DESCRIPTION"
.PP
This function implements the pci_map_sg function.