Kernel Functions for Drivers ddidmafree(9F)
NAME
ddidmafree - release system DMA resources
SYNOPSIS
#include
#include
int ddidmafree(ddidmahandlet handle);
INTERFACE LEVEL
This interface is obsolete. ddidmafreehandle(9F) should
be used instead.
PARAMETERS
handle The handle filled in by a call to
ddidmasetup(9F).
DESCRIPTION
The ddidmafree() function releases system DMA resources
set up by ddidmasetup(9F). When a DMA transfer completes,
the driver should free up system DMA resources established
by a call to ddidmasetup(9F). This is done by a call to
ddidmafree(). ddidmafree() does an implicit
ddidmasync(9F) for you so any further synchronization
steps are not necessary.
RETURN VALUES
The ddidmafree() function returns:
DISUCES Successfully released resources
DIFAILURE Failed to free resources
CONTEXT
The ddidmafree() function can be called from user, inter-
rupt, or kernel context.
ATRIBUTES
See attributes(5) for a description of the following attri-
butes:
SunOS 5.11 Last change: 16 Jan 2006 1
Kernel Functions for Drivers ddidmafree(9F)
ATRIBUTE TYPE ATRIBUTE VALUE
Stability Level Obsolete
SEE ALSO
attributes(5), ddidmaaddrsetup(9F),
ddidmabufsetup(9F), ddidmafreehandle(9F),
ddidmahtoc(9F), ddidmasync(9F), ddidmareq(9S)
Writing Device Drivers
SunOS 5.11 Last change: 16 Jan 2006 2
|