Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../data-stud/../../usr/man/man9f/ddi_dma_devalign.9f
Real path: /usr/share/man/man9f/ddi_dma_devalign.9f
Zurück
'\" te .\" Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. .TH ddi_dma_devalign 9F "04 Apr 2006" "Oracle Solaris 11.4" "Kernel Functions" .SH NAME ddi_dma_devalign \- find DMA mapping alignment and minimum transfer size .SH SYNOPSIS .LP .nf #include <sys/conf.h> #include <sys/ddi.h> #include <sys/sunddi.h> \fBint\fR \fBddi_dma_devalign\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBuint_t *\fR\fIalignment\fR, \fBuint_t *\fR\fIminxfr\fR); .fi .SH INTERFACE LEVEL .sp .LP Solaris DDI specific (Solaris DDI). This interface is obsolete. .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIhandle\fR\fR .ad .RS 13n .rt The DMA\fBhandle\fR filled in by a successful call to \fBddi_dma_setup\fR(9F). .RE .sp .ne 2 .mk .na \fB\fIalignment\fR\fR .ad .RS 13n .rt A pointer to an unsigned integer to be filled in with the minimum required alignment for \fBDMA\fR. The alignment is guaranteed to be a power of two. .RE .sp .ne 2 .mk .na \fB\fIminxfr\fR\fR .ad .RS 13n .rt A pointer to an unsigned integer to be filled in with the minimum effective transfer size (see \fBddi_iomin\fR(9F), \fBddi_dma_lim_sparc\fR(9S) and \fBddi_dma_lim_x86\fR(9S)). This also is guaranteed to be a power of two. .RE .SH DESCRIPTION .sp .LP The \fBddi_dma_devalign()\fR Function determines after a successful \fBDMA\fR mapping (see \fBddi_dma_setup\fR(9F)) the minimum required data alignment and minimum \fBDMA\fR transfer size. .SH RETURN VALUES .sp .LP The \fBddi_dma_devalign()\fR function returns: .sp .ne 2 .mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n .rt The \fIalignment\fR and \fIminxfr\fR values have been filled. .RE .sp .ne 2 .mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n .rt The handle was illegal. .RE .SH CONTEXT .sp .LP The \fBddi_dma_devalign()\fR function can be called from user, interrupt, or kernel context. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Interface Stability Obsolete .TE .sp .SH SEE ALSO .sp .LP \fBddi_dma_setup\fR(9F), \fBddi_iomin\fR(9F), \fBddi_dma_lim_sparc\fR(9S), \fBddi_dma_lim_x86\fR(9S), \fBddi_dma_req\fR(9S) .sp .LP \fIWriting Device Drivers in Oracle Solaris 11.4\fR