Home
last modified time | relevance | path

Searched refs:_IOC_READ (Results 1 – 20 of 20) sorted by relevance

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
Dosal_ioctl.h61 #ifndef _IOC_READ
62 #define _IOC_READ 2U macro
87 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
89 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))
90 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
92 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
101 #define IOC_OUT (_IOC_READ << _IOC_DIRSHIFT)
102 #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT)
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dosal_ioctl.h91 #ifndef _IOC_READ
92 #define _IOC_READ 2U macro
121 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size)))
129 #define _IOWR(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size)))
133 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size))
141 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size))
169 #define IOC_OUT (_IOC_READ << _IOC_DIRSHIFT)
173 #define IOC_INOUT ((_IOC_WRITE | _IOC_READ) << _IOC_DIRSHIFT)
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dosal_ioctl.h91 #ifndef _IOC_READ
92 #define _IOC_READ 2U macro
121 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size)))
129 #define _IOWR(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size)))
133 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size))
141 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size))
169 #define IOC_OUT (_IOC_READ << _IOC_DIRSHIFT)
173 #define IOC_INOUT ((_IOC_WRITE | _IOC_READ) << _IOC_DIRSHIFT)
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
Dosal_ioctl.h94 #ifndef _IOC_READ
95 #define _IOC_READ 2U macro
124 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size)))
132 #define _IOWR(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size)))
136 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size))
144 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size))
172 #define IOC_OUT (_IOC_READ << _IOC_DIRSHIFT)
176 #define IOC_INOUT ((_IOC_WRITE | _IOC_READ) << _IOC_DIRSHIFT)
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/arch/generic/bits/
Dioctl.h4 #define _IOC_READ 2U macro
8 #define _IOR(a,b,c) _IOC(_IOC_READ,(a),(b),sizeof(c))
9 #define _IOWR(a,b,c) _IOC(_IOC_READ|_IOC_WRITE,(a),(b),sizeof(c))
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/
Daml_dmx_ext.c84 case _IOC_READ: /* some v4l ioctls are marked wrong ... */ in usercopy()
86 case (_IOC_WRITE | _IOC_READ): in usercopy()
113 case _IOC_READ: in usercopy()
114 case (_IOC_WRITE | _IOC_READ): in usercopy()
Daml_dsc.c928 case _IOC_READ: /* some v4l ioctls are marked wrong ... */ in _dvb_dsc_usercopy()
930 case (_IOC_WRITE | _IOC_READ): in _dvb_dsc_usercopy()
957 case _IOC_READ: in _dvb_dsc_usercopy()
958 case (_IOC_WRITE | _IOC_READ): in _dvb_dsc_usercopy()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
Dosal_device.c197 case _IOC_READ: in osal_ioctl_copy_from_user()
199 case (_IOC_WRITE | _IOC_READ): in osal_ioctl_copy_from_user()
247 case _IOC_READ: in osal_ioctl_copy_to_user()
248 case (_IOC_WRITE | _IOC_READ): in osal_ioctl_copy_to_user()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_hwcnt_reader.h35 _IOC(_IOC_READ, KBASE_HWCNT_READER, 0x20, offsetof(struct kbase_hwcnt_reader_metadata, cycles))
Dmali_kbase_core_linux.c1630 BUILD_BUG_ON(_IOC_DIR(cmd) != _IOC_READ); \
1644 BUILD_BUG_ON(_IOC_DIR(cmd) != (_IOC_WRITE | _IOC_READ)); \
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimax/
Ddvbdev.c863 case _IOC_READ: /* some v4l ioctls are marked wrong ... */ in dvb_usercopy()
865 case (_IOC_WRITE | _IOC_READ): in dvb_usercopy()
892 case _IOC_READ: in dvb_usercopy()
893 case (_IOC_WRITE | _IOC_READ): in dvb_usercopy()
Ddvb_ca_en50221_cimax.c1325 case _IOC_READ: /* some v4l ioctls are marked wrong ... */ in dvb_usercopy__()
1327 case (_IOC_WRITE | _IOC_READ): in dvb_usercopy__()
1354 case _IOC_READ: in dvb_usercopy__()
1355 case (_IOC_WRITE | _IOC_READ): in dvb_usercopy__()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
Dosal_device.c268 } else if (_IOC_DIR(cmd) == _IOC_READ) { in __osal_unlocked_ioctl()
286 } else if (_IOC_DIR(cmd) == (_IOC_READ + _IOC_WRITE)) { in __osal_unlocked_ioctl()
379 } else if (_IOC_DIR(cmd) == _IOC_READ) { in __osal_compat_ioctl()
397 } else if (_IOC_DIR(cmd) == (_IOC_READ + _IOC_WRITE)) { in __osal_compat_ioctl()
/device/soc/rockchip/rk3588/kernel/include/uapi/gpu/arm/bifrost/
Dmali_kbase_hwcnt_reader.h34 #define KBASE_HWCNT_READER_GET_BUFFER _IOC(_IOC_READ, KBASE_HWCNT_READER, 0x20,\
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
Ddrv_mmz_compat.c162 if (_IOC_DIR(cmd) & _IOC_READ) { in compat_mmz_userdev_ioctl_m()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimcu/
Ddvb_ca_en50221_cimcu.c1341 case _IOC_READ: /* some v4l ioctls are marked wrong ... */ in dvb_usercopy__()
1343 case (_IOC_WRITE | _IOC_READ): in dvb_usercopy__()
1370 case _IOC_READ: in dvb_usercopy__()
1371 case (_IOC_WRITE | _IOC_READ): in dvb_usercopy__()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/hw_demux/
Daml_dvb.c583 case _IOC_READ: /* some v4l ioctls are marked wrong ... */ in dvb_dsc_usercopy()
585 case (_IOC_WRITE | _IOC_READ): in dvb_dsc_usercopy()
612 case _IOC_READ: in dvb_dsc_usercopy()
613 case (_IOC_WRITE | _IOC_READ): in dvb_dsc_usercopy()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_core_linux.c1786 BUILD_BUG_ON(_IOC_DIR(cmd) != _IOC_READ); \
1800 BUILD_BUG_ON(_IOC_DIR(cmd) != (_IOC_WRITE|_IOC_READ)); \
1827 if (cmd == _IOC(_IOC_READ|_IOC_WRITE, LINUX_UK_BASE_MAGIC, in kbase_ioctl()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_core_linux.c1707 …BUILD_BUG_ON(_IOC_DIR(cmd) != _IOC_READ); …
1721 …BUILD_BUG_ON(_IOC_DIR(cmd) != (_IOC_WRITE | _IOC_READ)); …
1749 if (cmd == _IOC(_IOC_READ | _IOC_WRITE, LINUX_UK_BASE_MAGIC, UKP_FUNC_ID_CHECK_VERSION, in kbase_ioctl()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_core_linux.c1562 BUILD_BUG_ON(_IOC_DIR(cmd) != _IOC_READ); \
1579 BUILD_BUG_ON(_IOC_DIR(cmd) != (_IOC_WRITE | _IOC_READ)); \