Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 25 of 106) sorted by relevance

12345

/sound/aoa/codecs/
Donyx.c63 struct mutex mutex; member
125 mutex_lock(&onyx->mutex); in onyx_snd_vol_get()
128 mutex_unlock(&onyx->mutex); in onyx_snd_vol_get()
149 mutex_lock(&onyx->mutex); in onyx_snd_vol_put()
155 mutex_unlock(&onyx->mutex); in onyx_snd_vol_put()
165 mutex_unlock(&onyx->mutex); in onyx_snd_vol_put()
201 mutex_lock(&onyx->mutex); in onyx_snd_inputgain_get()
203 mutex_unlock(&onyx->mutex); in onyx_snd_inputgain_get()
220 mutex_lock(&onyx->mutex); in onyx_snd_inputgain_put()
227 mutex_unlock(&onyx->mutex); in onyx_snd_inputgain_put()
[all …]
/sound/firewire/
Diso-resources.c30 mutex_init(&r->mutex); in fw_iso_resources_init()
44 mutex_destroy(&r->mutex); in fw_iso_resources_destroy()
127 mutex_lock(&r->mutex); in fw_iso_resources_allocate()
133 mutex_unlock(&r->mutex); in fw_iso_resources_allocate()
148 mutex_unlock(&r->mutex); in fw_iso_resources_allocate()
170 mutex_lock(&r->mutex); in fw_iso_resources_update()
173 mutex_unlock(&r->mutex); in fw_iso_resources_update()
200 mutex_unlock(&r->mutex); in fw_iso_resources_update()
217 mutex_lock(&r->mutex); in fw_iso_resources_free()
230 mutex_unlock(&r->mutex); in fw_iso_resources_free()
Dcmp.c124 mutex_init(&c->mutex); in cmp_connection_init()
142 mutex_destroy(&c->mutex); in cmp_connection_destroy()
196 mutex_lock(&c->mutex); in cmp_connection_establish()
215 mutex_unlock(&c->mutex); in cmp_connection_establish()
222 mutex_unlock(&c->mutex); in cmp_connection_establish()
242 mutex_lock(&c->mutex); in cmp_connection_update()
245 mutex_unlock(&c->mutex); in cmp_connection_update()
258 mutex_unlock(&c->mutex); in cmp_connection_update()
266 mutex_unlock(&c->mutex); in cmp_connection_update()
290 mutex_lock(&c->mutex); in cmp_connection_break()
[all …]
Dspeakers.c53 struct mutex mutex; member
241 mutex_lock(&fwspk->mutex); in fwspk_hw_params()
243 mutex_unlock(&fwspk->mutex); in fwspk_hw_params()
272 mutex_lock(&fwspk->mutex); in fwspk_hw_free()
274 mutex_unlock(&fwspk->mutex); in fwspk_hw_free()
284 mutex_lock(&fwspk->mutex); in fwspk_prepare()
304 mutex_unlock(&fwspk->mutex); in fwspk_prepare()
313 mutex_unlock(&fwspk->mutex); in fwspk_prepare()
663 mutex_destroy(&fwspk->mutex); in fwspk_card_free()
718 mutex_init(&fwspk->mutex); in fwspk_probe()
[all …]
Disight.c55 struct mutex mutex; member
345 mutex_lock(&isight->mutex); in isight_hw_free()
347 mutex_unlock(&isight->mutex); in isight_hw_free()
423 mutex_lock(&isight->mutex); in isight_prepare()
425 mutex_unlock(&isight->mutex); in isight_prepare()
614 mutex_destroy(&isight->mutex); in isight_card_free()
644 mutex_init(&isight->mutex); in isight_probe()
683 mutex_destroy(&isight->mutex); in isight_probe()
697 mutex_lock(&isight->mutex); in isight_remove()
699 mutex_unlock(&isight->mutex); in isight_remove()
[all …]
Damdtp.c51 mutex_init(&s->mutex); in amdtp_out_stream_init()
66 mutex_destroy(&s->mutex); in amdtp_out_stream_destroy()
478 mutex_lock(&s->mutex); in amdtp_out_stream_start()
520 mutex_unlock(&s->mutex); in amdtp_out_stream_start()
530 mutex_unlock(&s->mutex); in amdtp_out_stream_start()
574 mutex_lock(&s->mutex); in amdtp_out_stream_stop()
577 mutex_unlock(&s->mutex); in amdtp_out_stream_stop()
587 mutex_unlock(&s->mutex); in amdtp_out_stream_stop()
Dcmp.h24 struct mutex mutex; member
Diso-resources.h21 struct mutex mutex; member
/sound/pci/oxygen/
Doxygen_mixer.c46 mutex_lock(&chip->mutex); in dac_volume_get()
49 mutex_unlock(&chip->mutex); in dac_volume_get()
61 mutex_lock(&chip->mutex); in dac_volume_put()
69 mutex_unlock(&chip->mutex); in dac_volume_put()
78 mutex_lock(&chip->mutex); in dac_mute_get()
80 mutex_unlock(&chip->mutex); in dac_mute_get()
90 mutex_lock(&chip->mutex); in dac_mute_put()
96 mutex_unlock(&chip->mutex); in dac_mute_put()
129 mutex_lock(&chip->mutex); in upmix_get()
131 mutex_unlock(&chip->mutex); in upmix_get()
[all …]
Dxonar_dg.c261 mutex_lock(&chip->mutex); in output_switch_get()
263 mutex_unlock(&chip->mutex); in output_switch_get()
278 mutex_lock(&chip->mutex); in output_switch_put()
298 mutex_unlock(&chip->mutex); in output_switch_put()
318 mutex_lock(&chip->mutex); in hp_volume_offset_get()
325 mutex_unlock(&chip->mutex); in hp_volume_offset_get()
341 mutex_lock(&chip->mutex); in hp_volume_offset_put()
350 mutex_unlock(&chip->mutex); in hp_volume_offset_put()
371 mutex_lock(&chip->mutex); in input_vol_get()
374 mutex_unlock(&chip->mutex); in input_vol_get()
[all …]
Doxygen_pcm.c174 mutex_lock(&chip->mutex); in oxygen_open()
184 mutex_unlock(&chip->mutex); in oxygen_open()
224 mutex_lock(&chip->mutex); in oxygen_close()
235 mutex_unlock(&chip->mutex); in oxygen_close()
375 mutex_lock(&chip->mutex); in oxygen_rec_a_hw_params()
377 mutex_unlock(&chip->mutex); in oxygen_rec_a_hw_params()
412 mutex_lock(&chip->mutex); in oxygen_rec_b_hw_params()
414 mutex_unlock(&chip->mutex); in oxygen_rec_b_hw_params()
447 mutex_lock(&chip->mutex); in oxygen_spdif_hw_params()
459 mutex_unlock(&chip->mutex); in oxygen_spdif_hw_params()
[all …]
Dxonar_wm87x6.c249 mutex_lock(&chip->mutex); in xonar_ds_handle_hp_jack()
265 mutex_unlock(&chip->mutex); in xonar_ds_handle_hp_jack()
533 mutex_lock(&chip->mutex); in wm8776_bit_switch_put()
540 mutex_unlock(&chip->mutex); in wm8776_bit_switch_put()
660 mutex_lock(&chip->mutex); in wm8776_field_set()
666 mutex_unlock(&chip->mutex); in wm8776_field_set()
712 mutex_lock(&chip->mutex); in wm8776_hp_vol_get()
717 mutex_unlock(&chip->mutex); in wm8776_hp_vol_get()
728 mutex_lock(&chip->mutex); in wm8776_hp_vol_put()
756 mutex_unlock(&chip->mutex); in wm8776_hp_vol_put()
[all …]
/sound/soc/fsl/
Dmpc5200_psc_ac97.c39 mutex_lock(&psc_dma->mutex); in psc_ac97_read()
46 mutex_unlock(&psc_dma->mutex); in psc_ac97_read()
62 mutex_unlock(&psc_dma->mutex); in psc_ac97_read()
69 mutex_unlock(&psc_dma->mutex); in psc_ac97_read()
74 mutex_unlock(&psc_dma->mutex); in psc_ac97_read()
83 mutex_lock(&psc_dma->mutex); in psc_ac97_write()
97 mutex_unlock(&psc_dma->mutex); in psc_ac97_write()
104 mutex_lock(&psc_dma->mutex); in psc_ac97_warm_reset()
110 mutex_unlock(&psc_dma->mutex); in psc_ac97_warm_reset()
117 mutex_lock(&psc_dma->mutex); in psc_ac97_cold_reset()
[all …]
Dmpc5200_dma.h57 struct mutex mutex; member
/sound/aoa/core/
Dgpio-pmf.c78 mutex_lock(&notif->mutex); in pmf_handle_notify()
81 mutex_unlock(&notif->mutex); in pmf_handle_notify()
91 mutex_init(&rt->headphone_notify.mutex); in pmf_gpio_init()
92 mutex_init(&rt->line_in_notify.mutex); in pmf_gpio_init()
93 mutex_init(&rt->line_out_notify.mutex); in pmf_gpio_init()
114 mutex_destroy(&rt->headphone_notify.mutex); in pmf_gpio_exit()
115 mutex_destroy(&rt->line_in_notify.mutex); in pmf_gpio_exit()
116 mutex_destroy(&rt->line_out_notify.mutex); in pmf_gpio_exit()
158 mutex_lock(&notif->mutex); in pmf_set_notify()
205 mutex_unlock(&notif->mutex); in pmf_set_notify()
Dgpio-feature.c212 mutex_lock(&notif->mutex); in ftr_handle_notify()
215 mutex_unlock(&notif->mutex); in ftr_handle_notify()
275 mutex_init(&rt->headphone_notify.mutex); in ftr_gpio_init()
276 mutex_init(&rt->line_in_notify.mutex); in ftr_gpio_init()
277 mutex_init(&rt->line_out_notify.mutex); in ftr_gpio_init()
293 mutex_destroy(&rt->headphone_notify.mutex); in ftr_gpio_exit()
294 mutex_destroy(&rt->line_in_notify.mutex); in ftr_gpio_exit()
295 mutex_destroy(&rt->line_out_notify.mutex); in ftr_gpio_exit()
341 mutex_lock(&notif->mutex); in ftr_set_notify()
370 mutex_unlock(&notif->mutex); in ftr_set_notify()
/sound/soc/codecs/
Dtpa6130a2.c45 struct mutex mutex; member
133 mutex_lock(&data->mutex); in tpa6130a2_power()
180 mutex_unlock(&data->mutex); in tpa6130a2_power()
199 mutex_lock(&data->mutex); in tpa6130a2_get_volsw()
208 mutex_unlock(&data->mutex); in tpa6130a2_get_volsw()
232 mutex_lock(&data->mutex); in tpa6130a2_put_volsw()
236 mutex_unlock(&data->mutex); in tpa6130a2_put_volsw()
244 mutex_unlock(&data->mutex); in tpa6130a2_put_volsw()
393 mutex_init(&data->mutex); in tpa6130a2_probe()
/sound/usb/usx2y/
Dus122l.c149 mutex_lock(&us122l->mutex); in usb_stream_hwdep_vm_fault()
167 mutex_unlock(&us122l->mutex); in usb_stream_hwdep_vm_fault()
173 mutex_unlock(&us122l->mutex); in usb_stream_hwdep_vm_fault()
227 mutex_lock(&us122l->mutex); in usb_stream_hwdep_release()
232 mutex_unlock(&us122l->mutex); in usb_stream_hwdep_release()
247 mutex_lock(&us122l->mutex); in usb_stream_hwdep_mmap()
269 mutex_unlock(&us122l->mutex); in usb_stream_hwdep_mmap()
283 if (mutex_trylock(&us122l->mutex)) { in usb_stream_hwdep_poll()
296 mutex_unlock(&us122l->mutex); in usb_stream_hwdep_poll()
427 mutex_lock(&us122l->mutex); in usb_stream_hwdep_ioctl()
[all …]
Dus122l.h11 struct mutex mutex; member
/sound/pci/ice1712/
Dmaya44.c85 struct mutex mutex; member
192 mutex_lock(&chip->mutex); in maya_vol_get()
195 mutex_unlock(&chip->mutex); in maya_vol_get()
210 mutex_lock(&chip->mutex); in maya_vol_put()
230 mutex_unlock(&chip->mutex); in maya_vol_put()
267 mutex_lock(&chip->mutex); in maya_sw_put()
277 mutex_unlock(&chip->mutex); in maya_sw_put()
332 mutex_lock(&chip->mutex); in maya_gpio_sw_put()
339 mutex_unlock(&chip->mutex); in maya_gpio_sw_put()
394 mutex_lock(&chip->mutex); in maya_rec_src_put()
[all …]
/sound/usb/misc/
Dua101.c100 struct mutex mutex; member
672 mutex_lock(&ua->mutex); in capture_pcm_open()
676 mutex_unlock(&ua->mutex); in capture_pcm_open()
693 mutex_lock(&ua->mutex); in playback_pcm_open()
705 mutex_unlock(&ua->mutex); in playback_pcm_open()
713 mutex_lock(&ua->mutex); in capture_pcm_close()
717 mutex_unlock(&ua->mutex); in capture_pcm_close()
725 mutex_lock(&ua->mutex); in playback_pcm_close()
730 mutex_unlock(&ua->mutex); in playback_pcm_close()
740 mutex_lock(&ua->mutex); in capture_pcm_hw_params()
[all …]
/sound/soc/omap/
Domap-dmic.c57 struct mutex mutex; member
108 mutex_lock(&dmic->mutex); in omap_dmic_dai_startup()
115 mutex_unlock(&dmic->mutex); in omap_dmic_dai_startup()
126 mutex_lock(&dmic->mutex); in omap_dmic_dai_shutdown()
131 mutex_unlock(&dmic->mutex); in omap_dmic_dai_shutdown()
333 mutex_lock(&dmic->mutex); in omap_dmic_select_fclk()
342 mutex_unlock(&dmic->mutex); in omap_dmic_select_fclk()
465 mutex_init(&dmic->mutex); in asoc_dmic_probe()
Domap-mcpdm.c57 struct mutex mutex; member
259 mutex_lock(&mcpdm->mutex); in omap_mcpdm_dai_startup()
267 mutex_unlock(&mcpdm->mutex); in omap_mcpdm_dai_startup()
280 mutex_lock(&mcpdm->mutex); in omap_mcpdm_dai_shutdown()
291 mutex_unlock(&mcpdm->mutex); in omap_mcpdm_dai_shutdown()
471 mutex_init(&mcpdm->mutex); in asoc_mcpdm_probe()
/sound/pci/hda/
Dhda_beep.h41 struct mutex mutex; member
/sound/pci/mixart/
Dmixart.h96 struct mutex msg_mutex; /* mutex for blocking_requests */
98 struct mutex setup_mutex; /* mutex used in hw_params, open and close */
111 struct mutex mixer_mutex; /* mutex for mixer */

12345