Home
last modified time | relevance | path

Searched refs:spinlock (Results 1 – 14 of 14) sorted by relevance

/sound/drivers/
Dmtpav.c144 spinlock_t spinlock; member
329 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
331 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
359 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
364 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
377 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
382 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
395 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
400 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
415 spin_lock_irqsave(&chip->spinlock, flags); in snd_mtpav_output_timer()
[all …]
/sound/soc/intel/common/
Dsst-dsp.c96 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_write()
98 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_write()
107 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_read()
109 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_read()
119 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_write64()
121 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_write64()
130 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_read64()
132 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_read64()
222 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_update_bits()
224 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_update_bits()
[all …]
Dsst-ipc.c65 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in tx_wait_done()
81 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in tx_wait_done()
92 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in ipc_tx_message()
96 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_message()
112 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_message()
166 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in ipc_tx_msgs()
169 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_msgs()
177 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_msgs()
187 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_msgs()
250 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in sst_ipc_drop_all()
[all …]
Dsst-dsp-priv.h267 spinlock_t spinlock; /* IPC locking */ member
Dsst-firmware.c1227 spin_lock_init(&sst->spinlock); in sst_dsp_new()
/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c292 spin_unlock_irqrestore(&sst->spinlock, *flags); in sst_byt_process_notification()
294 spin_lock_irqsave(&sst->spinlock, *flags); in sst_byt_process_notification()
313 spin_lock_irqsave(&sst->spinlock, flags); in sst_byt_irq_thread()
338 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_byt_irq_thread()
359 spin_lock_irqsave(&sst->spinlock, flags); in sst_byt_stream_new()
365 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_byt_stream_new()
461 spin_lock_irqsave(&sst->spinlock, flags); in sst_byt_stream_free()
464 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_byt_stream_free()
Dsst-baytrail-dsp.c185 spin_lock(&sst->spinlock); in sst_byt_irq()
202 spin_unlock(&sst->spinlock); in sst_byt_irq()
/sound/soc/intel/skylake/
Dskl-sst-dsp.c316 spin_lock(&ctx->spinlock); in skl_dsp_sst_interrupt()
322 spin_unlock(&ctx->spinlock); in skl_dsp_sst_interrupt()
336 spin_unlock(&ctx->spinlock); in skl_dsp_sst_interrupt()
421 spin_lock_init(&sst->spinlock); in skl_dsp_ctx_init()
/sound/usb/caiaq/
Daudio.c67 spin_lock(&cdev->spinlock); in activate_substream()
74 spin_unlock(&cdev->spinlock); in activate_substream()
82 spin_lock_irqsave(&cdev->spinlock, flags); in deactivate_substream()
89 spin_unlock_irqrestore(&cdev->spinlock, flags); in deactivate_substream()
321 spin_lock(&cdev->spinlock); in snd_usb_caiaq_pcm_pointer()
336 spin_unlock(&cdev->spinlock); in snd_usb_caiaq_pcm_pointer()
675 spin_lock(&cdev->spinlock); in read_completed()
678 spin_unlock(&cdev->spinlock); in read_completed()
Ddevice.h73 spinlock_t spinlock; member
Ddevice.c432 spin_lock_init(&cdev->spinlock); in create_card()
/sound/soc/intel/haswell/
Dsst-haswell-ipc.c783 spin_lock_irqsave(&sst->spinlock, flags); in hsw_irq_thread()
818 spin_unlock_irqrestore(&sst->spinlock, flags); in hsw_irq_thread()
985 spin_lock_irqsave(&sst->spinlock, flags); in sst_hsw_stream_new()
995 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_hsw_stream_new()
1033 spin_lock_irqsave(&sst->spinlock, flags); in sst_hsw_stream_free()
1036 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_hsw_stream_free()
Dsst-haswell-dsp.c222 spin_lock(&sst->spinlock); in hsw_irq()
246 spin_unlock(&sst->spinlock); in hsw_irq()
/sound/soc/samsung/
Di2s.c101 spinlock_t spinlock; member
1257 spin_lock_init(&pri_dai->spinlock); in samsung_i2s_probe()
1258 pri_dai->lock = &pri_dai->spinlock; in samsung_i2s_probe()
1331 sec_dai->lock = &pri_dai->spinlock; in samsung_i2s_probe()