Home
last modified time | relevance | path

Searched refs:_IOC (Results 1 - 15 of 15) sorted by relevance

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
H A Dosal_ioctl.h65 #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 Dosal_ioctl.h98 #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 Dosal_ioctl.h95 #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 Dosal_ioctl.h95 #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 Dioctl.h1 #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 Dmali_kbase_hwcnt_reader.h35 _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 Dmali_kbase_hwcnt_reader.h34 #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 Dvcodec_service.h32 #define VPU_IOC_WRITE(nr, size) _IOC(_IOC_WRITE, VPU_IOC_MAGIC, (nr), (size))
/device/soc/rockchip/rk3399/hardware/mpp/include/
H A Dvcodec_service.h32 #define VPU_IOC_WRITE(nr, size) _IOC(_IOC_WRITE, VPU_IOC_MAGIC, (nr), (size))
/device/soc/rockchip/rk3568/hardware/mpp/include/
H A Dvcodec_service.h32 #define VPU_IOC_WRITE(nr, size) _IOC(_IOC_WRITE, VPU_IOC_MAGIC, (nr), (size))
/device/soc/rockchip/rk3588/hardware/mpp/include/
H A Dvcodec_service.h33 #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 Dmali_kbase_ioctl.h29 * 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 Dmali_kbase_core_linux.c1749 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 Dmali_kbase_ioctl.h32 * 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 Dmali_kbase_core_linux.c1827 if (cmd == _IOC(_IOC_READ|_IOC_WRITE, LINUX_UK_BASE_MAGIC, in kbase_ioctl()

Completed in 31 milliseconds