2 .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH DDI_DMA_GET_ATTR 9F "Oct 12, 2005"
8 ddi_dma_get_attr \- get the device DMA attribute structure from a DMA handle
13 #include <sys/sunddi.h>
17 \fBint\fR \fBddi_dma_get_attr\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBddi_dma_attr_t *\fR\fIattrp\fR);
23 Solaris DDI specific (Solaris DDI). This interface is obsolete.
31 The handle filled in by a call to \fBddi_dma_alloc_handle\fR(9F).
40 Pointer to a buffer suitable for holding a DMA attribute structure. See
41 \fBddi_dma_attr\fR(9S).
47 \fBddi_dma_get_attr()\fR is used to get a \fBddi_dma_attr\fR(9S) structure.
48 This structure describes the attributes of the DMA data path to which any
49 memory object bound to the given handle will be subject.
54 \fB\fBDDI_SUCCESS\fR\fR
57 Successfully passed back attribute structure in buffer pointed to by
64 \fB\fBDDI_DMA_BADATTR\fR\fR
67 A valid attribute structure could not be passed back.
73 \fBddi_dma_get_attr()\fR can be called from any context.
77 See \fBattributes\fR(5) for descriptions of the following attributes:
85 ATTRIBUTE TYPE ATTRIBUTE VALUE
87 Interface Stability Obsolete
93 \fBddi_dma_alloc_handle\fR(9F), \fBddi_dma_attr\fR(9S)