fastrpc.c (02b45b47fbe84e23699bb6bdc74d4c2780e282b4) | fastrpc.c (f1cf11c296c599b81549aa2c5221d75138a58aa4) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2// Copyright (c) 2011-2018, The Linux Foundation. All rights reserved. 3// Copyright (c) 2018, Linaro Limited 4 5#include <linux/completion.h> 6#include <linux/device.h> 7#include <linux/dma-buf.h> 8#include <linux/dma-mapping.h> --- 18 unchanged lines hidden (view full) --- 27#define FASTRPC_MAX_SESSIONS 9 /*8 compute, 1 cpz*/ 28#define FASTRPC_ALIGN 128 29#define FASTRPC_MAX_FDLIST 16 30#define FASTRPC_MAX_CRCLIST 64 31#define FASTRPC_PHYS(p) ((p) & 0xffffffff) 32#define FASTRPC_CTX_MAX (256) 33#define FASTRPC_INIT_HANDLE 1 34#define FASTRPC_CTXID_MASK (0xFF0) | 1// SPDX-License-Identifier: GPL-2.0 2// Copyright (c) 2011-2018, The Linux Foundation. All rights reserved. 3// Copyright (c) 2018, Linaro Limited 4 5#include <linux/completion.h> 6#include <linux/device.h> 7#include <linux/dma-buf.h> 8#include <linux/dma-mapping.h> --- 18 unchanged lines hidden (view full) --- 27#define FASTRPC_MAX_SESSIONS 9 /*8 compute, 1 cpz*/ 28#define FASTRPC_ALIGN 128 29#define FASTRPC_MAX_FDLIST 16 30#define FASTRPC_MAX_CRCLIST 64 31#define FASTRPC_PHYS(p) ((p) & 0xffffffff) 32#define FASTRPC_CTX_MAX (256) 33#define FASTRPC_INIT_HANDLE 1 34#define FASTRPC_CTXID_MASK (0xFF0) |
35#define INIT_FILELEN_MAX (2 * 1024 * 1024) | 35#define INIT_FILELEN_MAX (64 * 1024 * 1024) |
36#define INIT_MEMLEN_MAX (8 * 1024 * 1024) 37#define FASTRPC_DEVICE_NAME "fastrpc" 38 39/* Retrives number of input buffers from the scalars parameter */ 40#define REMOTE_SCALARS_INBUFS(sc) (((sc) >> 16) & 0x0ff) 41 42/* Retrives number of output buffers from the scalars parameter */ 43#define REMOTE_SCALARS_OUTBUFS(sc) (((sc) >> 8) & 0x0ff) --- 1497 unchanged lines hidden --- | 36#define INIT_MEMLEN_MAX (8 * 1024 * 1024) 37#define FASTRPC_DEVICE_NAME "fastrpc" 38 39/* Retrives number of input buffers from the scalars parameter */ 40#define REMOTE_SCALARS_INBUFS(sc) (((sc) >> 16) & 0x0ff) 41 42/* Retrives number of output buffers from the scalars parameter */ 43#define REMOTE_SCALARS_OUTBUFS(sc) (((sc) >> 8) & 0x0ff) --- 1497 unchanged lines hidden --- |