/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
H A D | osal_ioctl.h | 65 #define _IOC(dir, type, nr, size) \ macro 86 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) 87 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) 88 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(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)) 91 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 92 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
H A D | osal_ioctl.h | 98 #ifndef _IOC 99 #define _IOC(dir, type, nr, size) \ macro 120 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) 124 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) 128 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (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)) 140 #define _IOW_BAD(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) 144 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size))
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | osal_ioctl.h | 95 #ifndef _IOC 96 #define _IOC(dir, type, nr, size) \ macro 117 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) 121 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) 125 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (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)) 137 #define _IOW_BAD(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) 141 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size))
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | osal_ioctl.h | 95 #ifndef _IOC 96 #define _IOC(dir, type, nr, size) \ macro 117 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) 121 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) 125 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (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)) 137 #define _IOW_BAD(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) 141 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size))
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/arch/generic/bits/ |
H A D | ioctl.h | 1 #define _IOC(a,b,c,d) ( ((a)<<30) | ((b)<<8) | (c) | ((d)<<16) ) macro 6 #define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0) 7 #define _IOW(a,b,c) _IOC(_IOC_WRITE,(a),(b),sizeof(c)) 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/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_hwcnt_reader.h | 35 _IOC(_IOC_READ, KBASE_HWCNT_READER, 0x20, offsetof(struct kbase_hwcnt_reader_metadata, cycles)) 38 _IOC(_IOC_WRITE, KBASE_HWCNT_READER, 0x21, offsetof(struct kbase_hwcnt_reader_metadata, cycles))
|
/device/soc/rockchip/rk3588/kernel/include/uapi/gpu/arm/bifrost/ |
H A D | mali_kbase_hwcnt_reader.h | 34 #define KBASE_HWCNT_READER_GET_BUFFER _IOC(_IOC_READ, KBASE_HWCNT_READER, 0x20,\ 38 #define KBASE_HWCNT_READER_PUT_BUFFER _IOC(_IOC_WRITE, KBASE_HWCNT_READER, 0x21,\
|
/device/soc/rockchip/common/hardware/mpp/include/ |
H A D | vcodec_service.h | 32 #define VPU_IOC_WRITE(nr, size) _IOC(_IOC_WRITE, VPU_IOC_MAGIC, (nr), (size))
|
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
H A D | vcodec_service.h | 32 #define VPU_IOC_WRITE(nr, size) _IOC(_IOC_WRITE, VPU_IOC_MAGIC, (nr), (size))
|
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
H A D | vcodec_service.h | 32 #define VPU_IOC_WRITE(nr, size) _IOC(_IOC_WRITE, VPU_IOC_MAGIC, (nr), (size))
|
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | vcodec_service.h | 33 #define VPU_IOC_WRITE(nr, size) _IOC(_IOC_WRITE, VPU_IOC_MAGIC, (nr), (size))
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_ioctl.h | 29 * round this by redefining _IOC to include a case to 'int'. 31 #undef _IOC macro 32 #define _IOC(dir, type, nr, size) \ macro
|
H A D | mali_kbase_core_linux.c | 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/midgard/ |
H A D | mali_kbase_ioctl.h | 32 * round this by redefining _IOC to include a case to 'int'. 34 #undef _IOC macro 35 #define _IOC(dir, type, nr, size) \ macro
|
H A D | mali_kbase_core_linux.c | 1827 if (cmd == _IOC(_IOC_READ|_IOC_WRITE, LINUX_UK_BASE_MAGIC, in kbase_ioctl()
|