/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 …]
|
D | querycap.rst | 14 The :ref:`VIDIOC_QUERYCAP` ioctl is available to 22 :ref:`VIDIOC_QUERYCAP` to check if a specific ioctl 24 provide support for an ioctl. 26 Other features can be queried by calling the respective ioctl, for 30 :ref:`VIDIOC_QUERYCAP` ioctl also allows driver 34 Applications should always call this ioctl after opening the device.
|
D | vidioc-g-input.rst | 7 ioctl VIDIOC_G_INPUT, VIDIOC_S_INPUT 20 ``int ioctl(int fd, VIDIOC_G_INPUT, int *argp)`` 24 ``int ioctl(int fd, VIDIOC_S_INPUT, int *argp)`` 39 :ref:`VIDIOC_G_INPUT <VIDIOC_G_INPUT>` ioctl with a pointer to an integer where the driver 41 :c:type:`v4l2_input` ``index`` field. This ioctl will fail 45 input in an integer and call the :ref:`VIDIOC_S_INPUT <VIDIOC_G_INPUT>` ioctl with a pointer 53 :ref:`VIDIOC_ENUMINPUT` ioctl.
|
D | vidioc-g-output.rst | 7 ioctl VIDIOC_G_OUTPUT, VIDIOC_S_OUTPUT 20 ``int ioctl(int fd, VIDIOC_G_OUTPUT, int *argp)`` 24 ``int ioctl(int fd, VIDIOC_S_OUTPUT, int *argp)`` 39 :ref:`VIDIOC_G_OUTPUT <VIDIOC_G_OUTPUT>` ioctl with a pointer to an integer where the driver 41 :c:type:`v4l2_output` ``index`` field. This ioctl will 46 output in an integer and call the :ref:`VIDIOC_S_OUTPUT <VIDIOC_G_OUTPUT>` ioctl with a 54 :ref:`VIDIOC_ENUMOUTPUT` ioctl.
|
D | dev-osd.rst | 23 the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. 32 :ref:`VIDIOC_QUERYCAP` ioctl. 42 the :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>` ioctl. It returns, amongst 45 The framebuffer device ioctl ``FBIOGET_FSCREENINFO`` returns the same 48 ioctl and struct :c:type:`fb_fix_screeninfo` are defined in 53 (or any other ioctl which would imply a framebuffer size change) with an 67 if (-1 == ioctl(fd, VIDIOC_G_FBUF, &fbuf)) { 91 if (0 == ioctl(fb_fd, FBIOGET_FSCREENINFO, &si)) { 123 :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl. The driver fills the 130 substructure and call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. [all …]
|
D | vidioc-log-status.rst | 7 ioctl VIDIOC_LOG_STATUS 20 ``int ioctl(int fd, VIDIOC_LOG_STATUS)`` 32 debug problems. When this ioctl is called the driver will output the 36 and this ioctl will report what the device thinks what the standard is. 39 This ioctl is optional and not all drivers support it. It was introduced
|
/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 …]
|
/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 …]
|
D | cec-ioc-adap-g-phys-addr.rst | 22 ``int ioctl(int fd, CEC_ADAP_G_PHYS_ADDR, __u16 *argp)`` 26 ``int ioctl(int fd, CEC_ADAP_S_PHYS_ADDR, __u16 *argp)`` 41 :ref:`ioctl CEC_ADAP_G_PHYS_ADDR <CEC_ADAP_G_PHYS_ADDR>` with a pointer to a __u16 where the 45 a __u16 and call :ref:`ioctl CEC_ADAP_S_PHYS_ADDR <CEC_ADAP_S_PHYS_ADDR>` with a pointer to 46 this integer. The :ref:`ioctl CEC_ADAP_S_PHYS_ADDR <CEC_ADAP_S_PHYS_ADDR>` is only available if 48 otherwise). The :ref:`ioctl CEC_ADAP_S_PHYS_ADDR <CEC_ADAP_S_PHYS_ADDR>` can only be called 55 If logical address types have been defined (see :ref:`ioctl CEC_ADAP_S_LOG_ADDRS <CEC_ADAP_S_LOG_AD… 56 then this ioctl will block until all 83 The :ref:`ioctl CEC_ADAP_S_PHYS_ADDR <CEC_ADAP_S_PHYS_ADDR>` can return the following 87 The ``CEC_CAP_PHYS_ADDR`` capability wasn't set, so this ioctl is not supported.
|
/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 …]
|
/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 …]
|
/Documentation/userspace-api/media/ |
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
|
D | videodev2.h.rst.exceptions | 519 # Ignore reserved ioctl and ancillary macros 554 replace ioctl VIDIOC_DBG_S_REGISTER vidioc_dbg_g_register 555 replace ioctl VIDIOC_DQBUF vidioc_qbuf 556 replace ioctl VIDIOC_S_AUDOUT vidioc_g_audout 557 replace ioctl VIDIOC_S_CROP vidioc_g_crop 558 replace ioctl VIDIOC_S_CTRL vidioc_g_ctrl 559 replace ioctl VIDIOC_S_DV_TIMINGS vidioc_g_dv_timings 560 replace ioctl VIDIOC_S_EDID vidioc_g_edid 561 replace ioctl VIDIOC_S_EXT_CTRLS vidioc_g_ext_ctrls 562 replace ioctl VIDIOC_S_FBUF vidioc_g_fbuf [all …]
|
/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 …]
|
/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 …]
|
/Documentation/userspace-api/media/dvb/ |
D | video-freeze.rst | 15 .. attention:: This ioctl is deprecated. 22 ``int ioctl(fd, VIDEO_FREEZE)`` 46 This ioctl is for Digital TV devices only. To control a V4L2 decoder use the 49 This ioctl call suspends the live video stream being played. Decoding 52 If VIDEO_SOURCE_MEMORY is selected in the ioctl call 54 until the ioctl call VIDEO_CONTINUE or VIDEO_PLAY is performed.
|
D | video-try-command.rst | 15 .. attention:: This ioctl is deprecated. 22 ``int ioctl(int fd, VIDEO_TRY_COMMAND, struct video_command *cmd)`` 52 This ioctl is obsolete. Do not use in new drivers. For V4L2 decoders 53 this ioctl has been replaced by the 54 :ref:`VIDIOC_TRY_DECODER_CMD <VIDIOC_DECODER_CMD>` ioctl. 56 This ioctl tries a decoder command. The ``video_command`` struct is a
|
D | dmx-reqbufs.rst | 7 ioctl DMX_REQBUFS 22 ``int ioctl(int fd, DMX_REQBUFS, struct dmx_requestbuffers *argp)`` 36 This ioctl is used to initiate a memory mapped or DMABUF based demux I/O. 39 with this ioctl before they can be mapped into the application's address 41 ioctl is merely used to switch the driver into user pointer I/O mode and 43 allocated by applications through a device driver, and this ioctl only 52 When the ioctl is called with a pointer to this structure, the driver will 59 When this I/O method is not supported, the ioctl returns an ``EOPNOTSUPP``
|
D | video-select-source.rst | 15 .. attention:: This ioctl is deprecated. 22 ``int ioctl(fd, VIDEO_SELECT_SOURCE, video_stream_source_t source)`` 52 This ioctl is for Digital TV devices only. This ioctl was also supported by the 54 ``IVTV_IOC_PASSTHROUGH_MODE`` ioctl. 56 This ioctl call informs the video device which source shall be used for
|
/Documentation/userspace-api/media/rc/ |
D | lirc-get-features.rst | 7 ioctl LIRC_GET_FEATURES 20 ``int ioctl(int fd, LIRC_GET_FEATURES, __u32 *features)`` 82 :ref:`ioctl LIRC_SET_SEND_CARRIER <LIRC_SET_SEND_CARRIER>`. 89 :ref:`ioctl LIRC_SET_SEND_DUTY_CYCLE <LIRC_SET_SEND_DUTY_CYCLE>`. 96 :ref:`ioctl LIRC_SET_TRANSMITTER_MASK <LIRC_SET_TRANSMITTER_MASK>`. 103 :ref:`ioctl LIRC_SET_REC_CARRIER <LIRC_SET_REC_CARRIER>`. 116 :ref:`ioctl LIRC_SET_REC_CARRIER_RANGE <LIRC_SET_REC_CARRIER_RANGE>`. 123 :ref:`ioctl LIRC_GET_REC_RESOLUTION <LIRC_GET_REC_RESOLUTION>`. 130 :ref:`ioctl LIRC_SET_REC_TIMEOUT <LIRC_SET_REC_TIMEOUT>`. 143 :ref:`ioctl LIRC_SET_MEASURE_CARRIER_MODE <LIRC_SET_MEASURE_CARRIER_MODE>`. [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|