Searched refs:i_dev (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/sys/dev/sound/pcm/
H A Ddsp.c433 prio = dsp_get_flags(i_dev); \
444 else if (DSP_REGISTERED(d, i_dev)) \
449 dsp_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
457 if (i_dev == NULL || td == NULL)
460 d = dsp_get_info(i_dev);
474 error = snd_clone_acquire(i_dev);
486 (void)snd_clone_release(i_dev);
500 devtype = PCMDEV(i_dev);
524 (void)snd_clone_release(i_dev);
529 wdevunit = dev2unit(i_dev);
700 dsp_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
818 dsp_io_ops(struct cdev *i_dev, struct uio *buf) argument
892 dsp_read(struct cdev *i_dev, struct uio *buf, int flag) argument
898 dsp_write(struct cdev *i_dev, struct uio *buf, int flag) argument
1067 dsp_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread *td) argument
2168 dsp_poll(struct cdev *i_dev, int events, struct thread *td) argument
2208 dsp_mmap(struct cdev *i_dev, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument
2218 dsp_mmap_single(struct cdev *i_dev, vm_ooffset_t *offset, vm_size_t size, struct vm_object **object, int nprot) argument
2553 dsp_oss_audioinfo(struct cdev *i_dev, oss_audioinfo *ai) argument
[all...]
H A Dmixer.h39 int mixer_ioctl_cmd(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread *td, int from);
40 int mixer_oss_mixerinfo(struct cdev *i_dev, oss_mixerinfo *mi);
H A Dmixer.c1044 mixer_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
1050 if (i_dev == NULL || i_dev->si_drv1 == NULL)
1053 m = i_dev->si_drv1;
1068 mixer_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
1074 if (i_dev == NULL || i_dev->si_drv1 == NULL)
1077 m = i_dev->si_drv1;
1201 mixer_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, argument
1207 if (i_dev
1247 mixer_ioctl_cmd(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread *td, int from) argument
1396 mixer_oss_mixerinfo(struct cdev *i_dev, oss_mixerinfo *mi) argument
[all...]
H A Dsndstat.c105 sndstat_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
139 sndstat_read(struct cdev *i_dev, struct uio *buf, int flag) argument
177 sndstat_write(struct cdev *i_dev, struct uio *buf, int flag) argument
/freebsd-11-stable/sys/dev/sound/midi/
H A Dmidi.c625 midi_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
627 struct snd_midi *m = i_dev->si_drv1;
684 midi_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
686 struct snd_midi *m = i_dev->si_drv1;
729 midi_read(struct cdev *i_dev, struct uio *uio, int ioflag) argument
732 struct snd_midi *m = i_dev->si_drv1;
766 if (m != i_dev->si_drv1)
807 midi_write(struct cdev *i_dev, struct uio *uio, int ioflag) argument
810 struct snd_midi *m = i_dev->si_drv1;
843 if (m != i_dev
888 midi_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread *td) argument
895 midi_poll(struct cdev *i_dev, int events, struct thread *td) argument
934 midistat_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
959 midistat_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
974 midistat_read(struct cdev *i_dev, struct uio *uio, int flag) argument
[all...]
H A Dsequencer.c740 mseq_open(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
742 struct seq_softc *scp = i_dev->si_drv1;
766 scp->music = MIDIDEV(i_dev) == SND_DEV_MUSIC;
823 mseq_close(struct cdev *i_dev, int flags, int mode, struct thread *td) argument
826 struct seq_softc *scp = i_dev->si_drv1;
861 mseq_read(struct cdev *i_dev, struct uio *uio, int ioflag) argument
864 struct seq_softc *scp = i_dev->si_drv1;
939 mseq_write(struct cdev *i_dev, struct uio *uio, int ioflag) argument
942 struct seq_softc *scp = i_dev->si_drv1;
984 if (scp != i_dev
1129 mseq_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread *td) argument
1433 mseq_poll(struct cdev *i_dev, int events, struct thread *td) argument
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Daudio.c132 const char **i_dev /* input device */
/freebsd-11-stable/sys/dev/sound/pci/
H A Demu10kx.c2199 emu10kx_open(struct cdev *i_dev, int flags __unused, int mode __unused, struct thread *td __unused) argument
2204 sc = i_dev->si_drv1;
2228 emu10kx_close(struct cdev *i_dev, int flags __unused, int mode __unused, struct thread *td __unused) argument
2232 sc = i_dev->si_drv1;
2247 emu10kx_read(struct cdev *i_dev, struct uio *buf, int flag __unused) argument
2252 sc = i_dev->si_drv1;

Completed in 103 milliseconds