Lines Matching refs:cmd
2157 unsigned int cmd, in snd_seq_ioctl_client_ump_info() argument
2169 if (cmd == SNDRV_SEQ_IOCTL_SET_CLIENT_UMP_INFO && in snd_seq_ioctl_client_ump_info()
2188 if (cmd == SNDRV_SEQ_IOCTL_GET_CLIENT_UMP_INFO) { in snd_seq_ioctl_client_ump_info()
2234 unsigned int cmd; member
2272 static long snd_seq_ioctl(struct file *file, unsigned int cmd, in snd_seq_ioctl() argument
2303 switch (cmd) { in snd_seq_ioctl()
2306 return snd_seq_ioctl_client_ump_info(client, cmd, arg); in snd_seq_ioctl()
2310 for (handler = ioctl_handlers; handler->cmd > 0; ++handler) { in snd_seq_ioctl()
2311 if (handler->cmd == cmd) in snd_seq_ioctl()
2314 if (handler->cmd == 0) in snd_seq_ioctl()
2323 size = _IOC_SIZE(handler->cmd); in snd_seq_ioctl()
2324 if (handler->cmd & IOC_IN) { in snd_seq_ioctl()
2334 if (handler->cmd == SNDRV_SEQ_IOCTL_SET_QUEUE_CLIENT || in snd_seq_ioctl()
2335 handler->cmd == SNDRV_SEQ_IOCTL_SET_CLIENT_POOL || in snd_seq_ioctl()
2336 (handler->cmd & IOC_OUT)) in snd_seq_ioctl()
2518 int snd_seq_kernel_client_ctl(int clientid, unsigned int cmd, void *arg) in snd_seq_kernel_client_ctl() argument
2527 for (handler = ioctl_handlers; handler->cmd > 0; ++handler) { in snd_seq_kernel_client_ctl()
2528 if (handler->cmd == cmd) in snd_seq_kernel_client_ctl()
2533 cmd, _IOC_TYPE(cmd), _IOC_NR(cmd)); in snd_seq_kernel_client_ctl()