1ddi_dma_burstsizes(9F) Kernel Functions for Drivers ddi_dma_burstsizes(9F)
2
3
4
6 ddi_dma_burstsizes - find out the allowed burst sizes for a DMA mapping
7
9 #include <sys/conf.h>
10 #include <sys/ddi.h>
11 #include <sys/sunddi.h>
12
13
14
15 int ddi_dma_burstsizes(ddi_dma_handle_t handle);
16
17
19 Solaris DDI specific (Solaris DDI).
20
22 handle A DMA handle that was filled in by a successful call to
23 ddi_dma_setup(9F).
24
25
27 ddi_dma_burstsizes() returns the allowed burst sizes for a DMA mapping.
28 This value is derived from the dlim_burstsizes member of the
29 ddi_dma_lim_sparc(9S) structure, but it shows the allowable burstsizes
30 after imposing on it the limitations of other device layers in addition
31 to device's own limitations.
32
34 ddi_dma_burstsizes() returns a binary encoded value of the allowable
35 DMA burst sizes. See ddi_dma_lim_sparc(9S) for a discussion of DMA
36 burst sizes.
37
39 This function can be called from user or interrupt context.
40
42 ddi_dma_devalign(9F), ddi_dma_setup(9F), ddi_dma_lim_sparc(9S),
43 ddi_dma_req(9S)
44
45
46 Writing Device Drivers
47
48
49
50SunOS 5.11 1 Feb 1994 ddi_dma_burstsizes(9F)