lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /*******************************************************************************
|
| 2 | * Copyright (C) 2013, ZTE Corporation.
|
| 3 | *
|
| 4 | * File Name: rpmsg_zx29.h
|
| 5 | * File Mark:
|
| 6 | * Description:
|
| 7 | * Others:
|
| 8 | * Version: V0.1
|
| 9 | * Author: ShiDeYou
|
| 10 | * Date: 2013-09-23
|
| 11 | * History 1:
|
| 12 | * Date:
|
| 13 | * Version:
|
| 14 | * Author:
|
| 15 | * Modification:
|
| 16 | *******************************************************************************/
|
| 17 |
|
| 18 | /*******************************************************************************
|
| 19 | * Include files *
|
| 20 | *******************************************************************************/
|
| 21 |
|
| 22 | /*******************************************************************************
|
| 23 | * Types *
|
| 24 | *******************************************************************************/
|
| 25 | #ifndef RPMSG_ZX29_H
|
| 26 | #define RPMSG_ZX29_H
|
| 27 |
|
| 28 | #include <linux/ioctl.h>
|
| 29 |
|
| 30 | #define RPMSG_IOC_MAGIC 'R'
|
| 31 |
|
| 32 | /*ioctl cmd usd by device*/
|
| 33 | #define RPMSG_CREATE_CHANNEL _IOW(RPMSG_IOC_MAGIC, 1, char *)
|
| 34 | #define RPMSG_GET_DATASIZE _IOWR(RPMSG_IOC_MAGIC, 2, char *)
|
| 35 | #define RPMSG_SET_INT _IOW(RPMSG_IOC_MAGIC, 3, char *)
|
| 36 | #define RPMSG_SET_INT_FLAG _IOW(RPMSG_IOC_MAGIC, 4, char *)
|
| 37 | #define RPMSG_CLEAR_INT_FLAG _IOW(RPMSG_IOC_MAGIC, 5, char *)
|
| 38 | #define RPMSG_SET_POLL_FLAG _IOW(RPMSG_IOC_MAGIC, 6, char *)
|
| 39 | #define RPMSG_CLEAR_POLL_FLAG _IOW(RPMSG_IOC_MAGIC, 7, char *)
|
| 40 |
|
| 41 | #define AT_DEV armps_rpmsgch9
|
| 42 | #define FOTA_DEV "/dev/armps_rpmsgch12"
|
| 43 |
|
| 44 | #endif
|