Lines Matching defs:i_dev
742 mseq_open(struct cdev *i_dev, int flags, int mode, struct thread *td)
744 struct seq_softc *scp = i_dev->si_drv1;
768 scp->music = MIDIDEV(i_dev) == SND_DEV_MUSIC;
825 mseq_close(struct cdev *i_dev, int flags, int mode, struct thread *td)
828 struct seq_softc *scp = i_dev->si_drv1;
863 mseq_read(struct cdev *i_dev, struct uio *uio, int ioflag)
866 struct seq_softc *scp = i_dev->si_drv1;
941 mseq_write(struct cdev *i_dev, struct uio *uio, int ioflag)
944 struct seq_softc *scp = i_dev->si_drv1;
986 if (scp != i_dev->si_drv1)
1128 mseq_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode,
1132 struct seq_softc *scp = i_dev->si_drv1;
1284 ret = midi_ioctl(MIDIMKDEV(major(i_dev), *(int *)arg,
1319 ret = midi_ioctl(MIDIMKDEV(major(i_dev), *(int *)arg,
1432 mseq_poll(struct cdev *i_dev, int events, struct thread *td)
1435 struct seq_softc *scp = i_dev->si_drv1;