/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 …]
|
/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 …]
|
/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 …]
|
D | hdio.rst | 2 Summary of `HDIO_` ioctl calls 9 This document attempts to describe the ioctl(2) calls supported by 13 ioctl values are listed in <linux/hdreg.h>. As of this writing, they 48 HDIO_SET_KEEPSETTINGS keep ioctl settings on reset 74 Unless otherwise specified, all ioctl calls return 0 on success 77 Unless otherwise specified, all ioctl calls return -1 and set 94 ioctl(fd, HDIO_GETGEO, &geom); 132 ioctl will not return a meaningful value on drives with more 149 ioctl(fd, HDIO_GET_UNMASKINTR, &val); 171 ioctl(fd, HDIO_SET_UNMASKINTR, val); [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
D | mei.h | 13 * This IOCTL is used to associate the current file descriptor with a 20 * The IOCTL argument is a struct with a union that contains 21 * the input parameter and the output parameter for this IOCTL. 41 * IOCTL Connect Client Data structure 53 * The IOCTL argument is 1 for enabling event notification and 0 for 62 * The IOCTL output argument is 1 if an event was is pending and 0 otherwise 63 * the ioctl has to be called in order to acknowledge pending event 83 * struct mei_connect_client_data_vtag - IOCTL connect data union 97 * This IOCTL is used to associate the current file descriptor with a 99 * The IOCTL opens a communication channel between a host client and [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux-5.10/drivers/gpu/drm/ |
D | drm_ioctl.c | 58 * - GET_UNIQUE ioctl, implemented by drm_getunique is wrapped up in libdrm 60 * - The libdrm drmSetBusid function is backed by the SET_UNIQUE ioctl. All 63 * exclusively use by the SET_VERSION ioctl, because only drm 1.0 (which is 64 * nerved) allowed userspace to set the busid through the above ioctl. 86 * name returned by that ioctl. Note that SET_VERSION is not called, which 188 * Hollowed-out getclient ioctl to keep some dead old drm tests/tools in drm_getclient() 373 * Setversion ioctl. 429 * drm_noop - DRM no-op ioctl implemntation 430 * @dev: DRM device for the ioctl 431 * @data: data pointer for the ioctl [all …]
|
/linux-5.10/include/uapi/drm/ |
D | vmwgfx_drm.h | 85 * Does the driver support the overlay ioctl. 126 * Argument to the DRM_VMW_GET_PARAM Ioctl. 148 * Output argument to the DRM_VMW_CREATE_CONTEXT Ioctl. 149 * Input argument to the DRM_VMW_UNREF_CONTEXT Ioctl. 191 * Input data to the DRM_VMW_CREATE_SURFACE Ioctl. 192 * Output data from the DRM_VMW_REF_SURFACE Ioctl. 208 * @handle_type: Handle type for DRM_VMW_REF_SURFACE Ioctl. 210 * Output data from the DRM_VMW_CREATE_SURFACE Ioctl. 211 * Input argument to the DRM_VMW_UNREF_SURFACE Ioctl. 212 * Input argument to the DRM_VMW_REF_SURFACE Ioctl. [all …]
|
D | tegra_drm.h | 36 * struct drm_tegra_gem_create - parameters for the GEM object creation IOCTL 63 * successful completion of the IOCTL. 69 * struct drm_tegra_gem_mmap - parameters for the GEM mmap IOCTL 90 * successful completion of the IOCTL. 96 * struct drm_tegra_syncpt_read - parameters for the read syncpoint IOCTL 110 * completion of the IOCTL. 116 * struct drm_tegra_syncpt_incr - parameters for the increment syncpoint IOCTL 135 * struct drm_tegra_syncpt_wait - parameters for the wait syncpoint IOCTL 163 * successful completion of the IOCTL. 171 * struct drm_tegra_open_channel - parameters for the open channel IOCTL [all …]
|
/linux-5.10/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 47 * Buffered ioctl handlers. A buffered ioctl is one which requires that we 51 * it for subsequent ioctl calls that require it. 69 void *ioctl; member 108 /* Handle EXPRESS_IOCTL_RW_FIRMWARE ioctl with img_type = FW_IMG_FM_API. */ 241 "for a buffered ioctl!", in handle_buffered_ioctl() 244 esas2r_debug("buffered ioctl alloc failure"); in handle_buffered_ioctl() 249 memcpy(esas2r_buffered_ioctl, bi->ioctl, bi->length); in handle_buffered_ioctl() 257 esas2r_debug("buffered ioctl - no requests"); in handle_buffered_ioctl() 286 memcpy(bi->ioctl, esas2r_buffered_ioctl, bi->length); in handle_buffered_ioctl() 292 /* SMP ioctl support */ [all …]
|
/linux-5.10/drivers/gpu/drm/nouveau/nvif/ |
D | object.c | 28 #include <nvif/ioctl.h> 47 return client->driver->ioctl(client->object.priv, client->super, in nvif_object_ioctl() 62 struct nvif_ioctl_v0 ioctl; in nvif_object_sclass_get() member 72 args->ioctl.version = 0; in nvif_object_sclass_get() 73 args->ioctl.type = NVIF_IOCTL_V0_SCLASS; in nvif_object_sclass_get() 106 struct nvif_ioctl_v0 ioctl; in nvif_object_rd() member 109 .ioctl.type = NVIF_IOCTL_V0_RD, in nvif_object_rd() 125 struct nvif_ioctl_v0 ioctl; in nvif_object_wr() member 128 .ioctl.type = NVIF_IOCTL_V0_WR, in nvif_object_wr() 143 struct nvif_ioctl_v0 ioctl; in nvif_object_mthd() member [all …]
|
/linux-5.10/Documentation/userspace-api/media/ |
D | videodev2.h.rst.exceptions | 517 # Ignore reserved ioctl and ancillary macros 552 replace ioctl VIDIOC_DBG_S_REGISTER vidioc_dbg_g_register 553 replace ioctl VIDIOC_DQBUF vidioc_qbuf 554 replace ioctl VIDIOC_S_AUDOUT vidioc_g_audout 555 replace ioctl VIDIOC_S_CROP vidioc_g_crop 556 replace ioctl VIDIOC_S_CTRL vidioc_g_ctrl 557 replace ioctl VIDIOC_S_DV_TIMINGS vidioc_g_dv_timings 558 replace ioctl VIDIOC_S_EDID vidioc_g_edid 559 replace ioctl VIDIOC_S_EXT_CTRLS vidioc_g_ext_ctrls 560 replace ioctl VIDIOC_S_FBUF vidioc_g_fbuf [all …]
|
D | gen-errors.rst | 22 - The ioctl can't be handled because the device is in state where it 24 device is sleeping and ioctl is performed to query statistics. It 25 is also returned when the ioctl would need to wait for an event, 34 - The ioctl can't be handled because the device is busy. This is 35 typically return while device is streaming, and an ioctl tried to 38 ioctl must not be retried without performing another action to fix 48 - One or more of the ioctl parameters are invalid or out of the 50 individual ioctl requests for specific causes. 62 - The ioctl is not supported by the driver, actually meaning that 68 - On USB devices, the stream ioctl's can return this error, meaning
|
/linux-5.10/Documentation/misc-devices/ |
D | xilinx_sdfec.rst | 81 …- unlocked_ioctl: Provides the following ioctl commands that allows the application configure the … 128 Determine the configuration of the SD-FEC core by using the ioctl 136 Setting the order is done by using the ioctl :c:macro:`XSDFEC_SET_ORDER` 140 …- The ``state`` member of struct :c:type:`xsdfec_status <xsdfec_status>` filled by the ioctl :c:ma… 151 - Add the LPDC Code Parameters using the ioctl :c:macro:`XSDFEC_ADD_LDPC_CODE_PARAMS` 157 …- The ``code`` member of :c:type:`struct xsdfec_config <xsdfec_config>` filled by the ioctl :c:mac… 158 …- The ``code_wr_protect`` of :c:type:`struct xsdfec_config <xsdfec_config>` filled by the ioctl :c… 159 …- The ``state`` member of struct :c:type:`xsdfec_status <xsdfec_status>` filled by the ioctl :c:ma… 164 Configuring the Turbo decode parameters is done by using the ioctl :c:macro:`XSDFEC_SET_TURBO` usin… 168 …- The ``code`` member of :c:type:`struct xsdfec_config <xsdfec_config>` filled by the ioctl :c:mac… [all …]
|
/linux-5.10/Documentation/powerpc/ |
D | cxlflash.rst | 124 a high-level overview of each supported service (IOCTL) is provided 153 This ioctl obtains, initializes, and starts a context using the CXL 163 detail in the description for the DK_CXLFLASH_DETACH ioctl. 185 the context via the DK_CXLFLASH_DETACH ioctl. When this ioctl 190 - When this ioctl returns with a valid fd2 and the return flag 196 + In the child process of a fork(), following a clone ioctl, 205 This ioctl is responsible for transitioning the LUN to direct 222 This ioctl is responsible for transitioning the LUN to virtual mode 238 would need to use the DK_CXLFLASH_VLUN_RESIZE ioctl to adjust the grow 242 ioctl, such that when success is returned to the user, the [all …]
|
/linux-5.10/Documentation/watchdog/ |
D | watchdog-api.rst | 73 The ioctl API 76 All conforming drivers also support an ioctl API. 78 Pinging the watchdog using an ioctl: 80 All drivers that have an ioctl interface support at least one ioctl, 81 KEEPALIVE. This ioctl does exactly the same thing as a write to the 86 ioctl(fd, WDIOC_KEEPALIVE, 0); 90 the argument to the ioctl is ignored. 96 fly with the SETTIMEOUT ioctl, those drivers have the WDIOF_SETTIMEOUT 103 ioctl(fd, WDIOC_SETTIMEOUT, &timeout); 110 current timeout using the GETTIMEOUT ioctl:: [all …]
|
/linux-5.10/Documentation/ia64/ |
D | efirtc.rst | 34 EFI provides a simpler services, not all ioctl() are available. Also 35 new ioctl()s have been introduced for things that EFI provides but not the 48 ioctl()s. The other is read-only via the /proc filesystem. 62 Two ioctl()s, compatible with the legacy RTC calls: 66 ioctl(d, RTC_RD_TIME, &rtc); 70 ioctl(d, RTC_SET_TIME, &rtc); 90 Those two ioctl()s can be exercised with the hwclock command: 109 the same ioctl()s to get access to the service. Instead we have 110 introduced 2 news ioctl()s to the interface of an RTC. 112 We have added 2 new ioctl()s that are specific to the EFI driver: [all …]
|