/linux-4.1.27/drivers/char/mwave/ |
H A D | 3780i.c | 63 static DEFINE_SPINLOCK(dsp_lock); 82 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_ReadMsaCfg() 86 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_ReadMsaCfg() 102 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_WriteMsaCfg() 106 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_WriteMsaCfg() 294 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_EnableDSP() 339 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_EnableDSP() 367 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_DisableDSP() 374 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_DisableDSP() 394 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_Reset() 403 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_Reset() 458 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_Run() 466 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_Run() 489 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_ReadDStore() 492 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_ReadDStore() 496 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_ReadDStore() 498 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_ReadDStore() 531 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_ReadAndClearDStore() 534 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_ReadAndClearDStore() 538 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_ReadAndClearDStore() 540 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_ReadAndClearDStore() 572 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_WriteDStore() 575 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_WriteDStore() 582 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_WriteDStore() 584 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_WriteDStore() 617 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_ReadIStore() 620 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_ReadIStore() 625 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_ReadIStore() 628 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_ReadIStore() 666 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_WriteIStore() 669 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_WriteIStore() 678 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_WriteIStore() 681 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_WriteIStore() 714 spin_lock_irqsave(&dsp_lock, flags); dsp3780I_GetIPCSource() 730 spin_unlock_irqrestore(&dsp_lock, flags); dsp3780I_GetIPCSource()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
H A D | dsp_core.c | 181 spinlock_t dsp_lock; /* global dsp lock */ variable 681 spin_lock_irqsave(&dsp_lock, flags); dsp_function() 684 spin_unlock_irqrestore(&dsp_lock, flags); dsp_function() 701 spin_lock_irqsave(&dsp_lock, flags); dsp_function() 703 spin_unlock_irqrestore(&dsp_lock, flags); dsp_function() 714 spin_lock_irqsave(&dsp_lock, flags); dsp_function() 737 spin_unlock_irqrestore(&dsp_lock, flags); dsp_function() 814 spin_lock_irqsave(&dsp_lock, flags); dsp_function() 822 spin_unlock_irqrestore(&dsp_lock, flags); dsp_function() 837 spin_lock_irqsave(&dsp_lock, flags); dsp_function() 848 spin_unlock_irqrestore(&dsp_lock, flags); dsp_function() 864 spin_lock_irqsave(&dsp_lock, flags); dsp_function() 869 spin_unlock_irqrestore(&dsp_lock, flags); dsp_function() 888 spin_lock_irqsave(&dsp_lock, flags); dsp_function() 891 spin_unlock_irqrestore(&dsp_lock, flags); dsp_function() 896 spin_lock_irqsave(&dsp_lock, flags); dsp_function() 898 spin_unlock_irqrestore(&dsp_lock, flags); dsp_function() 902 spin_lock_irqsave(&dsp_lock, flags); dsp_function() 904 spin_unlock_irqrestore(&dsp_lock, flags); dsp_function() 927 spin_lock_irqsave(&dsp_lock, flags); dsp_function() 937 spin_unlock_irqrestore(&dsp_lock, flags); dsp_function() 973 spin_lock_irqsave(&dsp_lock, flags); dsp_ctrl() 975 spin_unlock_irqrestore(&dsp_lock, flags); dsp_ctrl() 978 spin_lock_irqsave(&dsp_lock, flags); dsp_ctrl() 994 spin_unlock_irqrestore(&dsp_lock, flags); dsp_ctrl() 1104 spin_lock_irqsave(&dsp_lock, flags); dspcreate() 1107 spin_unlock_irqrestore(&dsp_lock, flags); dspcreate() 1177 spin_lock_init(&dsp_lock); dsp_init()
|
H A D | dsp.h | 39 extern spinlock_t dsp_lock;
|
H A D | dsp_cmx.c | 1644 spin_lock_irqsave(&dsp_lock, flags); 1854 spin_unlock_irqrestore(&dsp_lock, flags);
|
/linux-4.1.27/sound/pci/asihpi/ |
H A D | hpios.h | 134 #define hpios_dsplock_init(obj) spin_lock_init(&(obj)->dsp_lock.lock) 135 #define hpios_dsplock_lock(obj) cond_lock(&(obj)->dsp_lock) 136 #define hpios_dsplock_unlock(obj) cond_unlock(&(obj)->dsp_lock)
|
H A D | hpicmn.h | 35 struct hpios_spinlock dsp_lock; member in struct:hpi_adapter_obj
|
/linux-4.1.27/sound/pci/hda/ |
H A D | hda_controller.c | 40 #define dsp_lock(dev) mutex_lock(&(dev)->dsp_mutex) macro 45 #define dsp_lock(dev) do {} while (0) macro 187 dsp_lock(azx_dev); azx_assign_device() 202 dsp_lock(res); azx_assign_device() 433 dsp_lock(get_azx_dev(substream)); azx_pcm_hw_params() 455 dsp_lock(azx_dev); azx_pcm_hw_free() 486 dsp_lock(azx_dev); azx_pcm_prepare() 1380 dsp_lock(azx_dev); azx_load_dsp_prepare() 1451 dsp_lock(azx_dev); azx_load_dsp_cleanup()
|