/sound/core/seq/oss/ |
D | seq_oss.c | 56 static int odev_open(struct inode *inode, struct file *file); 57 static int odev_release(struct inode *inode, struct file *file); 123 odev_open(struct inode *inode, struct file *file) in odev_open() argument 127 if (iminor(inode) == SNDRV_MINOR_OSS_MUSIC) in odev_open() 140 odev_release(struct inode *inode, struct file *file) in odev_release() argument
|
/sound/oss/ |
D | soundcard.c | 202 static int sound_open(struct inode *inode, struct file *file) in sound_open() argument 204 int dev = iminor(inode); in sound_open() 252 static int sound_release(struct inode *inode, struct file *file) in sound_release() argument 254 int dev = iminor(inode); in sound_release() 404 struct inode *inode = file_inode(file); in sound_poll() local 405 int dev = iminor(inode); in sound_poll()
|
D | swarm_cs4297a.c | 1546 static int cs4297a_open_mixdev(struct inode *inode, struct file *file) in cs4297a_open_mixdev() argument 1548 int minor = iminor(inode); in cs4297a_open_mixdev() 1577 return nonseekable_open(inode, file); in cs4297a_open_mixdev() 1581 static int cs4297a_release_mixdev(struct inode *inode, struct file *file) in cs4297a_release_mixdev() argument 2377 static int cs4297a_release(struct inode *inode, struct file *file) in cs4297a_release() argument 2384 (unsigned) inode, (unsigned) file, file->f_mode)); in cs4297a_release() 2408 static int cs4297a_locked_open(struct inode *inode, struct file *file) in cs4297a_locked_open() argument 2410 int minor = iminor(inode); in cs4297a_locked_open() 2416 (unsigned) inode, (unsigned) file, file->f_mode)); in cs4297a_locked_open() 2498 cs4297a_release(inode, file); in cs4297a_locked_open() [all …]
|
D | msnd_pinnacle.c | 763 static int dev_open(struct inode *inode, struct file *file) in dev_open() argument 765 int minor = iminor(inode); in dev_open() 802 static int dev_release(struct inode *inode, struct file *file) in dev_release() argument 804 int minor = iminor(inode); in dev_release()
|
/sound/oss/dmasound/ |
D | dmasound_core.c | 325 static int mixer_open(struct inode *inode, struct file *file) in mixer_open() argument 337 static int mixer_release(struct inode *inode, struct file *file) in mixer_release() argument 761 static int sq_open(struct inode *inode, struct file *file) in sq_open() argument 787 dmasound.minDev = iminor(inode) & 0x0f; in sq_open() 879 static int sq_release(struct inode *inode, struct file *file) in sq_release() argument 1265 static int state_open(struct inode *inode, struct file *file) in state_open() argument 1347 static int state_release(struct inode *inode, struct file *file) in state_release() argument
|
/sound/ |
D | sound_core.c | 159 static int soundcore_open(struct inode *, struct file *); 582 static int soundcore_open(struct inode *inode, struct file *file) in soundcore_open() argument 585 int unit = iminor(inode); in soundcore_open() 639 err = file->f_op->open(inode,file); in soundcore_open()
|
/sound/core/ |
D | hwdep.c | 83 static int snd_hwdep_open(struct inode *inode, struct file * file) in snd_hwdep_open() argument 85 int major = imajor(inode); in snd_hwdep_open() 91 hw = snd_lookup_minor_data(iminor(inode), in snd_hwdep_open() 95 hw = snd_lookup_oss_minor_data(iminor(inode), in snd_hwdep_open() 161 static int snd_hwdep_release(struct inode *inode, struct file * file) in snd_hwdep_release() argument
|
D | sound.c | 152 static int snd_open(struct inode *inode, struct file *file) in snd_open() argument 154 unsigned int minor = iminor(inode); in snd_open() 177 err = file->f_op->open(inode, file); in snd_open()
|
D | info.c | 301 static int snd_info_entry_open(struct inode *inode, struct file *file) in snd_info_entry_open() argument 309 entry = PDE_DATA(inode); in snd_info_entry_open() 402 static int snd_info_entry_release(struct inode *inode, struct file *file) in snd_info_entry_release() argument 495 struct inode *inode = file_inode(file); in snd_info_entry_mmap() local 508 inode, file, vma); in snd_info_entry_mmap()
|
D | compress_offload.c | 83 static int snd_compr_open(struct inode *inode, struct file *f) in snd_compr_open() argument 89 int maj = imajor(inode); in snd_compr_open() 100 compr = snd_lookup_minor_data(iminor(inode), in snd_compr_open() 146 static int snd_compr_free(struct inode *inode, struct file *f) in snd_compr_free() argument
|
D | init.c | 305 static int snd_disconnect_release(struct inode *inode, struct file *file) in snd_disconnect_release() argument 322 return df->disconnected_f_op->release(inode, file); in snd_disconnect_release() 325 panic("%s(%p, %p) failed!", __func__, inode, file); in snd_disconnect_release()
|
D | rawmidi.c | 362 static int snd_rawmidi_open(struct inode *inode, struct file *file) in snd_rawmidi_open() argument 364 int maj = imajor(inode); in snd_rawmidi_open() 377 err = nonseekable_open(inode, file); in snd_rawmidi_open() 382 rmidi = snd_lookup_minor_data(iminor(inode), in snd_rawmidi_open() 386 rmidi = snd_lookup_oss_minor_data(iminor(inode), in snd_rawmidi_open() 541 static int snd_rawmidi_release(struct inode *inode, struct file *file) in snd_rawmidi_release() argument
|
D | pcm_native.c | 1763 struct inode *inode = file_inode(file); in is_pcm_file() local 1766 if (!S_ISCHR(inode->i_mode) || imajor(inode) != snd_major) in is_pcm_file() 1768 minor = iminor(inode); in is_pcm_file() 2292 static int snd_pcm_playback_open(struct inode *inode, struct file *file) in snd_pcm_playback_open() argument 2295 int err = nonseekable_open(inode, file); in snd_pcm_playback_open() 2298 pcm = snd_lookup_minor_data(iminor(inode), in snd_pcm_playback_open() 2306 static int snd_pcm_capture_open(struct inode *inode, struct file *file) in snd_pcm_capture_open() argument 2309 int err = nonseekable_open(inode, file); in snd_pcm_capture_open() 2312 pcm = snd_lookup_minor_data(iminor(inode), in snd_pcm_capture_open() 2377 static int snd_pcm_release(struct inode *inode, struct file *file) in snd_pcm_release() argument
|
D | control.c | 48 static int snd_ctl_open(struct inode *inode, struct file *file) in snd_ctl_open() argument 55 err = nonseekable_open(inode, file); in snd_ctl_open() 59 card = snd_lookup_minor_data(iminor(inode), SNDRV_DEVICE_TYPE_CONTROL); in snd_ctl_open() 116 static int snd_ctl_release(struct inode *inode, struct file *file) in snd_ctl_release() argument
|
D | timer.c | 1333 static int snd_timer_user_open(struct inode *inode, struct file *file) in snd_timer_user_open() argument 1338 err = nonseekable_open(inode, file); in snd_timer_user_open() 1360 static int snd_timer_user_release(struct inode *inode, struct file *file) in snd_timer_user_release() argument
|
/sound/soc/fsl/ |
D | fsl_ssi_dbg.c | 131 static int fsl_ssi_stats_open(struct inode *inode, struct file *file) in fsl_ssi_stats_open() argument 133 return single_open(file, fsl_ssi_stats_show, inode->i_private); in fsl_ssi_stats_open()
|
/sound/core/oss/ |
D | mixer_oss.c | 41 static int snd_mixer_oss_open(struct inode *inode, struct file *file) in snd_mixer_oss_open() argument 47 err = nonseekable_open(inode, file); in snd_mixer_oss_open() 51 card = snd_lookup_oss_minor_data(iminor(inode), in snd_mixer_oss_open() 83 static int snd_mixer_oss_release(struct inode *inode, struct file *file) in snd_mixer_oss_release() argument
|
D | pcm_oss.c | 2395 static int snd_pcm_oss_open(struct inode *inode, struct file *file) in snd_pcm_oss_open() argument 2405 err = nonseekable_open(inode, file); in snd_pcm_oss_open() 2409 pcm = snd_lookup_oss_minor_data(iminor(inode), in snd_pcm_oss_open() 2443 iminor(inode), setup); in snd_pcm_oss_open() 2483 static int snd_pcm_oss_release(struct inode *inode, struct file *file) in snd_pcm_oss_release() argument
|
/sound/core/seq/ |
D | seq_clientmgr.c | 318 static int snd_seq_open(struct inode *inode, struct file *file) in snd_seq_open() argument 325 err = nonseekable_open(inode, file); in snd_seq_open() 376 static int snd_seq_release(struct inode *inode, struct file *file) in snd_seq_release() argument
|