ddi_dma_devalign - find DMA mapping alignment and minimum transfer size
#include <sys/conf.h> #include <sys/ddi.h> #include <sys/sunddi.h> int ddi_dma_devalign(ddi_dma_handle_t handle, uint_t *alignment, uint_t *minxfr);
Solaris DDI specific (Solaris DDI). This interface is obsolete.
handle
alignment
minxfr
The ddi_dma_devalign() Function determines after a successful DMA mapping (see ddi_dma_setup(9F)) the minimum required data alignment and minimum DMA transfer size.
The ddi_dma_devalign() function returns:
DDI_SUCCESS
DDI_FAILURE
The ddi_dma_devalign() function can be called from user, interrupt, or kernel context.
See attributes(5) for descriptions of the following attributes:
|
ddi_dma_setup(9F), ddi_iomin(9F), ddi_dma_lim_sparc(9S), ddi_dma_lim_x86(9S), ddi_dma_req(9S)
Writing Device Drivers
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |