Lines Matching defs:i_dev
1046 mixer_open(struct cdev *i_dev, int flags, int mode, struct thread *td)
1051 if (i_dev == NULL || i_dev->si_drv1 == NULL)
1054 m = i_dev->si_drv1;
1069 mixer_close(struct cdev *i_dev, int flags, int mode, struct thread *td)
1075 if (i_dev == NULL || i_dev->si_drv1 == NULL)
1078 m = i_dev->si_drv1;
1202 mixer_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode,
1208 if (i_dev == NULL || i_dev->si_drv1 == NULL)
1211 d = device_get_softc(((struct snd_mixer *)i_dev->si_drv1)->dev);
1221 ret = mixer_ioctl_channel(i_dev, cmd, arg, mode, td,
1225 ret = mixer_ioctl_cmd(i_dev, cmd, arg, mode, td,
1248 mixer_ioctl_cmd(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode,
1269 return (dsp_oss_audioinfo(i_dev, (oss_audioinfo *)arg));
1271 return (mixer_oss_mixerinfo(i_dev, (oss_mixerinfo *)arg));
1276 m = i_dev->si_drv1;
1390 * @param i_dev character device on which the ioctl arrived
1397 mixer_oss_mixerinfo(struct cdev *i_dev, oss_mixerinfo *mi)
1407 if (mi->dev == -1 && i_dev->si_devsw != &mixer_cdevsw)
1431 ((mi->dev == -1 && d->mixer_dev == i_dev) ||