/sound/soc/intel/common/ |
D | sst-firmware.c | 375 mutex_lock(&dsp->mutex); in sst_fw_new() 377 mutex_unlock(&dsp->mutex); in sst_fw_new() 418 mutex_lock(&dsp->mutex); in sst_fw_unload() 442 mutex_unlock(&dsp->mutex); in sst_fw_unload() 451 mutex_lock(&dsp->mutex); in sst_fw_free() 453 mutex_unlock(&dsp->mutex); in sst_fw_free() 467 mutex_lock(&dsp->mutex); in sst_fw_free_all() 475 mutex_unlock(&dsp->mutex); in sst_fw_free_all() 501 mutex_lock(&dsp->mutex); in sst_module_new() 503 mutex_unlock(&dsp->mutex); in sst_module_new() [all …]
|
/sound/aoa/codecs/ |
D | onyx.c | 60 struct mutex mutex; member 124 mutex_lock(&onyx->mutex); in onyx_snd_vol_get() 127 mutex_unlock(&onyx->mutex); in onyx_snd_vol_get() 148 mutex_lock(&onyx->mutex); in onyx_snd_vol_put() 154 mutex_unlock(&onyx->mutex); in onyx_snd_vol_put() 164 mutex_unlock(&onyx->mutex); in onyx_snd_vol_put() 200 mutex_lock(&onyx->mutex); in onyx_snd_inputgain_get() 202 mutex_unlock(&onyx->mutex); in onyx_snd_inputgain_get() 219 mutex_lock(&onyx->mutex); in onyx_snd_inputgain_put() 226 mutex_unlock(&onyx->mutex); in onyx_snd_inputgain_put() [all …]
|
/sound/firewire/ |
D | cmp.c | 144 mutex_init(&c->mutex); in cmp_connection_init() 183 mutex_destroy(&c->mutex); in cmp_connection_destroy() 193 mutex_lock(&c->mutex); in cmp_connection_reserve() 206 mutex_unlock(&c->mutex); in cmp_connection_reserve() 214 mutex_lock(&c->mutex); in cmp_connection_release() 216 mutex_unlock(&c->mutex); in cmp_connection_release() 308 mutex_lock(&c->mutex); in cmp_connection_establish() 311 mutex_unlock(&c->mutex); in cmp_connection_establish() 331 mutex_unlock(&c->mutex); in cmp_connection_establish() 351 mutex_lock(&c->mutex); in cmp_connection_update() [all …]
|
D | iso-resources.c | 30 mutex_init(&r->mutex); in fw_iso_resources_init() 44 mutex_destroy(&r->mutex); in fw_iso_resources_destroy() 126 mutex_lock(&r->mutex); in fw_iso_resources_allocate() 132 mutex_unlock(&r->mutex); in fw_iso_resources_allocate() 147 mutex_unlock(&r->mutex); in fw_iso_resources_allocate() 169 mutex_lock(&r->mutex); in fw_iso_resources_update() 172 mutex_unlock(&r->mutex); in fw_iso_resources_update() 199 mutex_unlock(&r->mutex); in fw_iso_resources_update() 221 mutex_lock(&r->mutex); in fw_iso_resources_free() 234 mutex_unlock(&r->mutex); in fw_iso_resources_free()
|
D | isight.c | 55 struct mutex mutex; member 336 mutex_lock(&isight->mutex); in isight_hw_free() 338 mutex_unlock(&isight->mutex); in isight_hw_free() 414 mutex_lock(&isight->mutex); in isight_prepare() 416 mutex_unlock(&isight->mutex); in isight_prepare() 634 mutex_init(&isight->mutex); in isight_probe() 673 mutex_destroy(&isight->mutex); in isight_probe() 686 mutex_lock(&isight->mutex); in isight_bus_reset() 688 mutex_unlock(&isight->mutex); in isight_bus_reset() 700 mutex_lock(&isight->mutex); in isight_remove() [all …]
|
/sound/pci/oxygen/ |
D | xonar_dg_mixer.c | 65 mutex_lock(&chip->mutex); in output_select_get() 67 mutex_unlock(&chip->mutex); in output_select_get() 80 mutex_lock(&chip->mutex); in output_select_put() 87 mutex_unlock(&chip->mutex); in output_select_put() 111 mutex_lock(&chip->mutex); in hp_stereo_volume_get() 116 mutex_unlock(&chip->mutex); in hp_stereo_volume_get() 133 mutex_lock(&chip->mutex); in hp_stereo_volume_put() 143 mutex_unlock(&chip->mutex); in hp_stereo_volume_put() 156 mutex_lock(&chip->mutex); in hp_mute_get() 159 mutex_unlock(&chip->mutex); in hp_mute_get() [all …]
|
D | oxygen_mixer.c | 34 mutex_lock(&chip->mutex); in dac_volume_get() 37 mutex_unlock(&chip->mutex); in dac_volume_get() 49 mutex_lock(&chip->mutex); in dac_volume_put() 57 mutex_unlock(&chip->mutex); in dac_volume_put() 66 mutex_lock(&chip->mutex); in dac_mute_get() 68 mutex_unlock(&chip->mutex); in dac_mute_get() 78 mutex_lock(&chip->mutex); in dac_mute_put() 84 mutex_unlock(&chip->mutex); in dac_mute_put() 117 mutex_lock(&chip->mutex); in upmix_get() 119 mutex_unlock(&chip->mutex); in upmix_get() [all …]
|
D | oxygen_pcm.c | 174 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() 449 mutex_lock(&chip->mutex); in oxygen_rec_c_hw_params() 451 mutex_unlock(&chip->mutex); in oxygen_rec_c_hw_params() [all …]
|
/sound/soc/fsl/ |
D | mpc5200_psc_ac97.c | 35 mutex_lock(&psc_dma->mutex); in psc_ac97_read() 42 mutex_unlock(&psc_dma->mutex); in psc_ac97_read() 58 mutex_unlock(&psc_dma->mutex); in psc_ac97_read() 65 mutex_unlock(&psc_dma->mutex); in psc_ac97_read() 70 mutex_unlock(&psc_dma->mutex); in psc_ac97_read() 79 mutex_lock(&psc_dma->mutex); in psc_ac97_write() 93 mutex_unlock(&psc_dma->mutex); in psc_ac97_write() 100 mutex_lock(&psc_dma->mutex); in psc_ac97_warm_reset() 106 mutex_unlock(&psc_dma->mutex); in psc_ac97_warm_reset() 113 mutex_lock(&psc_dma->mutex); in psc_ac97_cold_reset() [all …]
|
/sound/aoa/core/ |
D | gpio-pmf.c | 77 mutex_lock(¬if->mutex); in pmf_handle_notify() 80 mutex_unlock(¬if->mutex); in pmf_handle_notify() 90 mutex_init(&rt->headphone_notify.mutex); in pmf_gpio_init() 91 mutex_init(&rt->line_in_notify.mutex); in pmf_gpio_init() 92 mutex_init(&rt->line_out_notify.mutex); in pmf_gpio_init() 113 mutex_destroy(&rt->headphone_notify.mutex); in pmf_gpio_exit() 114 mutex_destroy(&rt->line_in_notify.mutex); in pmf_gpio_exit() 115 mutex_destroy(&rt->line_out_notify.mutex); in pmf_gpio_exit() 157 mutex_lock(¬if->mutex); in pmf_set_notify() 204 mutex_unlock(¬if->mutex); in pmf_set_notify()
|
D | gpio-feature.c | 215 mutex_lock(¬if->mutex); in ftr_handle_notify() 218 mutex_unlock(¬if->mutex); in ftr_handle_notify() 278 mutex_init(&rt->headphone_notify.mutex); in ftr_gpio_init() 279 mutex_init(&rt->line_in_notify.mutex); in ftr_gpio_init() 280 mutex_init(&rt->line_out_notify.mutex); in ftr_gpio_init() 296 mutex_destroy(&rt->headphone_notify.mutex); in ftr_gpio_exit() 297 mutex_destroy(&rt->line_in_notify.mutex); in ftr_gpio_exit() 298 mutex_destroy(&rt->line_out_notify.mutex); in ftr_gpio_exit() 344 mutex_lock(¬if->mutex); in ftr_set_notify() 373 mutex_unlock(¬if->mutex); in ftr_set_notify()
|
/sound/firewire/oxfw/ |
D | oxfw-midi.c | 19 mutex_lock(&oxfw->mutex); in midi_capture_open() 29 mutex_unlock(&oxfw->mutex); in midi_capture_open() 46 mutex_lock(&oxfw->mutex); in midi_playback_open() 54 mutex_unlock(&oxfw->mutex); in midi_playback_open() 66 mutex_lock(&oxfw->mutex); in midi_capture_close() 71 mutex_unlock(&oxfw->mutex); in midi_capture_close() 81 mutex_lock(&oxfw->mutex); in midi_playback_close() 86 mutex_unlock(&oxfw->mutex); in midi_playback_close()
|
D | oxfw-pcm.c | 225 mutex_lock(&oxfw->mutex); in pcm_capture_hw_params() 230 mutex_unlock(&oxfw->mutex); in pcm_capture_hw_params() 250 mutex_lock(&oxfw->mutex); in pcm_playback_hw_params() 255 mutex_unlock(&oxfw->mutex); in pcm_playback_hw_params() 265 mutex_lock(&oxfw->mutex); in pcm_capture_hw_free() 272 mutex_unlock(&oxfw->mutex); in pcm_capture_hw_free() 280 mutex_lock(&oxfw->mutex); in pcm_playback_hw_free() 287 mutex_unlock(&oxfw->mutex); in pcm_playback_hw_free() 297 mutex_lock(&oxfw->mutex); in pcm_capture_prepare() 299 mutex_unlock(&oxfw->mutex); in pcm_capture_prepare() [all …]
|
/sound/firewire/motu/ |
D | motu-pcm.c | 145 mutex_lock(&motu->mutex); in pcm_open() 174 mutex_unlock(&motu->mutex); in pcm_open() 178 mutex_unlock(&motu->mutex); in pcm_open() 206 mutex_lock(&motu->mutex); in pcm_hw_params() 210 mutex_unlock(&motu->mutex); in pcm_hw_params() 220 mutex_lock(&motu->mutex); in pcm_hw_free() 227 mutex_unlock(&motu->mutex); in pcm_hw_free() 237 mutex_lock(&motu->mutex); in capture_prepare() 239 mutex_unlock(&motu->mutex); in capture_prepare() 250 mutex_lock(&motu->mutex); in playback_prepare() [all …]
|
/sound/usb/usx2y/ |
D | us122l.c | 137 mutex_lock(&us122l->mutex); in usb_stream_hwdep_vm_fault() 155 mutex_unlock(&us122l->mutex); in usb_stream_hwdep_vm_fault() 161 mutex_unlock(&us122l->mutex); in usb_stream_hwdep_vm_fault() 213 mutex_lock(&us122l->mutex); in usb_stream_hwdep_release() 218 mutex_unlock(&us122l->mutex); in usb_stream_hwdep_release() 233 mutex_lock(&us122l->mutex); in usb_stream_hwdep_mmap() 257 mutex_unlock(&us122l->mutex); in usb_stream_hwdep_mmap() 271 if (mutex_trylock(&us122l->mutex)) { in usb_stream_hwdep_poll() 284 mutex_unlock(&us122l->mutex); in usb_stream_hwdep_poll() 410 mutex_lock(&us122l->mutex); in usb_stream_hwdep_ioctl() [all …]
|
/sound/firewire/tascam/ |
D | tascam-pcm.c | 103 mutex_lock(&tscm->mutex); in pcm_hw_params() 107 mutex_unlock(&tscm->mutex); in pcm_hw_params() 117 mutex_lock(&tscm->mutex); in pcm_hw_free() 124 mutex_unlock(&tscm->mutex); in pcm_hw_free() 135 mutex_lock(&tscm->mutex); in pcm_capture_prepare() 141 mutex_unlock(&tscm->mutex); in pcm_capture_prepare() 152 mutex_lock(&tscm->mutex); in pcm_playback_prepare() 158 mutex_unlock(&tscm->mutex); in pcm_playback_prepare()
|
/sound/pci/ice1712/ |
D | maya44.c | 71 struct mutex mutex; member 178 mutex_lock(&chip->mutex); in maya_vol_get() 181 mutex_unlock(&chip->mutex); in maya_vol_get() 196 mutex_lock(&chip->mutex); in maya_vol_put() 216 mutex_unlock(&chip->mutex); in maya_vol_put() 253 mutex_lock(&chip->mutex); in maya_sw_put() 263 mutex_unlock(&chip->mutex); in maya_sw_put() 318 mutex_lock(&chip->mutex); in maya_gpio_sw_put() 325 mutex_unlock(&chip->mutex); in maya_gpio_sw_put() 372 mutex_lock(&chip->mutex); in maya_rec_src_put() [all …]
|
/sound/firewire/digi00x/ |
D | digi00x-pcm.c | 171 mutex_lock(&dg00x->mutex); in pcm_hw_params() 175 mutex_unlock(&dg00x->mutex); in pcm_hw_params() 185 mutex_lock(&dg00x->mutex); in pcm_hw_free() 192 mutex_unlock(&dg00x->mutex); in pcm_hw_free() 202 mutex_lock(&dg00x->mutex); in pcm_capture_prepare() 208 mutex_unlock(&dg00x->mutex); in pcm_capture_prepare() 218 mutex_lock(&dg00x->mutex); in pcm_playback_prepare() 226 mutex_unlock(&dg00x->mutex); in pcm_playback_prepare()
|
/sound/soc/ti/ |
D | omap-dmic.c | 46 struct mutex mutex; member 96 mutex_lock(&dmic->mutex); in omap_dmic_dai_startup() 103 mutex_unlock(&dmic->mutex); in omap_dmic_dai_startup() 113 mutex_lock(&dmic->mutex); in omap_dmic_dai_shutdown() 120 mutex_unlock(&dmic->mutex); in omap_dmic_dai_shutdown() 336 mutex_lock(&dmic->mutex); in omap_dmic_select_fclk() 345 mutex_unlock(&dmic->mutex); in omap_dmic_select_fclk() 472 mutex_init(&dmic->mutex); in asoc_dmic_probe()
|
/sound/usb/misc/ |
D | ua101.c | 90 struct mutex mutex; member 662 mutex_lock(&ua->mutex); in capture_pcm_open() 666 mutex_unlock(&ua->mutex); in capture_pcm_open() 683 mutex_lock(&ua->mutex); in playback_pcm_open() 695 mutex_unlock(&ua->mutex); in playback_pcm_open() 703 mutex_lock(&ua->mutex); in capture_pcm_close() 707 mutex_unlock(&ua->mutex); in capture_pcm_close() 715 mutex_lock(&ua->mutex); in playback_pcm_close() 720 mutex_unlock(&ua->mutex); in playback_pcm_close() 730 mutex_lock(&ua->mutex); in capture_pcm_hw_params() [all …]
|
/sound/pci/lx6464es/ |
D | lx6464es.h | 58 struct mutex lock; /* interrupt lock */ 59 struct mutex setup_mutex; /* mutex used in hw_params, open 70 struct mutex msg_lock; /* message lock */
|
/sound/pci/pcxhr/ |
D | pcxhr.h | 69 struct mutex lock; /* interrupt lock */ 70 struct mutex msg_lock; /* message lock */ 72 struct mutex setup_mutex; /* mutex used in hw_params, open and close */ 73 struct mutex mixer_mutex; /* mutex for mixer */
|
/sound/firewire/fireface/ |
D | ff-pcm.c | 215 mutex_lock(&ff->mutex); in pcm_hw_params() 219 mutex_unlock(&ff->mutex); in pcm_hw_params() 229 mutex_lock(&ff->mutex); in pcm_hw_free() 236 mutex_unlock(&ff->mutex); in pcm_hw_free() 247 mutex_lock(&ff->mutex); in pcm_capture_prepare() 253 mutex_unlock(&ff->mutex); in pcm_capture_prepare() 264 mutex_lock(&ff->mutex); in pcm_playback_prepare() 270 mutex_unlock(&ff->mutex); in pcm_playback_prepare()
|
/sound/pci/mixart/ |
D | mixart.h | 74 struct mutex lock; /* interrupt lock */ 75 struct mutex msg_lock; /* mailbox lock */ 77 struct mutex setup_mutex; /* mutex used in hw_params, open and close */ 90 struct mutex mixer_mutex; /* mutex for mixer */
|
/sound/firewire/bebob/ |
D | bebob_maudio.c | 268 mutex_lock(&bebob->mutex); in snd_bebob_maudio_special_discover() 297 mutex_unlock(&bebob->mutex); in snd_bebob_maudio_special_discover() 386 mutex_lock(&bebob->mutex); in special_clk_ctl_put() 392 mutex_unlock(&bebob->mutex); in special_clk_ctl_put() 459 mutex_lock(&bebob->mutex); in special_dig_in_iface_ctl_get() 478 mutex_unlock(&bebob->mutex); in special_dig_in_iface_ctl_get() 497 mutex_lock(&bebob->mutex); in special_dig_in_iface_ctl_set() 521 mutex_unlock(&bebob->mutex); in special_dig_in_iface_ctl_set() 549 mutex_lock(&bebob->mutex); in special_dig_out_iface_ctl_get() 551 mutex_unlock(&bebob->mutex); in special_dig_out_iface_ctl_get() [all …]
|