Lines Matching refs:i_dev
1036 mixer_open(struct cdev *i_dev, int flags, int mode, struct thread *td)
1042 if (i_dev == NULL || i_dev->si_drv1 == NULL)
1045 m = i_dev->si_drv1;
1060 mixer_close(struct cdev *i_dev, int flags, int mode, struct thread *td)
1066 if (i_dev == NULL || i_dev->si_drv1 == NULL)
1069 m = i_dev->si_drv1;
1193 mixer_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode,
1199 if (i_dev == NULL || i_dev->si_drv1 == NULL)
1202 d = device_get_softc(((struct snd_mixer *)i_dev->si_drv1)->dev);
1212 ret = mixer_ioctl_channel(i_dev, cmd, arg, mode, td,
1216 ret = mixer_ioctl_cmd(i_dev, cmd, arg, mode, td,
1230 mixer_ioctl_cmd(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode,
1251 return (dsp_oss_audioinfo(i_dev, (oss_audioinfo *)arg));
1253 return (mixer_oss_mixerinfo(i_dev, (oss_mixerinfo *)arg));
1258 m = i_dev->si_drv1;
1370 * @param i_dev character device on which the ioctl arrived
1377 mixer_oss_mixerinfo(struct cdev *i_dev, oss_mixerinfo *mi)
1387 if (mi->dev == -1 && i_dev->si_devsw != &mixer_cdevsw)
1411 ((mi->dev == -1 && d->mixer_dev == i_dev) ||