Kernel Functions for Drivers ddidmaburstsizes(9F)
NAME
ddidmaburstsizes - find out the allowed burst sizes for a
DMA mapping
SYNOPSIS
#include
#include
#include
int ddidmaburstsizes(ddidmahandlet handle);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
handle A DMA handle that was filled in by a successful
call to ddidmasetup(9F).
DESCRIPTION
ddidmaburstsizes() returns the allowed burst sizes for a
DMA mapping. This value is derived from the dlimburstsizes
member of the ddidmalimsparc(9S) structure, but it shows
the allowable burstsizes after imposing on it the limita-
tions of other device layers in addition to device's own
limitations.
RETURN VALUES
ddidmaburstsizes() returns a binary encoded value of the
allowable DMA burst sizes. See ddidmalimsparc(9S) for a
discussion of DMA burst sizes.
CONTEXT
This function can be called from user or interrupt context.
SEE ALSO
ddidmadevalign(9F), ddidmasetup(9F),
ddidmalimsparc(9S), ddidmareq(9S)
Writing Device Drivers
SunOS 5.11 Last change: 1 Feb 1994 1
|