3 Copyright (C) 2009 Qualcomm Inc. All rights reserved.
4 Written by Max Krasnyansky <maxk@qualcommm.com>
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
9 1. Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
12 2. Redistributions in binary form must reproduce the above copyright
13 notice, this list of conditions and the following disclaimer in the
14 documentation and/or other materials provided with the distribution.
16 3. Neither the name of the QUALCOMM Incorporated nor the
17 names of any contributors may be used to endorse or promote products
18 derived from this software without specific prior written permission.
20 THIS SOFTWARE IS PROVIDED BY QUALCOMM AND ANY OTHER CONTRIBUTORS
21 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL QUALCOMM
24 AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED
26 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING
29 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 #ifndef UIO_DMA_IOCTL_H
34 #define UIO_DMA_IOCTL_H
40 #define UIO_DMA_ALLOC _IOW('U', 200, int)
41 struct uio_dma_alloc_req
{
51 #define UIO_DMA_FREE _IOW('U', 201, int)
52 struct uio_dma_free_req
{
56 #define UIO_DMA_MAP _IOW('U', 202, int)
57 struct uio_dma_map_req
{
67 #define UIO_DMA_UNMAP _IOW('U', 203, int)
68 struct uio_dma_unmap_req
{
75 #endif /* UIO_DMA_IOCTL_H */