Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/mips/include/uapi/asm/ioctl.h
26495 views
1
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2
/*
3
* This file is subject to the terms and conditions of the GNU General Public
4
* License. See the file "COPYING" in the main directory of this archive
5
* for more details.
6
*
7
* Copyright (C) 1995, 96, 99, 2001 Ralf Baechle <[email protected]>
8
* Copyright (C) 2009 Wind River Systems
9
* Written by Ralf Baechle <[email protected]>
10
*/
11
#ifndef __ASM_IOCTL_H
12
#define __ASM_IOCTL_H
13
14
#define _IOC_SIZEBITS 13
15
#define _IOC_DIRBITS 3
16
17
/*
18
* Direction bits _IOC_NONE could be 0, but OSF/1 gives it a bit.
19
* And this turns out useful to catch old ioctl numbers in header
20
* files for us.
21
*/
22
#define _IOC_NONE 1U
23
#define _IOC_READ 2U
24
#define _IOC_WRITE 4U
25
26
#include <asm-generic/ioctl.h>
27
28
#endif /* __ASM_IOCTL_H */
29
30