Go to the source code of this file.
|
#define | _IOC_NRSHIFT 0 |
|
#define | _IOC_NRBITS 8 |
|
#define | _IOC_NRMASK ((1 << _IOC_NRBITS) - 1) |
|
#define | _IOC_TYPESHIFT (_IOC_NRSHIFT + _IOC_NRBITS) |
|
#define | _IOC_TYPEBITS 8 |
|
#define | _IOC_TYPEMASK ((1 << _IOC_TYPEBITS) - 1) |
|
#define | _IOC_SIZESHIFT (_IOC_TYPESHIFT + _IOC_TYPEBITS) |
|
#define | _IOC_SIZEBITS 14 |
|
#define | _IOC_SIZEMASK ((1 << _IOC_SIZEBITS) - 1) |
|
#define | _IOC_DIRSHIFT (_IOC_SIZESHIFT + _IOC_SIZEBITS) |
|
#define | _IOC_DIRBITS 2 |
|
#define | _IOC_DIRMASK ((1 << _IOC_DIRBITS) - 1) |
|
#define | _IOC_NONE 0 |
|
#define | _IOC_WRITE 1 |
|
#define | _IOC_READ 2 |
|
#define | _IOC(dir, type, nr, size) |
|
#define | _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) |
|
#define | _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) |
|
#define | _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) |
|
#define | _IOWR(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size)) |
|
#define | _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) |
|
#define | _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) |
|
#define | _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) |
|
#define | _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) |
|
|
int | ioctl (int fd, unsigned long request,...) |
|
◆ _IOC_NRSHIFT
◆ _IOC_NRBITS
◆ _IOC_NRMASK
◆ _IOC_TYPESHIFT
◆ _IOC_TYPEBITS
◆ _IOC_TYPEMASK
◆ _IOC_SIZESHIFT
◆ _IOC_SIZEBITS
◆ _IOC_SIZEMASK
◆ _IOC_DIRSHIFT
◆ _IOC_DIRBITS
◆ _IOC_DIRMASK
◆ _IOC_NONE
◆ _IOC_WRITE
◆ _IOC_READ
◆ _IOC
Value:
)
#define _IOC_DIRSHIFT
Definition ioctl.h:30
#define _IOC_TYPESHIFT
Definition ioctl.h:22
#define _IOC_SIZESHIFT
Definition ioctl.h:26
#define _IOC_NRSHIFT
Definition ioctl.h:18
vk_av_control_type_t type
Definition vsf_audio.h:170
uint32_t size
Definition vsf_memfs.h:50
◆ _IO
◆ _IOR
◆ _IOW
◆ _IOWR
◆ _IOC_DIR
◆ _IOC_TYPE
◆ _IOC_NR
◆ _IOC_SIZE
◆ vsf_linux_sys_ioctl_vplt_t
◆ anonymous enum
Enumerator |
---|
TIOCGWINSZ | |
TIOCGSERIAL | |
TIOCSSERIAL | |
TIOCSCTTY | |
FIONREAD | |
TIOCSERCONFIG | |
TIOCSWINSZ | |
TIOCCONS | |
◆ ioctl()
int ioctl |
( |
int |
fd, |
|
|
unsigned long |
request, |
|
|
|
... |
|
) |
| |
◆ vsf_linux_sys_ioctl_vplt