Home
last modified time | relevance | path

Searched refs:ioctl (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/drivers/gpu/drm/nouveau/nvif/
Dobject.c47 return client->driver->ioctl(client->object.priv, data, size, hack); in nvif_object_ioctl()
61 struct nvif_ioctl_v0 ioctl; in nvif_object_sclass_get() member
71 args->ioctl.version = 0; in nvif_object_sclass_get()
72 args->ioctl.type = NVIF_IOCTL_V0_SCLASS; in nvif_object_sclass_get()
105 struct nvif_ioctl_v0 ioctl; in nvif_object_rd() member
108 .ioctl.type = NVIF_IOCTL_V0_RD, in nvif_object_rd()
124 struct nvif_ioctl_v0 ioctl; in nvif_object_wr() member
127 .ioctl.type = NVIF_IOCTL_V0_WR, in nvif_object_wr()
142 struct nvif_ioctl_v0 ioctl; in nvif_object_mthd() member
154 args->ioctl.version = 0; in nvif_object_mthd()
[all …]
Dnotify.c37 struct nvif_ioctl_v0 ioctl; in nvif_notify_put_() member
40 .ioctl.type = NVIF_IOCTL_V0_NTFY_PUT, in nvif_notify_put_()
68 struct nvif_ioctl_v0 ioctl; in nvif_notify_get_() member
71 .ioctl.type = NVIF_IOCTL_V0_NTFY_GET, in nvif_notify_get_()
149 struct nvif_ioctl_v0 ioctl; in nvif_notify_dtor() member
152 .ioctl.type = NVIF_IOCTL_V0_NTFY_DEL, in nvif_notify_dtor()
170 struct nvif_ioctl_v0 ioctl; in nvif_notify_ctor() member
193 args->ioctl.version = 0; in nvif_notify_ctor()
194 args->ioctl.type = NVIF_IOCTL_V0_NTFY_NEW; in nvif_notify_ctor()
/drivers/scsi/esas2r/
Desas2r_ioctl.c69 void *ioctl; member
249 memcpy(esas2r_buffered_ioctl, bi->ioctl, bi->length); in handle_buffered_ioctl()
286 memcpy(bi->ioctl, esas2r_buffered_ioctl, bi->length); in handle_buffered_ioctl()
300 esas2r_sgc_init(sgc, a, rq, rq->vrq->ioctl.sge); in smp_ioctl_callback()
319 bi.ioctl = si; in handle_smp_ioctl()
348 struct atto_vda_ioctl_req *ioctl = &rq->vrq->ioctl; in csmi_ioctl_tunnel() local
353 esas2r_sgc_init(sgc, a, rq, rq->vrq->ioctl.sge); in csmi_ioctl_tunnel()
355 ioctl->csmi.ctrl_code = cpu_to_le32(ctrl_code); in csmi_ioctl_tunnel()
356 ioctl->csmi.target_id = cpu_to_le16(target_id); in csmi_ioctl_tunnel()
357 ioctl->csmi.lun = (u8)le32_to_cpu(rq->vrq->scsi.flags); in csmi_ioctl_tunnel()
[all …]
/drivers/staging/media/av7110/
Dvideo-try-command.rst15 .. 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
Dvideo-freeze.rst15 .. 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.
Dvideo-select-source.rst15 .. 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
Dvideo-command.rst15 .. attention:: This ioctl is deprecated.
22 ``int ioctl(int fd, VIDEO_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_DECODER_CMD` ioctl.
56 This ioctl commands the decoder. The ``video_command`` struct is a
Dvideo-get-frame-count.rst15 .. attention:: This ioctl is deprecated.
22 ``int ioctl(int fd, VIDEO_GET_FRAME_COUNT, __u64 *pts)``
53 This ioctl is obsolete. Do not use in new drivers. For V4L2 decoders
54 this ioctl has been replaced by the ``V4L2_CID_MPEG_VIDEO_DEC_FRAME``
57 This ioctl call asks the Video Device to return the number of displayed
Dvideo-get-pts.rst15 .. attention:: This ioctl is deprecated.
22 ``int ioctl(int fd, VIDEO_GET_PTS, __u64 *pts)``
57 This ioctl is obsolete. Do not use in new drivers. For V4L2 decoders
58 this ioctl has been replaced by the ``V4L2_CID_MPEG_VIDEO_DEC_PTS``
61 This ioctl call asks the Video Device to return the current PTS
Dvideo-get-event.rst15 .. attention:: This ioctl is deprecated.
22 ``int ioctl(fd, VIDEO_GET_EVENT, struct video_event *ev)``
52 This ioctl is for Digital TV devices only. To get events from a V4L2 decoder
53 use the V4L2 :ref:`VIDIOC_DQEVENT` ioctl instead.
55 This ioctl call returns an event of type video_event if available. If
64 for this ioctl call.
Dvideo-play.rst15 .. attention:: This ioctl is deprecated.
22 ``int ioctl(fd, VIDEO_PLAY)``
46 This ioctl is for Digital TV devices only. To control a V4L2 decoder use the
49 This ioctl call asks the Video Device to start playing a video stream
Dvideo-continue.rst15 .. attention:: This ioctl is deprecated.
22 ``int ioctl(fd, VIDEO_CONTINUE)``
46 This ioctl is for Digital TV devices only. To control a V4L2 decoder use the
49 This ioctl call restarts decoding and playing processes of the video
Daudio-channel-select.rst15 .. attention:: This ioctl is deprecated
22 ``int ioctl(int fd, AUDIO_CHANNEL_SELECT, struct audio_channel_select *select)``
46 This ioctl is for Digital TV devices only. To control a V4L2 decoder use the
49 This ioctl call asks the Audio Device to select the requested channel if
Daudio-bilingual-channel-select.rst15 .. attention:: This ioctl is deprecated
22 ``int ioctl(int fd, AUDIO_BILINGUAL_CHANNEL_SELECT, struct audio_channel_select *select)``
46 This ioctl is obsolete. Do not use in new drivers. It has been replaced
50 This ioctl call asks the Audio Device to select the requested channel
Daudio-set-mute.rst15 .. attention:: This ioctl is deprecated
22 ``int ioctl(int fd, AUDIO_SET_MUTE, boolean state)``
50 This ioctl is for Digital TV devices only. To control a V4L2 decoder use the
54 This ioctl call asks the audio device to mute the stream that is
Dvideo-stop.rst15 .. attention:: This ioctl is deprecated.
22 ``int ioctl(fd, VIDEO_STOP, boolean mode)``
62 This ioctl is for Digital TV devices only. To control a V4L2 decoder use the
65 This ioctl call asks the Video Device to stop playing the current
Daudio-stop.rst15 .. attention:: This ioctl is deprecated
22 ``int ioctl(int fd, AUDIO_STOP)``
40 This ioctl call asks the Audio Device to stop playing the current
Daudio-continue.rst15 .. attention:: This ioctl is deprecated
22 ``int ioctl(int fd, AUDIO_CONTINUE)``
40 This ioctl restarts the decoding and playing process previously paused
Dvideo-clear-buffer.rst15 .. attention:: This ioctl is deprecated.
22 ``int ioctl(fd, VIDEO_CLEAR_BUFFER)``
46 This ioctl call clears all video buffers in the driver and in the
Daudio-set-mixer.rst15 .. attention:: This ioctl is deprecated
22 ``int ioctl(int fd, AUDIO_SET_MIXER, struct audio_mixer *mix)``
46 This ioctl lets you adjust the mixer settings of the audio decoder.
/drivers/gpu/drm/
Ddrm_ioctl.c568 #define DRM_IOCTL_DEF(ioctl, _func, _flags) \ argument
569 [DRM_IOCTL_NR(ioctl)] = { \
570 .cmd = ioctl, \
573 .name = #ioctl \
577 #define DRM_LEGACY_IOCTL_DEF(ioctl, _func, _flags) DRM_IOCTL_DEF(ioctl, _func, _flags) argument
579 #define DRM_LEGACY_IOCTL_DEF(ioctl, _func, _flags) DRM_IOCTL_DEF(ioctl, drm_invalid_op, _flags) argument
829 const struct drm_ioctl_desc *ioctl = NULL; in drm_ioctl() local
855 ioctl = &dev->driver->ioctls[index]; in drm_ioctl()
861 ioctl = &drm_ioctls[nr]; in drm_ioctl()
864 drv_size = _IOC_SIZE(ioctl->cmd); in drm_ioctl()
[all …]
/drivers/staging/greybus/Documentation/firmware/
Dfirmware.c47 ret = ioctl(fd, FW_MGMT_IOC_GET_INTF_FW, &intf_fw_info); in update_intf_firmware()
69 ret = ioctl(fd, FW_MGMT_IOC_INTF_LOAD_AND_VALIDATE, &intf_load); in update_intf_firmware()
90 ret = ioctl(fd, FW_MGMT_IOC_MODE_SWITCH); in update_intf_firmware()
108 ret = ioctl(fd, FW_MGMT_IOC_GET_BACKEND_FW, &backend_fw_info); in update_backend_firmware()
138 ret = ioctl(fd, FW_MGMT_IOC_INTF_BACKEND_FW_UPDATE, &backend_update); in update_backend_firmware()
202 ret = ioctl(fd, FW_MGMT_IOC_SET_TIMEOUT_MS, &fw_timeout); in main()
Dauthenticate.c54 ret = ioctl(fd, CAP_IOC_GET_ENDPOINT_UID, &uid); in main()
66 ret = ioctl(fd, CAP_IOC_GET_IMS_CERTIFICATE, &cert); in main()
80 ret = ioctl(fd, CAP_IOC_AUTHENTICATE, &authenticate); in main()
/drivers/scsi/be2iscsi/
Dbe_cmds.c1490 struct be_cmd_get_port_name *ioctl; in beiscsi_get_port_name() local
1495 ioctl = embedded_payload(wrb); in beiscsi_get_port_name()
1497 be_wrb_hdr_prepare(wrb, sizeof(*ioctl), true, 0); in beiscsi_get_port_name()
1498 be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, in beiscsi_get_port_name()
1504 phba->port_name = ioctl->p.resp.port_names >> in beiscsi_get_port_name()
1509 ret, ioctl->h.resp_hdr.status); in beiscsi_get_port_name()
1522 struct be_cmd_set_host_data *ioctl; in beiscsi_set_host_data() local
1532 ioctl = embedded_payload(wrb); in beiscsi_set_host_data()
1534 be_wrb_hdr_prepare(wrb, sizeof(*ioctl), true, 0); in beiscsi_set_host_data()
1535 be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, in beiscsi_set_host_data()
[all …]
/drivers/soundwire/
Dintel.c346 u16 ioctl; in intel_shim_glue_to_master_ip() local
349 ioctl = intel_readw(shim, SDW_SHIM_IOCTL(link_id)); in intel_shim_glue_to_master_ip()
351 ioctl &= ~(SDW_SHIM_IOCTL_DOE); in intel_shim_glue_to_master_ip()
352 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
355 ioctl &= ~(SDW_SHIM_IOCTL_DO); in intel_shim_glue_to_master_ip()
356 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
359 ioctl |= (SDW_SHIM_IOCTL_MIF); in intel_shim_glue_to_master_ip()
360 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
363 ioctl &= ~(SDW_SHIM_IOCTL_BKE); in intel_shim_glue_to_master_ip()
364 ioctl &= ~(SDW_SHIM_IOCTL_COE); in intel_shim_glue_to_master_ip()
[all …]

12345678910>>...12