Home
last modified time | relevance | path

Searched refs:_IOC_TYPE (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/linux/include/drm/
H A Ddrm_ioctl.h71 #define DRM_IOCTL_TYPE(n) _IOC_TYPE(n)
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dioctl.h55 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) macro
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dioctl.h55 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) macro
/openbmc/linux/include/uapi/asm-generic/
H A Dioctl.h95 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) macro
/openbmc/linux/rust/kernel/
H A Dioctl.rs60 pub const fn _IOC_TYPE(nr: u32) -> u32 { in _IOC_TYPE() function
/openbmc/u-boot/include/asm-generic/
H A Dioctl.h93 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) macro
/openbmc/linux/drivers/spi/
H A Dspidev.c338 if (_IOC_TYPE(cmd) != SPI_IOC_MAGIC in spidev_get_ioc_message()
365 if (_IOC_TYPE(cmd) != SPI_IOC_MAGIC) in spidev_ioctl()
582 if (_IOC_TYPE(cmd) == SPI_IOC_MAGIC in spidev_compat_ioctl()
/openbmc/linux/fs/orangefs/
H A Ddevorangefs-req.c575 if (_IOC_TYPE(command) != ORANGEFS_DEV_MAGIC) { in check_ioctl_command()
578 _IOC_TYPE(command), in check_ioctl_command()
/openbmc/linux/fs/autofs/
H A Ddev-ioctl.c606 if (_IOC_TYPE(command) != _IOC_TYPE(AUTOFS_DEV_IOCTL_IOC_FIRST) || in _autofs_dev_ioctl()
H A Droot.c863 if (_IOC_TYPE(cmd) != _IOC_TYPE(AUTOFS_IOC_FIRST) || in autofs_root_ioctl_unlocked()
/openbmc/linux/tools/perf/trace/beauty/
H A Dioctl.c130 type = _IOC_TYPE(cmd), in ioctl__scnprintf_cmd()
/openbmc/linux/kernel/power/
H A Duser.c262 if (_IOC_TYPE(cmd) != SNAPSHOT_IOC_MAGIC) in snapshot_ioctl()
/openbmc/linux/drivers/s390/char/
H A Duvdevice.c386 if (_IOC_TYPE(cmd) != UVIO_TYPE_UVC) in uvio_copy_and_check_ioctl()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_chardev.c350 if (_IOC_TYPE(cmd) != CROS_EC_DEV_IOC) in cros_ec_chardev_ioctl()
/openbmc/linux/drivers/pps/
H A Dpps.c255 cmd = _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(void *)); in pps_cdev_compat_ioctl()
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-compat-ioctl32.c1191 if (_IOC_TYPE(cmd) == 'V' && _IOC_NR(cmd) < BASE_VIDIOC_PRIVATE) in v4l2_compat_ioctl32()
1199 _IOC_TYPE(cmd), _IOC_DIR(cmd), _IOC_NR(cmd), cmd); in v4l2_compat_ioctl32()
/openbmc/linux/fs/xfs/
H A Dxfs_ioctl32.c29 _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(type))
/openbmc/linux/drivers/usb/class/
H A Dusblp.c536 _IOC_TYPE(cmd), _IOC_NR(cmd), _IOC_SIZE(cmd), _IOC_DIR(cmd)); in usblp_ioctl()
538 if (_IOC_TYPE(cmd) == 'P') /* new-style ioctl number */ in usblp_ioctl()
/openbmc/linux/drivers/virt/
H A Dfsl_hypervisor.c445 _IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), in fsl_hv_ioctl()
/openbmc/linux/drivers/hid/
H A Dhidraw.c427 if (_IOC_TYPE(cmd) != 'H') { in hidraw_ioctl()
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_mm.c118 if ((_IOC_TYPE(cmd) != MEGAIOC_MAGIC) && (cmd != USCSICMD)) { in mraid_mm_ioctl()
/openbmc/linux/drivers/hid/usbhid/
H A Dhiddev.c820 if (_IOC_TYPE(cmd) != 'H' || _IOC_DIR(cmd) != _IOC_READ) in hiddev_ioctl()
/openbmc/linux/drivers/scsi/
H A Dst.c3538 cmd_type = _IOC_TYPE(cmd_in); in st_ioctl()
3541 if (cmd_type == _IOC_TYPE(MTIOCTOP) && cmd_nr == _IOC_NR(MTIOCTOP)) { in st_ioctl()
3746 if (cmd_type == _IOC_TYPE(MTIOCGET) && cmd_nr == _IOC_NR(MTIOCGET)) { in st_ioctl()
3811 if (cmd_type == _IOC_TYPE(MTIOCPOS) && cmd_nr == _IOC_NR(MTIOCPOS)) { in st_ioctl()
/openbmc/linux/drivers/misc/genwqe/
H A Dcard_dev.c1067 if (_IOC_TYPE(cmd) != GENWQE_IOC_CODE) in genwqe_ioctl()
/openbmc/linux/net/rfkill/
H A Dcore.c1357 if (_IOC_TYPE(cmd) != RFKILL_IOC_MAGIC) in rfkill_fop_ioctl()

12