fastrpc.h (6c16fd8bdd4058d4a6aaca9d5a7b40e4cb281d5a) fastrpc.h (7f1f481263c3ce5387d4fd5ad63ddaa8a295aab2)
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2
3#ifndef __QCOM_FASTRPC_H__
4#define __QCOM_FASTRPC_H__
5
6#include <linux/types.h>
7
8#define FASTRPC_IOCTL_ALLOC_DMA_BUFF _IOWR('R', 1, struct fastrpc_alloc_dma_buf)

--- 32 unchanged lines hidden (view full) ---

41 FASTRPC_MAP_STATIC = 0,
42 FASTRPC_MAP_RESERVED,
43 FASTRPC_MAP_FD = 2,
44 FASTRPC_MAP_FD_DELAYED,
45 FASTRPC_MAP_FD_NOMAP = 16,
46 FASTRPC_MAP_MAX,
47};
48
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2
3#ifndef __QCOM_FASTRPC_H__
4#define __QCOM_FASTRPC_H__
5
6#include <linux/types.h>
7
8#define FASTRPC_IOCTL_ALLOC_DMA_BUFF _IOWR('R', 1, struct fastrpc_alloc_dma_buf)

--- 32 unchanged lines hidden (view full) ---

41 FASTRPC_MAP_STATIC = 0,
42 FASTRPC_MAP_RESERVED,
43 FASTRPC_MAP_FD = 2,
44 FASTRPC_MAP_FD_DELAYED,
45 FASTRPC_MAP_FD_NOMAP = 16,
46 FASTRPC_MAP_MAX,
47};
48
49enum fastrpc_proc_attr {
50 /* Macro for Debug attr */
51 FASTRPC_MODE_DEBUG = (1 << 0),
52 /* Macro for Ptrace */
53 FASTRPC_MODE_PTRACE = (1 << 1),
54 /* Macro for CRC Check */
55 FASTRPC_MODE_CRC = (1 << 2),
56 /* Macro for Unsigned PD */
57 FASTRPC_MODE_UNSIGNED_MODULE = (1 << 3),
58 /* Macro for Adaptive QoS */
59 FASTRPC_MODE_ADAPTIVE_QOS = (1 << 4),
60 /* Macro for System Process */
61 FASTRPC_MODE_SYSTEM_PROCESS = (1 << 5),
62 /* Macro for Prvileged Process */
63 FASTRPC_MODE_PRIVILEGED = (1 << 6),
64};
65
49struct fastrpc_invoke_args {
50 __u64 ptr;
51 __u64 length;
52 __s32 fd;
53 __u32 reserved;
54};
55
56struct fastrpc_invoke {

--- 60 unchanged lines hidden ---
66struct fastrpc_invoke_args {
67 __u64 ptr;
68 __u64 length;
69 __s32 fd;
70 __u32 reserved;
71};
72
73struct fastrpc_invoke {

--- 60 unchanged lines hidden ---