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,
1267 return (dsp_oss_audioinfo(i_dev, (oss_audioinfo *)arg,
1270 return (dsp_oss_audioinfo(i_dev, (oss_audioinfo *)arg,
1273 return (dsp_oss_engineinfo(i_dev, (oss_audioinfo *)arg));
1275 return (mixer_oss_mixerinfo(i_dev, (oss_mixerinfo *)arg));
1280 m = i_dev->si_drv1;
1420 * @param i_dev character device on which the ioctl arrived
1427 mixer_oss_mixerinfo(struct cdev *i_dev, oss_mixerinfo *mi)
1437 if (mi->dev == -1 && i_dev->si_devsw != &mixer_cdevsw)
1464 if (!((d->mixer_dev == i_dev && mi->dev == -1) ||