ddi_dma_curwin - report current DMA window offset and size
#include <sys/conf.h> #include <sys/ddi.h> #include <sys/sunddi.h> int ddi_dma_curwin(ddi_dma_handle_t handle, off_t *offp, uint_t *lenp);
This interface is obsolete. ddi_dma_getwin(9F) should be used instead.
handle
offp
lenp
The ddi_dma_curwin() function reports the current DMA window offset and size. If a DMA mapping allows partial mapping, that is if the DDI_DMA_PARTIAL flag in the ddi_dma_req(9S) structure is set, its current (effective) DMA window offset and size can be obtained by a call to ddi_dma_curwin().
The ddi_dma_curwin() function returns:
DDI_SUCCESS
DDI_FAILURE
The ddi_dma_curwin() function can be called from user, interrupt, or kernel context.
See attributes(5) for a description of the following attributes:
|
attributes(5), ddi_dma_getwin(9F), ddi_dma_movwin(9F), ddi_dma_setup(9F), ddi_dma_req(9S)
Writing Device Drivers
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |