/drivers/gpu/drm/nouveau/nvif/ |
D | object.c | 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 155 args->ioctl.version = 0; in nvif_object_mthd() [all …]
|
D | notify.c | 37 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_fini() member 152 .ioctl.type = NVIF_IOCTL_V0_NTFY_DEL, in nvif_notify_fini() 172 struct nvif_ioctl_v0 ioctl; in nvif_notify_init() member 194 args->ioctl.version = 0; in nvif_notify_init() 195 args->ioctl.type = NVIF_IOCTL_V0_NTFY_NEW; in nvif_notify_init()
|
D | client.c | 32 return client->driver->ioctl(client->object.priv, client->super, data, size, NULL); in nvif_client_ioctl() 75 struct nvif_ioctl_v0 ioctl; in nvif_client_init() member
|
/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 69 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/scsi/ |
D | gdth_proc.c | 121 gdtcmd.u.ioctl.p_param = paddr; in gdth_set_asc_info() 122 gdtcmd.u.ioctl.param_size = sizeof(gdth_cpar_str); in gdth_set_asc_info() 123 gdtcmd.u.ioctl.subfunc = CACHE_CONFIG; in gdth_set_asc_info() 124 gdtcmd.u.ioctl.channel = INVALID_CHANNEL; in gdth_set_asc_info() 241 gdtcmd->u.ioctl.p_param = paddr + GDTH_SCRATCH/4; in gdth_show_info() 242 gdtcmd->u.ioctl.param_size = 3*GDTH_SCRATCH/4; in gdth_show_info() 243 gdtcmd->u.ioctl.subfunc = DSK_STATISTICS | L_CTRL_PATTERN; in gdth_show_info() 244 gdtcmd->u.ioctl.channel = ha->raw[i].address | INVALID_CHANNEL; in gdth_show_info() 264 gdtcmd->u.ioctl.p_param = paddr; in gdth_show_info() 265 gdtcmd->u.ioctl.param_size = sizeof(gdth_diskinfo_str); in gdth_show_info() [all …]
|
/drivers/staging/greybus/Documentation/firmware/ |
D | firmware.c | 91 ret = ioctl(fd, FW_MGMT_IOC_GET_INTF_FW, &intf_fw_info); in update_intf_firmware() 113 ret = ioctl(fd, FW_MGMT_IOC_INTF_LOAD_AND_VALIDATE, &intf_load); in update_intf_firmware() 134 ret = ioctl(fd, FW_MGMT_IOC_MODE_SWITCH); in update_intf_firmware() 152 ret = ioctl(fd, FW_MGMT_IOC_GET_BACKEND_FW, &backend_fw_info); in update_backend_firmware() 182 ret = ioctl(fd, FW_MGMT_IOC_INTF_BACKEND_FW_UPDATE, &backend_update); in update_backend_firmware() 246 ret = ioctl(fd, FW_MGMT_IOC_SET_TIMEOUT_MS, &fw_timeout); in main()
|
D | authenticate.c | 99 ret = ioctl(fd, CAP_IOC_GET_ENDPOINT_UID, &uid); in main() 111 ret = ioctl(fd, CAP_IOC_GET_IMS_CERTIFICATE, &cert); in main() 125 ret = ioctl(fd, CAP_IOC_AUTHENTICATE, &authenticate); in main()
|
D | firmware-management | 77 application and it can perform various 'ioctl' operations on the device. The 142 This ioctl shall be used by the user to get the version and firmware-tag of 148 This ioctl shall be used by the user to get the version of a currently 156 This ioctl shall be used by the user to load an Interface Firmware package on 163 This ioctl shall be used by the user to request an Interface to update a 170 This ioctl shall be used by the user to increase the timeout interval within 176 This ioctl shall be used by the user to mode-switch the module to the 215 the userspace application and it can perform various 'ioctl' operations on the 283 This ioctl shall be used by the user to get the endpoint UID associated with 289 This ioctl shall be used by the user to retrieve one of the available [all …]
|
/drivers/gpu/drm/ |
D | drm_ioctl.c | 512 #define DRM_IOCTL_DEF(ioctl, _func, _flags) \ argument 513 [DRM_IOCTL_NR(ioctl)] = { \ 514 .cmd = ioctl, \ 517 .name = #ioctl \ 653 const struct drm_ioctl_desc *ioctl = NULL; in drm_ioctl() local 673 ioctl = &dev->driver->ioctls[nr - DRM_COMMAND_BASE]; in drm_ioctl() 678 ioctl = &drm_ioctls[nr]; in drm_ioctl() 681 drv_size = _IOC_SIZE(ioctl->cmd); in drm_ioctl() 683 if ((cmd & ioctl->cmd & IOC_IN) == 0) in drm_ioctl() 685 if ((cmd & ioctl->cmd & IOC_OUT) == 0) in drm_ioctl() [all …]
|
/drivers/vhost/ |
D | test.c | 260 static long vhost_test_ioctl(struct file *f, unsigned int ioctl, in vhost_test_ioctl() argument 269 switch (ioctl) { in vhost_test_ioctl() 292 r = vhost_dev_ioctl(&n->dev, ioctl, argp); in vhost_test_ioctl() 294 r = vhost_vring_ioctl(&n->dev, ioctl, argp); in vhost_test_ioctl() 302 static long vhost_test_compat_ioctl(struct file *f, unsigned int ioctl, in vhost_test_compat_ioctl() argument 305 return vhost_test_ioctl(f, ioctl, (unsigned long)compat_ptr(arg)); in vhost_test_compat_ioctl()
|
D | vhost.h | 51 long vhost_vring_ioctl(struct vhost_dev *d, int ioctl, void __user *argp); 177 long vhost_dev_ioctl(struct vhost_dev *, unsigned int ioctl, void __user *argp); 178 long vhost_vring_ioctl(struct vhost_dev *d, int ioctl, void __user *argp);
|
/drivers/pcmcia/ |
D | tcic.c | 296 u_short scf1, ioctl, base, num; in is_active() local 309 ioctl = tcic_getw(TCIC_DATA); in is_active() 311 if (ioctl & TCIC_ICTL_TINY) in is_active() 319 (scf1 & TCIC_SCF1_IOSTS) && (ioctl & TCIC_ICTL_ENA) && in is_active() 700 u_short base, len, ioctl; in tcic_set_io_map() local 717 ioctl = (psock << TCIC_ICTL_SS_SHFT); in tcic_set_io_map() 718 ioctl |= (len == 0) ? TCIC_ICTL_TINY : 0; in tcic_set_io_map() 719 ioctl |= (io->flags & MAP_ACTIVE) ? TCIC_ICTL_ENA : 0; in tcic_set_io_map() 720 ioctl |= to_cycles(io->speed) & TCIC_ICTL_WSCNT_MASK; in tcic_set_io_map() 722 ioctl |= TCIC_ICTL_QUIET; in tcic_set_io_map() [all …]
|
D | vrc4173_cardu.c | 251 uint8_t ioctl, window; in cardu_get_io_map() local 261 ioctl = exca_readb(socket, IO_WIN_CNT); in cardu_get_io_map() 264 if (ioctl & IO_WIN_DATA_AUTOSZ(map)) in cardu_get_io_map() 266 else if (ioctl & IO_WIN_DATA_16BIT(map)) in cardu_get_io_map() 275 uint16_t ioctl; in cardu_set_io_map() local 294 ioctl = exca_readb(socket, IO_WIN_CNT) & ~IO_WIN_CNT_MASK(map); in cardu_set_io_map() 295 if (io->flags & MAP_AUTOSZ) ioctl |= IO_WIN_DATA_AUTOSZ(map); in cardu_set_io_map() 296 else if (io->flags & MAP_16BIT) ioctl |= IO_WIN_DATA_16BIT(map); in cardu_set_io_map() 297 exca_writeb(socket, IO_WIN_CNT, ioctl); in cardu_set_io_map()
|
D | vrc4171_card.c | 383 uint8_t ioctl, addrwin; in pccard_set_io_map() local 403 ioctl = 0; in pccard_set_io_map() 405 ioctl |= I365_IOCTL_WAIT(map); in pccard_set_io_map() 407 ioctl |= I365_IOCTL_16BIT(map); in pccard_set_io_map() 409 ioctl |= I365_IOCTL_IOCS16(map); in pccard_set_io_map() 411 ioctl |= I365_IOCTL_0WS(map); in pccard_set_io_map() 412 exca_write_byte(slot, I365_IOCTL, ioctl); in pccard_set_io_map()
|
D | pd6729.c | 427 unsigned char map, ioctl; in pd6729_set_io_map() local 448 ioctl = indirect_read(socket, I365_IOCTL) & ~I365_IOCTL_MASK(map); in pd6729_set_io_map() 451 ioctl |= I365_IOCTL_0WS(map); in pd6729_set_io_map() 453 ioctl |= I365_IOCTL_16BIT(map); in pd6729_set_io_map() 455 ioctl |= I365_IOCTL_IOCS16(map); in pd6729_set_io_map() 457 indirect_write(socket, I365_IOCTL, ioctl); in pd6729_set_io_map()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 850 #define AMDKFD_IOCTL_DEF(ioctl, _func, _flags) \ argument 851 [_IOC_NR(ioctl)] = {.cmd = ioctl, .func = _func, .flags = _flags, .cmd_drv = 0, .name = #ioctl} 910 const struct amdkfd_ioctl_desc *ioctl = NULL; in kfd_ioctl() local 923 ioctl = &amdkfd_ioctls[nr]; in kfd_ioctl() 925 amdkfd_size = _IOC_SIZE(ioctl->cmd); in kfd_ioctl() 930 cmd = ioctl->cmd; in kfd_ioctl() 943 func = ioctl->func; in kfd_ioctl() 981 if (!ioctl) in kfd_ioctl()
|
/drivers/usb/serial/ |
D | io_tables.h | 115 .ioctl = edge_ioctl, 147 .ioctl = edge_ioctl, 179 .ioctl = edge_ioctl, 211 .ioctl = edge_ioctl,
|
/drivers/message/fusion/ |
D | Kconfig | 75 tristate "Fusion MPT misc device (ioctl) driver" 79 of MPT adapters via system ioctl calls. Use of ioctl calls to 84 One use of this ioctl interface is to perform an upgrade (reflash)
|
/drivers/block/ |
D | loop.h | 46 int (*ioctl)(struct loop_device *, int cmd, member 86 int (*ioctl)(struct loop_device *, int cmd, unsigned long arg); member
|
/drivers/scsi/be2iscsi/ |
D | be_cmds.c | 1499 struct be_cmd_get_port_name *ioctl; in beiscsi_get_port_name() local 1504 ioctl = embedded_payload(wrb); in beiscsi_get_port_name() 1506 be_wrb_hdr_prepare(wrb, sizeof(*ioctl), true, 0); in beiscsi_get_port_name() 1507 be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, in beiscsi_get_port_name() 1513 phba->port_name = ioctl->p.resp.port_names >> in beiscsi_get_port_name() 1518 ret, ioctl->h.resp_hdr.status); in beiscsi_get_port_name() 1531 struct be_cmd_set_features *ioctl; in beiscsi_set_uer_feature() local 1538 ioctl = embedded_payload(wrb); in beiscsi_set_uer_feature() 1540 be_wrb_hdr_prepare(wrb, sizeof(*ioctl), true, 0); in beiscsi_set_uer_feature() 1541 be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, in beiscsi_set_uer_feature() [all …]
|
/drivers/net/ppp/ |
D | pppox.c | 96 rc = pppox_protos[sk->sk_protocol]->ioctl ? in pppox_ioctl() 97 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY; in pppox_ioctl()
|
/drivers/char/tpm/ |
D | tpm_vtpm_proxy.c | 533 static long vtpmx_fops_ioctl(struct file *f, unsigned int ioctl, in vtpmx_fops_ioctl() argument 541 switch (ioctl) { in vtpmx_fops_ioctl() 568 static long vtpmx_fops_compat_ioctl(struct file *f, unsigned int ioctl, in vtpmx_fops_compat_ioctl() argument 571 return vtpmx_fops_ioctl(f, ioctl, (unsigned long)compat_ptr(arg)); in vtpmx_fops_compat_ioctl()
|
/drivers/staging/lustre/lustre/ |
D | Kconfig | 35 int "Lustre obd max ioctl buffer bytes (default 8KB)" 40 applications can pass to Lustre kernel module through ioctl interface.
|
/drivers/scsi/osd/ |
D | osd_uld.c | 166 int osduld_register_test(unsigned ioctl, do_test_fn *do_test) in osduld_register_test() argument 171 g_test_ioctl = ioctl; in osduld_register_test() 177 void osduld_unregister_test(unsigned ioctl) in osduld_unregister_test() argument 179 if (ioctl == g_test_ioctl) { in osduld_unregister_test()
|
/drivers/staging/media/davinci_vpfe/ |
D | davinci-vpfe-mc.txt | 52 In general, there is a private ioctl for configuring each of the blocks 61 The parameter structures used by these ioctl's are described in 87 The parameter structures used by these ioctl's are described in
|