Lines Matching full:dsp
22 #include "sst-dsp.h"
23 #include "sst-dsp-priv.h"
51 /* wait for DSP completion (in all cases atm inc pending) */ in tx_wait_done()
55 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in tx_wait_done()
64 /* copy the data returned from DSP */ in tx_wait_done()
74 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in tx_wait_done()
85 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in ipc_tx_message()
89 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_message()
107 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_message()
158 spin_lock_irq(&ipc->dsp->spinlock); in ipc_tx_msgs()
161 /* if the DSP is busy, we will TX messages after IRQ. in ipc_tx_msgs()
165 if (ipc->ops.is_dsp_busy && ipc->ops.is_dsp_busy(ipc->dsp)) { in ipc_tx_msgs()
166 dev_dbg(ipc->dev, "ipc_tx_msgs dsp busy\n"); in ipc_tx_msgs()
177 spin_unlock_irq(&ipc->dsp->spinlock); in ipc_tx_msgs()
186 * DSP maybe in lower power active state, so in sst_ipc_tx_message_wait()
187 * check if the DSP supports DSP lp On method in sst_ipc_tx_message_wait()
191 if (ipc->ops.check_dsp_lp_on(ipc->dsp, true)) in sst_ipc_tx_message_wait()
197 if (ipc->ops.check_dsp_lp_on(ipc->dsp, false)) in sst_ipc_tx_message_wait()