| /kernel/linux/linux-5.10/include/media/ |
| D | v4l2-ioctl.h | 23 * struct v4l2_ioctl_ops - describe operations for each V4L2 ioctl 26 * :ref:`VIDIOC_QUERYCAP <vidioc_querycap>` ioctl 28 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 31 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 34 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 37 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 40 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 43 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 46 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 49 * :ref:`VIDIOC_G_FMT <vidioc_g_fmt>` ioctl logic for video capture [all …]
|
| /kernel/linux/linux-6.6/include/media/ |
| D | v4l2-ioctl.h | 23 * struct v4l2_ioctl_ops - describe operations for each V4L2 ioctl 26 * :ref:`VIDIOC_QUERYCAP <vidioc_querycap>` ioctl 28 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 31 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 34 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 37 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 40 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 43 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 46 * :ref:`VIDIOC_ENUM_FMT <vidioc_enum_fmt>` ioctl logic 49 * :ref:`VIDIOC_G_FMT <vidioc_g_fmt>` ioctl logic for video capture [all …]
|
| /kernel/linux/linux-5.10/include/drm/ |
| D | drm_ioctl.h | 38 #include <asm/ioctl.h> 45 * drm_ioctl_t - DRM ioctl function type. 47 * @data: private pointer of the ioctl call 48 * @file_priv: DRM file this ioctl was made on 50 * This is the DRM ioctl typedef. Note that drm_ioctl() has alrady copied @data 52 * settings in the ioctl command code. 58 * drm_ioctl_compat_t - compatibility DRM ioctl function type. 60 * @cmd: ioctl command code 61 * @arg: DRM file this ioctl was made on 64 * New drivers shouldn't screw up the structure layout for their ioctl [all …]
|
| /kernel/linux/linux-6.6/include/drm/ |
| D | drm_ioctl.h | 38 #include <asm/ioctl.h> 45 * drm_ioctl_t - DRM ioctl function type. 47 * @data: private pointer of the ioctl call 48 * @file_priv: DRM file this ioctl was made on 50 * This is the DRM ioctl typedef. Note that drm_ioctl() has alrady copied @data 52 * settings in the ioctl command code. 58 * drm_ioctl_compat_t - compatibility DRM ioctl function type. 60 * @cmd: ioctl command code 61 * @arg: DRM file this ioctl was made on 64 * New drivers shouldn't screw up the structure layout for their ioctl [all …]
|
| /kernel/linux/linux-6.6/rust/kernel/ |
| D | ioctl.rs | 3 //! ioctl() number definitions 5 //! C header: [`include/asm-generic/ioctl.h`](../../../../include/asm-generic/ioctl.h) 11 /// Build an ioctl number, analogous to the C macro of the same name. 25 /// Build an ioctl number for an argumentless ioctl. 31 /// Build an ioctl number for an read-only ioctl. 37 /// Build an ioctl number for an write-only ioctl. 43 /// Build an ioctl number for a read-write ioctl. 54 /// Get the ioctl direction from an ioctl number. 59 /// Get the ioctl type from an ioctl number. 64 /// Get the ioctl number from an ioctl number. [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/ioctl/ |
| D | cdrom.rst | 2 Summary of CDROM ioctl calls 9 This document attempts to describe the ioctl(2) calls supported by 13 ioctl values are listed in <linux/cdrom.h>. As of this writing, they 83 Unless otherwise specified, all ioctl calls return 0 on success 87 Unless otherwise specified, all ioctl calls return -1 and set 105 ioctl(fd, CDROMPAUSE, 0); 126 ioctl(fd, CDROMRESUME, 0); 151 ioctl(fd, CDROMPLAYMSF, &msf); 182 ioctl(fd, CDROMPLAYTRKIND, &ti); 211 ioctl(fd, CDROMREADTOCHDR, &header); [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/ioctl/ |
| D | cdrom.rst | 2 Summary of CDROM ioctl calls 9 This document attempts to describe the ioctl(2) calls supported by 13 ioctl values are listed in <linux/cdrom.h>. As of this writing, they 80 Unless otherwise specified, all ioctl calls return 0 on success 84 Unless otherwise specified, all ioctl calls return -1 and set 102 ioctl(fd, CDROMPAUSE, 0); 123 ioctl(fd, CDROMRESUME, 0); 148 ioctl(fd, CDROMPLAYMSF, &msf); 179 ioctl(fd, CDROMPLAYTRKIND, &ti); 208 ioctl(fd, CDROMREADTOCHDR, &header); [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/tty/ |
| D | n_gsm.rst | 26 ``TIOCSETD`` ioctl. 28 #. Configure the mux using ``GSMIOC_GETCONF_EXT``/``GSMIOC_SETCONF_EXT`` ioctl if needed. 30 #. Configure the mux using ``GSMIOC_GETCONF``/``GSMIOC_SETCONF`` ioctl. 32 #. Configure DLCs using ``GSMIOC_GETCONF_DLCI``/``GSMIOC_SETCONF_DLCI`` ioctl for non-defaults. 69 ioctl(fd, TIOCSETD, &ldisc); 72 ioctl(fd, GSMIOC_GETCONF_EXT, &ce); 76 ioctl(fd, GSMIOC_SETCONF_EXT, &ce); 78 ioctl(fd, GSMIOC_GETCONF, &c); 86 ioctl(fd, GSMIOC_SETCONF, &c); 89 ioctl(fd, GSMIOC_GETCONF_DLCI, &dc); [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | func-ioctl.rst | 4 .. _func-ioctl: 7 V4L2 ioctl() 13 v4l2-ioctl - Program a V4L2 device 20 #include <sys/ioctl.h> 22 ``int ioctl(int fd, int request, void *argp)`` 31 V4L2 ioctl request code as defined in the ``videodev2.h`` header 40 The :ref:`ioctl() <func-ioctl>` function is used to program V4L2 devices. The 41 argument ``fd`` must be an open file descriptor. An ioctl ``request`` 44 defines specifying V4L2 ioctl requests are located in the 47 All V4L2 ioctl requests, their respective function and parameters are [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | func-ioctl.rst | 4 .. _func-ioctl: 7 V4L2 ioctl() 13 v4l2-ioctl - Program a V4L2 device 20 #include <sys/ioctl.h> 22 ``int ioctl(int fd, int request, void *argp)`` 31 V4L2 ioctl request code as defined in the ``videodev2.h`` header 40 The :ref:`ioctl() <func-ioctl>` function is used to program V4L2 devices. The 41 argument ``fd`` must be an open file descriptor. An ioctl ``request`` 44 defines specifying V4L2 ioctl requests are located in the 47 All V4L2 ioctl requests, their respective function and parameters are [all …]
|
| /kernel/linux/linux-5.10/Documentation/translations/zh_CN/video4linux/ |
| D | omap3isp.txt | 104 通过 VIDIOC_OMAP3ISP_STAT_REQ IOCTL 操作获取时,就会产生一个 111 这些 ioctl 的事件数据类型为 struct omap3isp_stat_event_status 117 私有 IOCTL 120 OMAP 3 ISP 驱动支持标准的 V4L2 IOCTL 以及可能存在且实用的控制。但 121 ISP 提供的许多功能都不在标准 IOCTL 之列,例如 gamma(伽马)表和统计 124 通常,会有一个私有 ioctl 用于配置每个包含硬件依赖功能的模块。 126 支持以下私有 IOCTL: 136 在 include/linux/omap3isp.h 中描述了这些 ioctl 使用的参数结构体。 140 虽然在不使用任何私有 IOCTL 的情况下使用 ISP 驱动是可能的,但这样无法 142 控制,以及图像均衡等)模块无法在未使用适当的私有 IOCTL 配置的情况下使用。 [all …]
|
| /kernel/linux/linux-6.6/Documentation/translations/zh_CN/video4linux/ |
| D | omap3isp.txt | 104 通过 VIDIOC_OMAP3ISP_STAT_REQ IOCTL 操作获取时,就会产生一个 111 这些 ioctl 的事件数据类型为 struct omap3isp_stat_event_status 117 私有 IOCTL 120 OMAP 3 ISP 驱动支持标准的 V4L2 IOCTL 以及可能存在且实用的控制。但 121 ISP 提供的许多功能都不在标准 IOCTL 之列,例如 gamma(伽马)表和统计 124 通常,会有一个私有 ioctl 用于配置每个包含硬件依赖功能的模块。 126 支持以下私有 IOCTL: 136 在 include/linux/omap3isp.h 中描述了这些 ioctl 使用的参数结构体。 140 虽然在不使用任何私有 IOCTL 的情况下使用 ISP 驱动是可能的,但这样无法 142 控制,以及图像均衡等)模块无法在未使用适当的私有 IOCTL 配置的情况下使用。 [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/mediactl/ |
| D | media-func-ioctl.rst | 4 .. _media-func-ioctl: 7 media ioctl() 13 media-ioctl - Control a media device 20 #include <sys/ioctl.h> 22 ``int ioctl(int fd, int request, void *argp)`` 31 Media ioctl request code as defined in the media.h header file, for 40 The :ref:`ioctl() <media-func-ioctl>` function manipulates media device 43 The ioctl ``request`` code specifies the media function to be called. It 47 Macros and structures definitions specifying media ioctl requests and 48 their parameters are located in the media.h header file. All media ioctl [all …]
|
| D | request-func-ioctl.rst | 4 .. _request-func-ioctl: 7 request ioctl() 13 request-ioctl - Control a request file descriptor 20 #include <sys/ioctl.h> 22 ``int ioctl(int fd, int cmd, void *argp)`` 31 The request ioctl command code as defined in the media.h header file, for 40 The :ref:`ioctl() <request-func-ioctl>` function manipulates request 43 The ioctl ``cmd`` code specifies the request function to be called. It 47 Macros and structures definitions specifying request ioctl commands and 48 their parameters are located in the media.h header file. All request ioctl [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/ |
| D | request-func-ioctl.rst | 4 .. _request-func-ioctl: 7 request ioctl() 13 request-ioctl - Control a request file descriptor 20 #include <sys/ioctl.h> 22 ``int ioctl(int fd, int cmd, void *argp)`` 31 The request ioctl command code as defined in the media.h header file, for 40 The :ref:`ioctl() <request-func-ioctl>` function manipulates request 43 The ioctl ``cmd`` code specifies the request function to be called. It 47 Macros and structures definitions specifying request ioctl commands and 48 their parameters are located in the media.h header file. All request ioctl [all …]
|
| D | media-func-ioctl.rst | 4 .. _media-func-ioctl: 7 media ioctl() 13 media-ioctl - Control a media device 20 #include <sys/ioctl.h> 22 ``int ioctl(int fd, int request, void *argp)`` 31 Media ioctl request code as defined in the media.h header file, for 40 The :ref:`ioctl() <media-func-ioctl>` function manipulates media device 43 The ioctl ``request`` code specifies the media function to be called. It 47 Macros and structures definitions specifying media ioctl requests and 48 their parameters are located in the media.h header file. All media ioctl [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | loop.h | 43 int lo_number; /* ioctl r/o */ 44 __kernel_old_dev_t lo_device; /* ioctl r/o */ 45 unsigned long lo_inode; /* ioctl r/o */ 46 __kernel_old_dev_t lo_rdevice; /* ioctl r/o */ 49 int lo_encrypt_key_size; /* ioctl w/o */ 52 unsigned char lo_encrypt_key[LO_KEY_SIZE]; /* ioctl w/o */ 58 __u64 lo_device; /* ioctl r/o */ 59 __u64 lo_inode; /* ioctl r/o */ 60 __u64 lo_rdevice; /* ioctl r/o */ 63 __u32 lo_number; /* ioctl r/o */ [all …]
|
| D | uinput.h | 26 * - add UI_DEV_SETUP ioctl 27 * - add UI_ABS_SETUP ioctl 28 * - add UI_GET_VERSION ioctl 30 * - add UI_GET_SYSNAME ioctl 62 /* ioctl */ 76 * This ioctl sets parameters for the input device to be created. It 81 * The ioctl takes a "struct uinput_setup" object as argument. The fields of 89 * This ioctl can be called multiple times and will overwrite previous values. 90 * If this ioctl fails with -EINVAL, it is recommended to use the old 92 * old kernel that does not support this ioctl. [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | loop.h | 38 int lo_number; /* ioctl r/o */ 39 __kernel_old_dev_t lo_device; /* ioctl r/o */ 40 unsigned long lo_inode; /* ioctl r/o */ 41 __kernel_old_dev_t lo_rdevice; /* ioctl r/o */ 44 int lo_encrypt_key_size; /* ioctl w/o */ 47 unsigned char lo_encrypt_key[LO_KEY_SIZE]; /* ioctl w/o */ 53 __u64 lo_device; /* ioctl r/o */ 54 __u64 lo_inode; /* ioctl r/o */ 55 __u64 lo_rdevice; /* ioctl r/o */ 58 __u32 lo_number; /* ioctl r/o */ [all …]
|
| D | uinput.h | 26 * - add UI_DEV_SETUP ioctl 27 * - add UI_ABS_SETUP ioctl 28 * - add UI_GET_VERSION ioctl 30 * - add UI_GET_SYSNAME ioctl 62 /* ioctl */ 76 * This ioctl sets parameters for the input device to be created. It 81 * The ioctl takes a "struct uinput_setup" object as argument. The fields of 89 * This ioctl can be called multiple times and will overwrite previous values. 90 * If this ioctl fails with -EINVAL, it is recommended to use the old 92 * old kernel that does not support this ioctl. [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/rtc/ |
| D | rtctest.c | 13 #include <sys/ioctl.h> 44 rc = ioctl(self->fd, RTC_RD_TIME, &rtc_tm); in TEST_F() 57 rc = ioctl(self->fd, RTC_UIE_ON, 0); 73 rc = ioctl(self->fd, RTC_UIE_OFF, 0); 82 rc = ioctl(self->fd, RTC_UIE_ON, 0); in TEST_F() 108 rc = ioctl(self->fd, RTC_UIE_OFF, 0); in TEST_F() 120 rc = ioctl(self->fd, RTC_RD_TIME, &tm); in TEST_F() 126 rc = ioctl(self->fd, RTC_ALM_SET, &tm); in TEST_F() 133 rc = ioctl(self->fd, RTC_ALM_READ, &tm); in TEST_F() 140 rc = ioctl(self->fd, RTC_AIE_ON, 0); in TEST_F() [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/cec/ |
| D | cec-func-ioctl.rst | 4 .. _cec-func-ioctl: 7 cec ioctl() 13 cec-ioctl - Control a cec device 20 #include <sys/ioctl.h> 22 ``int ioctl(int fd, int request, void *argp)`` 31 CEC ioctl request code as defined in the cec.h header file, for 40 The :c:func:`ioctl()` function manipulates cec device parameters. The 43 The ioctl ``request`` code specifies the cec function to be called. It 47 Macros and structures definitions specifying cec ioctl requests and 48 their parameters are located in the cec.h header file. All cec ioctl [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/cec/ |
| D | cec-func-ioctl.rst | 4 .. _cec-func-ioctl: 7 cec ioctl() 13 cec-ioctl - Control a cec device 20 #include <sys/ioctl.h> 22 ``int ioctl(int fd, int request, void *argp)`` 31 CEC ioctl request code as defined in the cec.h header file, for 40 The :c:func:`ioctl()` function manipulates cec device parameters. The 43 The ioctl ``request`` code specifies the cec function to be called. It 47 Macros and structures definitions specifying cec ioctl requests and 48 their parameters are located in the cec.h header file. All cec ioctl [all …]
|
| /kernel/linux/linux-5.10/Documentation/input/ |
| D | uinput.rst | 73 ioctl(fd, UI_SET_EVBIT, EV_KEY); 74 ioctl(fd, UI_SET_KEYBIT, KEY_SPACE); 82 ioctl(fd, UI_DEV_SETUP, &usetup); 83 ioctl(fd, UI_DEV_CREATE); 106 ioctl(fd, UI_DEV_DESTROY); 132 ioctl(fd, UI_SET_EVBIT, EV_KEY); 133 ioctl(fd, UI_SET_KEYBIT, BTN_LEFT); 135 ioctl(fd, UI_SET_EVBIT, EV_REL); 136 ioctl(fd, UI_SET_RELBIT, REL_X); 137 ioctl(fd, UI_SET_RELBIT, REL_Y); [all …]
|
| /kernel/linux/linux-6.6/Documentation/input/ |
| D | uinput.rst | 73 ioctl(fd, UI_SET_EVBIT, EV_KEY); 74 ioctl(fd, UI_SET_KEYBIT, KEY_SPACE); 82 ioctl(fd, UI_DEV_SETUP, &usetup); 83 ioctl(fd, UI_DEV_CREATE); 106 ioctl(fd, UI_DEV_DESTROY); 132 ioctl(fd, UI_SET_EVBIT, EV_KEY); 133 ioctl(fd, UI_SET_KEYBIT, BTN_LEFT); 135 ioctl(fd, UI_SET_EVBIT, EV_REL); 136 ioctl(fd, UI_SET_RELBIT, REL_X); 137 ioctl(fd, UI_SET_RELBIT, REL_Y); [all …]
|