Lines Matching +full:len +full:- +full:or +full:- +full:define
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
5 * This file is provided under a dual BSD/GPLv2 license. When using or
12 * This program is free software; you can redistribute it and/or modify
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 * Redistribution and use in source and binary forms, with or without
33 * the documentation and/or other materials provided with the
36 * contributors may be used to endorse or promote products derived
40 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
43 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
44 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
45 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
46 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
47 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
48 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
55 * -----------------------------------------
57 * -----------------------------------------
60 #define SCIF_IOCTL_H
65 * struct scif_port_id - SCIF port information
75 * struct scifioctl_connect - used for SCIF_CONNECT IOCTL
85 * struct scifioctl_accept - used for SCIF_ACCEPTREQ IOCTL
97 * struct scifioctl_msg - used for SCIF_SEND/SCIF_RECV IOCTL
99 * @len: message length
105 __s32 len; member
111 * struct scifioctl_reg - used for SCIF_REG IOCTL
113 * @len: length of range
121 __u64 len; member
129 * struct scifioctl_unreg - used for SCIF_UNREG IOCTL
131 * @len: length of range to unregister
135 __u64 len; member
139 * struct scifioctl_copy - used for SCIF DMA copy IOCTLs
143 * @len: length of range to copy
154 __u64 len; member
161 * struct scifioctl_fence_mark - used for SCIF_FENCE_MARK IOCTL
171 * struct scifioctl_fence_signal - used for SCIF_FENCE_SIGNAL IOCTL
187 * struct scifioctl_node_ids - used for SCIF_GET_NODEIDS IOCTL
190 * @len: length of array
195 __s32 len; member
198 #define SCIF_BIND _IOWR('s', 1, __u64)
199 #define SCIF_LISTEN _IOW('s', 2, __s32)
200 #define SCIF_CONNECT _IOWR('s', 3, struct scifioctl_connect)
201 #define SCIF_ACCEPTREQ _IOWR('s', 4, struct scifioctl_accept)
202 #define SCIF_ACCEPTREG _IOWR('s', 5, __u64)
203 #define SCIF_SEND _IOWR('s', 6, struct scifioctl_msg)
204 #define SCIF_RECV _IOWR('s', 7, struct scifioctl_msg)
205 #define SCIF_REG _IOWR('s', 8, struct scifioctl_reg)
206 #define SCIF_UNREG _IOWR('s', 9, struct scifioctl_unreg)
207 #define SCIF_READFROM _IOWR('s', 10, struct scifioctl_copy)
208 #define SCIF_WRITETO _IOWR('s', 11, struct scifioctl_copy)
209 #define SCIF_VREADFROM _IOWR('s', 12, struct scifioctl_copy)
210 #define SCIF_VWRITETO _IOWR('s', 13, struct scifioctl_copy)
211 #define SCIF_GET_NODEIDS _IOWR('s', 14, struct scifioctl_node_ids)
212 #define SCIF_FENCE_MARK _IOWR('s', 15, struct scifioctl_fence_mark)
213 #define SCIF_FENCE_WAIT _IOWR('s', 16, __s32)
214 #define SCIF_FENCE_SIGNAL _IOWR('s', 17, struct scifioctl_fence_signal)