summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl-mc/bus/mc-ioctl.h
blob: 8ac502a12d2e3099456695e68ac36de6f12024d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Freescale Management Complex (MC) ioclt interface
 *
 * Copyright (C) 2014 Freescale Semiconductor, Inc.
 * Author: Lijun Pan <Lijun.Pan@freescale.com>
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2. This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */
#ifndef _FSL_MC_IOCTL_H_
#define _FSL_MC_IOCTL_H_

#include <linux/ioctl.h>
#include "../include/mc-sys.h"

#define RESTOOL_IOCTL_TYPE   'R'

#define RESTOOL_SEND_MC_COMMAND \
	_IOWR(RESTOOL_IOCTL_TYPE, 0xE0, struct mc_command)

#endif /* _FSL_MC_IOCTL_H_ */