Home
last modified time | relevance | path

Searched refs:iocmd (Results 1 – 5 of 5) 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_IOC_FAILURE; 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
69 iocmd->status = BFA_STATUS_OK; in bfad_iocmd_ioc_disable()
78 struct bfa_bsg_ioc_info_s *iocmd = (struct bfa_bsg_ioc_info_s *)cmd; in bfad_iocmd_ioc_get_info() local
85 iocmd->nwwn = pattr.nwwn; in bfad_iocmd_ioc_get_info()
86 iocmd->pwwn = pattr.pwwn; in bfad_iocmd_ioc_get_info()
87 iocmd->ioc_type = bfa_get_type(&bfad->bfa); in bfad_iocmd_ioc_get_info()
88 iocmd->mac = bfa_get_mac(&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.c832 int iocmd, iolen; in c4_ioctl() local
861 if (copy_from_user (&iocmd, ifr->ifr_data, sizeof (iocmd))) in c4_ioctl()
864 if (copy_from_user (&len, ifr->ifr_data + sizeof (iocmd), sizeof (len))) in c4_ioctl()
869 pr_info("c4_ioctl: iocmd %x, dir %x type %x nr %x iolen %d.\n", iocmd, in c4_ioctl()
870 _IOC_DIR (iocmd), _IOC_TYPE (iocmd), _IOC_NR (iocmd), in c4_ioctl()
871 _IOC_SIZE (iocmd)); in c4_ioctl()
873 iolen = _IOC_SIZE (iocmd); in c4_ioctl()
874 data = ifr->ifr_data + sizeof (iocmd); in c4_ioctl()
879 switch (iocmd) in c4_ioctl()
/drivers/message/fusion/
Dmptscsih.c108 static int mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *iocmd);
3117 INTERNAL_CMD iocmd; in mptscsih_synchronize_cache() local
3132 iocmd.cmd = SYNCHRONIZE_CACHE; in mptscsih_synchronize_cache()
3133 iocmd.flags = 0; in mptscsih_synchronize_cache()
3134 iocmd.physDiskNum = -1; in mptscsih_synchronize_cache()
3135 iocmd.data = NULL; in mptscsih_synchronize_cache()
3136 iocmd.data_dma = -1; in mptscsih_synchronize_cache()
3137 iocmd.size = 0; in mptscsih_synchronize_cache()
3138 iocmd.rsvd = iocmd.rsvd2 = 0; in mptscsih_synchronize_cache()
3139 iocmd.channel = vdevice->vtarget->channel; in mptscsih_synchronize_cache()
[all …]