summaryrefslogtreecommitdiff
path: root/drivers/uio/msm_sharedmem/remote_filesystem_access_v01.h
blob: acd24c087e48705767a51d4d822a11dae717abd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 /* Copyright (c) 2014, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */
#ifndef __REMOTE_FILESYSTEM_ACCESS_V01_H__
#define __REMOTE_FILESYSTEM_ACCESS_V01_H__

#define RFSA_SERVICE_ID_V01 0x1C
#define RFSA_SERVICE_VERS_V01 0x01

#define QMI_RFSA_GET_BUFF_ADDR_REQ_MSG_V01 0x0023
#define QMI_RFSA_GET_BUFF_ADDR_RESP_MSG_V01 0x0023

#define RFSA_GET_BUFF_ADDR_REQ_MSG_MAX_LEN_V01 14
#define RFSA_GET_BUFF_ADDR_RESP_MSG_MAX_LEN_V01 18

extern struct elem_info rfsa_get_buff_addr_req_msg_v01_ei[];
extern struct elem_info rfsa_get_buff_addr_resp_msg_v01_ei[];

struct rfsa_get_buff_addr_req_msg_v01 {
	uint32_t client_id;
	uint32_t size;
};

struct rfsa_get_buff_addr_resp_msg_v01 {
	struct qmi_response_type_v01 resp;
	uint8_t address_valid;
	uint64_t address;
};

#endif /* __REMOTE_FILESYSTEM_ACCESS_V01_H__ */