Home
last modified time | relevance | path

Searched refs:owner (Results 1 – 25 of 139) sorted by relevance

123456

/sound/aoa/core/
Dcore.c28 if (!try_module_get(c->owner)) in attach_codec_to_fabric()
35 module_put(c->owner); in attach_codec_to_fabric()
50 module_put(c->owner); in attach_codec_to_fabric()
81 module_put(codec->owner); in aoa_codec_unregister()
101 err = aoa_alsa_init(new_fabric->name, new_fabric->owner, dev); in aoa_fabric_register()
147 module_put(codec->owner); in aoa_fabric_unlink_codec()
/sound/oss/
Dsb_midi.c149 .owner = THIS_MODULE,
161 void sb_dsp_midi_init(sb_devc * devc, struct module *owner) in sb_dsp_midi_init() argument
186 if (owner) in sb_dsp_midi_init()
187 midi_devs[dev]->owner = owner; in sb_dsp_midi_init()
Dsb.h164 int sb_dsp_init (struct address_info *hw_config, struct module *owner);
166 int sb_mixer_init(sb_devc *devc, struct module *owner);
170 void sb_dsp_midi_init (sb_devc *devc, struct module *owner);
171 void sb_audio_init (sb_devc *devc, char *name, struct module *owner);
181 int probe_sbmpu (struct address_info *hw_config, struct module *owner);
Duart401.c208 .owner = THIS_MODULE,
292 int probe_uart401(struct address_info *hw_config, struct module *owner) in probe_uart401() argument
361 if (owner) in probe_uart401()
362 midi_devs[devc->my_dev]->owner = owner; in probe_uart401()
375 if (owner) in probe_uart401()
376 midi_devs[devc->my_dev]->converter->owner = owner; in probe_uart401()
Ddev_table.h156 struct module *owner; member
167 struct module *owner; member
247 struct module *owner; member
258 struct module *owner; member
311 struct module *owner; member
343 struct module *owner; member
Dmpu401.h3 int probe_uart401 (struct address_info *hw_config, struct module *owner);
10 int attach_mpu401(struct address_info * hw_config, struct module *owner);
Dad1848.h15 int dma_capture, int share_dma, int *osp, struct module *owner);
21 void attach_ms_sound(struct address_info * hw_config, struct resource *ports, struct module * owner
Dmpu401.c492 if (!try_module_get(coprocessor->owner)) { in mpu401_open()
533 module_put(coprocessor->owner); in mpu401_close()
833 if (!try_module_get(coprocessor->owner)) in mpu_synth_open()
871 module_put(coprocessor->owner); in mpu_synth_close()
883 .owner = THIS_MODULE,
910 .owner = THIS_MODULE,
956 int attach_mpu401(struct address_info *hw_config, struct module *owner) in attach_mpu401() argument
1047 if (owner) in attach_mpu401()
1048 mpu401_synth_operations[m]->owner = owner; in attach_mpu401()
1107 if (owner) in attach_mpu401()
[all …]
Dsb_mixer.c636 .owner = THIS_MODULE,
644 .owner = THIS_MODULE,
670 int sb_mixer_init(sb_devc * devc, struct module *owner) in sb_mixer_init() argument
752 if (owner) in sb_mixer_init()
753 mixer_devs[m]->owner = owner; in sb_mixer_init()
Dsb_audio.c931 .owner = THIS_MODULE,
947 .owner = THIS_MODULE,
963 .owner = THIS_MODULE,
979 .owner = THIS_MODULE,
995 .owner = THIS_MODULE,
1011 .owner = THIS_MODULE,
1027 void sb_audio_init(sb_devc * devc, char *name, struct module *owner) in sb_audio_init() argument
1084 if (owner) in sb_audio_init()
1085 driver->owner = owner; in sb_audio_init()
Dsb_common.c639 int sb_dsp_init(struct address_info *hw_config, struct module *owner) in sb_dsp_init() argument
819 sb_mixer_init(devc, owner); in sb_dsp_init()
822 sb_dsp_midi_init(devc, owner); in sb_dsp_init()
868 sb_audio_init(devc, name, owner); in sb_dsp_init()
1187 int probe_sbmpu(struct address_info *hw_config, struct module *owner) in probe_sbmpu() argument
1229 attach_mpu401(hw_config, owner); in probe_sbmpu()
1267 ret = probe_uart401(hw_config, owner); in probe_sbmpu()
Dv_midi.c135 .owner = THIS_MODULE,
149 .owner = THIS_MODULE,
/sound/core/
Dcontrol.c124 if (control->vd[idx].owner == ctl) in snd_ctl_release()
125 control->vd[idx].owner = NULL; in snd_ctl_release()
440 if (kctl->vd[idx].owner != NULL && kctl->vd[idx].owner != file) { in snd_ctl_remove_unlocked_id()
663 if (vd->owner) { in snd_ctl_elem_info()
665 if (vd->owner == ctl) in snd_ctl_elem_info()
667 info->owner = vd->owner_pid; in snd_ctl_elem_info()
669 info->owner = -1; in snd_ctl_elem_info()
763 (file && vd->owner && vd->owner != file)) { in snd_ctl_elem_write()
824 if (vd->owner != NULL) in snd_ctl_elem_lock()
827 vd->owner = file; in snd_ctl_elem_lock()
[all …]
Dcontrol_compat.c69 s32 owner; member
125 if (put_user(data->owner, &data32->owner)) in snd_ctl_elem_info_compat()
352 if (get_user(data->owner, &data32->owner) || in snd_ctl_elem_add_compat()
Dtimer.c97 static struct snd_timer_instance *snd_timer_instance_new(char *owner, in snd_timer_instance_new() argument
104 timeri->owner = kstrdup(owner, GFP_KERNEL); in snd_timer_instance_new()
105 if (! timeri->owner) { in snd_timer_instance_new()
117 kfree(timeri->owner); in snd_timer_instance_new()
230 char *owner, struct snd_timer_id *tid, in snd_timer_open() argument
244 timeri = snd_timer_instance_new(owner, NULL); in snd_timer_open()
282 timeri = snd_timer_instance_new(owner, timer); in snd_timer_open()
356 kfree(timeri->owner); in snd_timer_close()
1074 ti->owner ? ti->owner : "unknown", in snd_timer_proc_read()
1927 .owner = THIS_MODULE,
/sound/core/seq/
Dseq_queue.c91 if (q->owner == client) { in queue_list_remove()
109 static struct snd_seq_queue *queue_new(int owner, int locked) in queue_new() argument
136 q->owner = owner; in queue_new()
369 return (q->owner == client) || (!q->locked && !q->klocked); in check_access()
432 q->owner = client; in snd_seq_queue_set_owner()
573 if (q->owner == client) in snd_seq_queue_client_termination()
576 if (q->owner == client) { in snd_seq_queue_client_termination()
780 snd_iprintf(buffer, "owned by client : %d\n", q->owner); in snd_seq_info_queues_read()
/sound/isa/gus/
Dgus_mem.c148 block->owner = SNDRV_GF1_MEM_OWNER_DRIVER; in snd_gf1_mem_find()
187 struct snd_gf1_mem_block *snd_gf1_mem_alloc(struct snd_gf1_mem * alloc, int owner, in snd_gf1_mem_alloc() argument
214 block.owner = owner; in snd_gf1_mem_alloc()
251 block.owner = SNDRV_GF1_MEM_OWNER_DRIVER; in snd_gf1_mem_init()
323 switch (block->owner) { in snd_gf1_mem_info_read()
/sound/aoa/
Daoa.h24 struct module *owner; member
71 struct module *owner; member
/sound/oss/dmasound/
Ddmasound_core.c324 if (!try_module_get(dmasound.mach.owner)) in mixer_open()
334 module_put(dmasound.mach.owner); in mixer_release()
365 .owner = THIS_MODULE,
738 if (!try_module_get(dmasound.mach.owner)) in sq_open()
785 module_put(dmasound.mach.owner); in sq_open()
868 module_put(dmasound.mach.owner); in sq_release()
1122 .owner = THIS_MODULE,
1231 if (!try_module_get(dmasound.mach.owner)) in state_open()
1301 module_put(dmasound.mach.owner); in state_release()
1321 .owner = THIS_MODULE,
/sound/synth/emux/
Demux_seq.c91 pinfo.owner = THIS_MODULE; in snd_emux_init_seq()
276 if (!try_module_get(emu->ops.owner)) in snd_emux_inc_count()
279 module_put(emu->ops.owner); in snd_emux_inc_count()
298 module_put(emu->ops.owner); in snd_emux_dec_count()
/sound/aoa/codecs/
Dtoonie.c78 .owner = THIS_MODULE,
131 toonie->codec.owner = THIS_MODULE; in toonie_init()
/sound/aoa/soundbus/
Dsoundbus.h65 struct module *owner; member
184 struct module *owner; member
/sound/drivers/opl3/
Dopl3_oss.c49 .owner = THIS_MODULE,
90 callbacks.owner = THIS_MODULE; in snd_opl3_oss_create_port()
/sound/soc/codecs/
Dwm8728.c309 codec->owner = THIS_MODULE; in wm8728_init()
395 .owner = THIS_MODULE,
468 .owner = THIS_MODULE,
/sound/core/seq/oss/
Dseq_oss_synth.c236 if (!try_module_get(rec->oper.owner)) { in snd_seq_oss_synth_setup()
241 module_put(rec->oper.owner); in snd_seq_oss_synth_setup()
251 module_put(rec->oper.owner); in snd_seq_oss_synth_setup()
329 module_put(rec->oper.owner); in snd_seq_oss_synth_cleanup()

123456