Lines Matching refs:cmd
320 static int snd_mixer_oss_ioctl1(struct snd_mixer_oss_file *fmixer, unsigned int cmd, unsigned long … in snd_mixer_oss_ioctl1() argument
328 if (((cmd >> 8) & 0xff) == 'M') { in snd_mixer_oss_ioctl1()
329 switch (cmd) { in snd_mixer_oss_ioctl1()
372 if (cmd & SIOC_IN) { in snd_mixer_oss_ioctl1()
375 tmp = snd_mixer_oss_set_volume(fmixer, cmd & 0xff, tmp); in snd_mixer_oss_ioctl1()
379 } else if (cmd & SIOC_OUT) { in snd_mixer_oss_ioctl1()
380 tmp = snd_mixer_oss_get_volume(fmixer, cmd & 0xff); in snd_mixer_oss_ioctl1()
388 static long snd_mixer_oss_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in snd_mixer_oss_ioctl() argument
390 return snd_mixer_oss_ioctl1(file->private_data, cmd, arg); in snd_mixer_oss_ioctl()
393 int snd_mixer_oss_ioctl_card(struct snd_card *card, unsigned int cmd, unsigned long arg) in snd_mixer_oss_ioctl_card() argument
404 return snd_mixer_oss_ioctl1(&fmixer, cmd, arg); in snd_mixer_oss_ioctl_card()
410 static long snd_mixer_oss_ioctl_compat(struct file *file, unsigned int cmd, in snd_mixer_oss_ioctl_compat() argument
413 return snd_mixer_oss_ioctl1(file->private_data, cmd, in snd_mixer_oss_ioctl_compat()
1371 static int snd_mixer_oss_notify_handler(struct snd_card *card, int cmd) in snd_mixer_oss_notify_handler() argument
1375 if (cmd == SND_MIXER_OSS_NOTIFY_REGISTER) { in snd_mixer_oss_notify_handler()
1420 if (cmd == SND_MIXER_OSS_NOTIFY_DISCONNECT) in snd_mixer_oss_notify_handler()