Lines Matching refs:cmd
74 static long hfi1_file_ioctl(struct file *fp, unsigned int cmd,
180 static long hfi1_file_ioctl(struct file *fp, unsigned int cmd, in hfi1_file_ioctl() argument
188 hfi1_cdbg(IOCTL, "IOCTL recv: 0x%x", cmd); in hfi1_file_ioctl()
189 if (cmd != HFI1_IOCTL_ASSIGN_CTXT && in hfi1_file_ioctl()
190 cmd != HFI1_IOCTL_GET_VERS && in hfi1_file_ioctl()
194 switch (cmd) { in hfi1_file_ioctl()
196 ret = assign_ctxt(fd, arg, _IOC_SIZE(cmd)); in hfi1_file_ioctl()
200 ret = get_ctxt_info(fd, arg, _IOC_SIZE(cmd)); in hfi1_file_ioctl()
204 ret = get_base_info(fd, arg, _IOC_SIZE(cmd)); in hfi1_file_ioctl()
213 ret = user_exp_rcv_setup(fd, arg, _IOC_SIZE(cmd)); in hfi1_file_ioctl()
217 ret = user_exp_rcv_clear(fd, arg, _IOC_SIZE(cmd)); in hfi1_file_ioctl()
221 ret = user_exp_rcv_invalid(fd, arg, _IOC_SIZE(cmd)); in hfi1_file_ioctl()