| .. | .. |
|---|
| 36 | 36 | #include "mpp_common.h" |
|---|
| 37 | 37 | #include "mpp_iommu.h" |
|---|
| 38 | 38 | |
|---|
| 39 | | -/* Use 'v' as magic number */ |
|---|
| 40 | | -#define MPP_IOC_MAGIC 'v' |
|---|
| 41 | | - |
|---|
| 42 | | -#define MPP_IOC_CFG_V1 _IOW(MPP_IOC_MAGIC, 1, unsigned int) |
|---|
| 43 | | -#define MPP_IOC_CFG_V2 _IOW(MPP_IOC_MAGIC, 2, unsigned int) |
|---|
| 44 | | - |
|---|
| 45 | 39 | /* input parmater structure for version 1 */ |
|---|
| 46 | 40 | struct mpp_msg_v1 { |
|---|
| 47 | 41 | __u32 cmd; |
|---|
| .. | .. |
|---|
| 49 | 43 | __u32 size; |
|---|
| 50 | 44 | __u32 offset; |
|---|
| 51 | 45 | __u64 data_ptr; |
|---|
| 52 | | -}; |
|---|
| 53 | | - |
|---|
| 54 | | -#define MPP_BAT_MSG_DONE (0x00000001) |
|---|
| 55 | | - |
|---|
| 56 | | -struct mpp_bat_msg { |
|---|
| 57 | | - __u64 flag; |
|---|
| 58 | | - __u32 fd; |
|---|
| 59 | | - __s32 ret; |
|---|
| 60 | 46 | }; |
|---|
| 61 | 47 | |
|---|
| 62 | 48 | #ifdef CONFIG_ROCKCHIP_MPP_PROC_FS |
|---|