fastrpc.h (7f1f481263c3ce5387d4fd5ad63ddaa8a295aab2) fastrpc.h (e90d911906196bf987492c94e38f10ca611dfd7b)
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)

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

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
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)

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

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
66/* Fastrpc attribute for memory protection of buffers */
67#define FASTRPC_ATTR_SECUREMAP (1)
68
66struct fastrpc_invoke_args {
67 __u64 ptr;
68 __u64 length;
69 __s32 fd;
69struct fastrpc_invoke_args {
70 __u64 ptr;
71 __u64 length;
72 __s32 fd;
70 __u32 reserved;
73 __u32 attr;
71};
72
73struct fastrpc_invoke {
74 __u32 handle;
75 __u32 sc;
76 __u64 args;
77};
78

--- 55 unchanged lines hidden ---
74};
75
76struct fastrpc_invoke {
77 __u32 handle;
78 __u32 sc;
79 __u64 args;
80};
81

--- 55 unchanged lines hidden ---