Searched refs:mixdev (Results 1 – 1 of 1) sorted by relevance
318 static int sound_mixer_ioctl(int mixdev, unsigned int cmd, caddr_t arg) in sound_mixer_ioctl() argument320 if (mixdev < 0 || mixdev >= MAX_MIXER_DEV) in sound_mixer_ioctl()323 if (mixer_devs[mixdev] == NULL) { in sound_mixer_ioctl()325 sprintf(modname, "mixer%d", mixdev); in sound_mixer_ioctl()328 if (mixdev >= num_mixers || !mixer_devs[mixdev]) in sound_mixer_ioctl()331 return get_mixer_info(mixdev, arg); in sound_mixer_ioctl()333 return get_old_mixer_info(mixdev, arg); in sound_mixer_ioctl()335 mixer_devs[mixdev]->modify_counter++; in sound_mixer_ioctl()336 if (!mixer_devs[mixdev]->ioctl) in sound_mixer_ioctl()338 return mixer_devs[mixdev]->ioctl(mixdev, cmd, arg); in sound_mixer_ioctl()