/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
D | osal_ioctl.h | 61 #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/ |
D | osal_ioctl.h | 91 #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/ |
D | osal_ioctl.h | 91 #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/ |
D | osal_ioctl.h | 94 #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/ |
D | ioctl.h | 4 #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/ |
D | aml_dmx_ext.c | 84 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()
|
D | aml_dsc.c | 928 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/ |
D | osal_device.c | 197 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/ |
D | mali_kbase_hwcnt_reader.h | 35 _IOC(_IOC_READ, KBASE_HWCNT_READER, 0x20, offsetof(struct kbase_hwcnt_reader_metadata, cycles))
|
D | mali_kbase_core_linux.c | 1630 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/ |
D | dvbdev.c | 863 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()
|
D | dvb_ca_en50221_cimax.c | 1325 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/ |
D | osal_device.c | 268 } 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/ |
D | mali_kbase_hwcnt_reader.h | 34 #define KBASE_HWCNT_READER_GET_BUFFER _IOC(_IOC_READ, KBASE_HWCNT_READER, 0x20,\
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
D | drv_mmz_compat.c | 162 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/ |
D | dvb_ca_en50221_cimcu.c | 1341 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/ |
D | aml_dvb.c | 583 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/ |
D | mali_kbase_core_linux.c | 1786 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/ |
D | mali_kbase_core_linux.c | 1707 …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/ |
D | mali_kbase_core_linux.c | 1562 BUILD_BUG_ON(_IOC_DIR(cmd) != _IOC_READ); \ 1579 BUILD_BUG_ON(_IOC_DIR(cmd) != (_IOC_WRITE | _IOC_READ)); \
|