Home
last modified time | relevance | path

Searched refs:iocmd (Results 1 – 6 of 6) sorted by relevance

/drivers/scsi/bfa/
Dbfad_bsg.c28 struct bfa_bsg_gen_s *iocmd = (struct bfa_bsg_gen_s *)cmd; in bfad_iocmd_ioc_enable() local
36 iocmd->status = BFA_STATUS_OK; in bfad_iocmd_ioc_enable()
42 iocmd->status = BFA_STATUS_OK; in bfad_iocmd_ioc_enable()
52 struct bfa_bsg_gen_s *iocmd = (struct bfa_bsg_gen_s *)cmd; in bfad_iocmd_ioc_disable() local
59 iocmd->status = BFA_STATUS_OK; in bfad_iocmd_ioc_disable()
75 iocmd->status = BFA_STATUS_OK; in bfad_iocmd_ioc_disable()
84 struct bfa_bsg_ioc_info_s *iocmd = (struct bfa_bsg_ioc_info_s *)cmd; in bfad_iocmd_ioc_get_info() local
91 iocmd->nwwn = pattr.nwwn; in bfad_iocmd_ioc_get_info()
92 iocmd->pwwn = pattr.pwwn; in bfad_iocmd_ioc_get_info()
93 iocmd->ioc_type = bfa_get_type(&bfad->bfa); in bfad_iocmd_ioc_get_info()
[all …]
/drivers/staging/rtl8712/
Drtl871x_mp.c106 static u32 fw_iocmd_read(struct _adapter *pAdapter, struct IOCMD_STRUCT iocmd) in fw_iocmd_read() argument
109 u8 iocmd_class = iocmd.cmdclass; in fw_iocmd_read()
110 u16 iocmd_value = iocmd.value; in fw_iocmd_read()
111 u8 iocmd_idx = iocmd.index; in fw_iocmd_read()
122 struct IOCMD_STRUCT iocmd, u32 value) in fw_iocmd_write() argument
125 u8 iocmd_class = iocmd.cmdclass; in fw_iocmd_write()
126 u32 iocmd_value = iocmd.value; in fw_iocmd_write()
127 u8 iocmd_idx = iocmd.index; in fw_iocmd_write()
141 struct IOCMD_STRUCT iocmd; in r8712_bb_reg_read() local
143 iocmd.cmdclass = IOCMD_CLASS_BB_RF; in r8712_bb_reg_read()
[all …]
/drivers/char/mwave/
Dmwavedd.c90 static long mwave_ioctl(struct file *filp, unsigned int iocmd,
122 static long mwave_ioctl(struct file *file, unsigned int iocmd, in mwave_ioctl() argument
131 file, iocmd, (int) ioarg); in mwave_ioctl()
133 switch (iocmd) { in mwave_ioctl()
204 iocmd, in mwave_ioctl()
228 iocmd, pusBuffer, in mwave_ioctl()
251 iocmd, pusBuffer, in mwave_ioctl()
274 iocmd, pusBuffer, in mwave_ioctl()
/drivers/staging/cxt1e1/
Dlinux.c834 int iocmd, iolen; in c4_ioctl() local
863 if (copy_from_user (&iocmd, ifr->ifr_data, sizeof (iocmd))) in c4_ioctl()
866 if (copy_from_user (&len, ifr->ifr_data + sizeof (iocmd), sizeof (len))) in c4_ioctl()
871 pr_info("c4_ioctl: iocmd %x, dir %x type %x nr %x iolen %d.\n", iocmd, in c4_ioctl()
872 _IOC_DIR (iocmd), _IOC_TYPE (iocmd), _IOC_NR (iocmd), in c4_ioctl()
873 _IOC_SIZE (iocmd)); in c4_ioctl()
875 iolen = _IOC_SIZE (iocmd); in c4_ioctl()
876 data = ifr->ifr_data + sizeof (iocmd); in c4_ioctl()
881 switch (iocmd) in c4_ioctl()
/drivers/message/fusion/
Dmptscsih.c108 static int mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *iocmd);
3034 INTERNAL_CMD iocmd; in mptscsih_synchronize_cache() local
3049 iocmd.cmd = SYNCHRONIZE_CACHE; in mptscsih_synchronize_cache()
3050 iocmd.flags = 0; in mptscsih_synchronize_cache()
3051 iocmd.physDiskNum = -1; in mptscsih_synchronize_cache()
3052 iocmd.data = NULL; in mptscsih_synchronize_cache()
3053 iocmd.data_dma = -1; in mptscsih_synchronize_cache()
3054 iocmd.size = 0; in mptscsih_synchronize_cache()
3055 iocmd.rsvd = iocmd.rsvd2 = 0; in mptscsih_synchronize_cache()
3056 iocmd.channel = vdevice->vtarget->channel; in mptscsih_synchronize_cache()
[all …]
/drivers/misc/vmw_vmci/
Dvmci_host.c927 unsigned int iocmd, unsigned long ioarg) in vmci_host_unlocked_ioctl() argument
938 switch (iocmd) { in vmci_host_unlocked_ioctl()
972 return vmci_host_get_version(vmci_host_dev, iocmd, uptr); in vmci_host_unlocked_ioctl()
975 pr_devel("%s: Unknown ioctl (iocmd=%d)\n", __func__, iocmd); in vmci_host_unlocked_ioctl()