0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _UAPI_FSL_MC_H_
0009 #define _UAPI_FSL_MC_H_
0010
0011 #include <linux/types.h>
0012
0013 #define MC_CMD_NUM_OF_PARAMS 7
0014
0015
0016
0017
0018
0019
0020
0021
0022 struct fsl_mc_command {
0023 __le64 header;
0024 __le64 params[MC_CMD_NUM_OF_PARAMS];
0025 };
0026
0027 #define FSL_MC_SEND_CMD_IOCTL_TYPE 'R'
0028 #define FSL_MC_SEND_CMD_IOCTL_SEQ 0xE0
0029
0030 #define FSL_MC_SEND_MC_COMMAND \
0031 _IOWR(FSL_MC_SEND_CMD_IOCTL_TYPE, FSL_MC_SEND_CMD_IOCTL_SEQ, \
0032 struct fsl_mc_command)
0033
0034 #endif