Kernel Functions for Drivers ddidmanumwin(9F)
NAME
ddidmanumwin - retrieve number of DMA windows
SYNOPSIS
#include
#include
int ddidmanumwin(ddidmahandlet handle, uintt *nwinp);
PARAMETERS
handle The DMA handle previously allocated by a call to
ddidmaallochandle(9F).
nwinp Upon a successful return, nwinp will contain the
number of DMA windows for this object.
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
DESCRIPTION
ddidmanumwin() returns the number of DMA windows for a
DMA object if partial resource allocation was permitted.
RETURN VALUES
ddidmanumwin() returns:
DISUCES Successfully filled in the number of DMA
windows.
DIFAILURE DMA windows are not activated.
CONTEXT
ddidmanumwin() can be called from user, kernel, or inter-
rupt context.
SEE ALSO
ddidmaaddrbindhandle(9F), ddidmaallochandle(9F),
ddidmabufbindhandle(9F), ddidmaunbindhandle(9F)
Writing Device Drivers
SunOS 5.11 Last change: 29 Sep 1994 1
|