Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 60) sorted by relevance

123

/sound/firewire/bebob/
Dbebob_hwdep.c23 DEFINE_WAIT(wait); in hwdep_read()
29 prepare_to_wait(&bebob->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
32 finish_wait(&bebob->hwdep_wait, &wait); in hwdep_read()
55 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
60 poll_wait(file, &bebob->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/digi00x/
Ddigi00x-hwdep.c23 DEFINE_WAIT(wait); in hwdep_read()
29 prepare_to_wait(&dg00x->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
32 finish_wait(&dg00x->hwdep_wait, &wait); in hwdep_read()
63 poll_table *wait) in hwdep_poll() argument
68 poll_wait(file, &dg00x->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/fireface/
Dff-hwdep.c22 DEFINE_WAIT(wait); in hwdep_read()
28 prepare_to_wait(&ff->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
31 finish_wait(&ff->hwdep_wait, &wait); in hwdep_read()
55 poll_table *wait) in hwdep_poll() argument
60 poll_wait(file, &ff->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/dice/
Ddice-hwdep.c15 DEFINE_WAIT(wait); in hwdep_read()
21 prepare_to_wait(&dice->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
24 finish_wait(&dice->hwdep_wait, &wait); in hwdep_read()
55 poll_table *wait) in hwdep_poll() argument
60 poll_wait(file, &dice->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/oxfw/
Doxfw-hwdep.c22 DEFINE_WAIT(wait); in hwdep_read()
28 prepare_to_wait(&oxfw->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
31 finish_wait(&oxfw->hwdep_wait, &wait); in hwdep_read()
55 poll_table *wait) in hwdep_poll() argument
60 poll_wait(file, &oxfw->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/motu/
Dmotu-hwdep.c23 DEFINE_WAIT(wait); in hwdep_read()
29 prepare_to_wait(&motu->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
32 finish_wait(&motu->hwdep_wait, &wait); in hwdep_read()
62 poll_table *wait) in hwdep_poll() argument
67 poll_wait(file, &motu->hwdep_wait, wait); in hwdep_poll()
/sound/core/seq/
Dseq_fifo.c166 wait_queue_entry_t wait; in snd_seq_fifo_cell_out() local
172 init_waitqueue_entry(&wait, current); in snd_seq_fifo_cell_out()
181 add_wait_queue(&f->input_sleep, &wait); in snd_seq_fifo_cell_out()
185 remove_wait_queue(&f->input_sleep, &wait); in snd_seq_fifo_cell_out()
217 poll_table *wait) in snd_seq_fifo_poll_wait() argument
219 poll_wait(file, &f->input_sleep, wait); in snd_seq_fifo_poll_wait()
Dseq_memory.c218 wait_queue_entry_t wait; in snd_seq_cell_alloc() local
225 init_waitqueue_entry(&wait, current); in snd_seq_cell_alloc()
235 add_wait_queue(&pool->output_sleep, &wait); in snd_seq_cell_alloc()
243 remove_wait_queue(&pool->output_sleep, &wait); in snd_seq_cell_alloc()
364 poll_table *wait) in snd_seq_pool_poll_wait() argument
366 poll_wait(file, &pool->output_sleep, wait); in snd_seq_pool_poll_wait()
Dseq_fifo.h51 int snd_seq_fifo_poll_wait(struct snd_seq_fifo *f, struct file *file, poll_table *wait);
/sound/soc/qcom/qdsp6/
Dq6core.c55 wait_queue_head_t wait; member
146 wake_up(&core->wait); in q6core_callback()
166 rc = wait_event_timeout(core->wait, (core->resp_received), in q6core_get_fwk_versions()
196 rc = wait_event_timeout(core->wait, (core->resp_received), in q6core_get_svc_versions()
223 rc = wait_event_timeout(core->wait, (core->resp_received), in __q6core_is_adsp_ready()
338 init_waitqueue_head(&g_core->wait); in q6core_probe()
Dq6adm.c51 wait_queue_head_t wait; member
163 wake_up(&copp->wait); in q6adm_callback()
193 wake_up(&copp->wait); in q6adm_callback()
199 wake_up(&copp->wait); in q6adm_callback()
232 init_waitqueue_head(&c->wait); in q6adm_alloc_copp()
256 ret = wait_event_timeout(copp->wait, in q6adm_apr_send_copp_pkt()
261 ret = wait_event_timeout(copp->wait, in q6adm_apr_send_copp_pkt()
/sound/firewire/tascam/
Dtascam-hwdep.c100 DEFINE_WAIT(wait); in hwdep_read()
105 prepare_to_wait(&tscm->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
108 finish_wait(&tscm->hwdep_wait, &wait); in hwdep_read()
128 poll_table *wait) in hwdep_poll() argument
133 poll_wait(file, &tscm->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/fireworks/
Dfireworks_transaction.c59 wait_queue_head_t wait; member
83 init_waitqueue_head(&t.wait); in snd_efw_transaction_run()
95 wait_event_timeout(t.wait, t.state != STATE_PENDING, in snd_efw_transaction_run()
218 wake_up(&t->wait); in handle_resp_for_kernel()
298 wake_up(&t->wait); in snd_efw_transaction_bus_reset()
Dfireworks_hwdep.c126 DEFINE_WAIT(wait); in hwdep_read()
136 prepare_to_wait(&efw->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
139 finish_wait(&efw->hwdep_wait, &wait); in hwdep_read()
188 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
193 poll_wait(file, &efw->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/
Dfcp.c203 wait_queue_head_t wait; member
242 init_waitqueue_head(&t.wait); in fcp_avc_transaction()
258 wait_event_timeout(t.wait, t.state != STATE_PENDING, in fcp_avc_transaction()
309 wake_up(&t->wait); in fcp_bus_reset()
370 wake_up(&t->wait); in fcp_response()
/sound/pci/mixart/
Dmixart_core.c226 wait_queue_entry_t wait; in snd_mixart_send_msg() local
229 init_waitqueue_entry(&wait, current); in snd_mixart_send_msg()
240 add_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg()
243 remove_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg()
273 wait_queue_entry_t wait; in snd_mixart_send_msg_wait_notif() local
283 init_waitqueue_entry(&wait, current); in snd_mixart_send_msg_wait_notif()
294 add_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg_wait_notif()
297 remove_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg_wait_notif()
/sound/soc/intel/common/
Dsst-ipc.c80 struct sst_ipc_message *reply, int wait) in ipc_tx_message() argument
97 msg->wait = wait; in ipc_tx_message()
109 if (wait) in ipc_tx_message()
250 if (!msg->wait) in sst_ipc_tx_msg_reply_complete()
/sound/core/seq/oss/
Dseq_oss_rw.c184 snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait) in snd_seq_oss_poll() argument
190 if (snd_seq_oss_readq_poll(dp->readq, file, wait)) in snd_seq_oss_poll()
196 if (snd_seq_kernel_client_write_poll(dp->cseq, file, wait)) in snd_seq_oss_poll()
Dseq_oss.c49 static __poll_t odev_poll(struct file *file, poll_table * wait);
197 odev_poll(struct file *file, poll_table * wait) in odev_poll() argument
203 return snd_seq_oss_poll(dp, file, wait); in odev_poll()
Dseq_oss_readq.c206 snd_seq_oss_readq_poll(struct seq_oss_readq *q, struct file *file, poll_table *wait) in snd_seq_oss_readq_poll() argument
208 poll_wait(file, &q->midi_sleep, wait); in snd_seq_oss_readq_poll()
/sound/core/
Drawmidi.c386 wait_queue_entry_t wait; in snd_rawmidi_open() local
427 init_waitqueue_entry(&wait, current); in snd_rawmidi_open()
428 add_wait_queue(&rmidi->open_wait, &wait); in snd_rawmidi_open()
454 remove_wait_queue(&rmidi->open_wait, &wait); in snd_rawmidi_open()
1038 wait_queue_entry_t wait; in snd_rawmidi_read() local
1044 init_waitqueue_entry(&wait, current); in snd_rawmidi_read()
1045 add_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_read()
1049 remove_wait_queue(&runtime->sleep, &wait); in snd_rawmidi_read()
1369 wait_queue_entry_t wait; in snd_rawmidi_write() local
1375 init_waitqueue_entry(&wait, current); in snd_rawmidi_write()
[all …]
Dhwdep.c73 wait_queue_entry_t wait; in snd_hwdep_open() local
93 init_waitqueue_entry(&wait, current); in snd_hwdep_open()
94 add_wait_queue(&hw->open_wait, &wait); in snd_hwdep_open()
128 remove_wait_queue(&hw->open_wait, &wait); in snd_hwdep_open()
165 static __poll_t snd_hwdep_poll(struct file * file, poll_table * wait) in snd_hwdep_poll() argument
169 return hw->ops.poll(hw, file, wait); in snd_hwdep_poll()
/sound/soc/sof/
Dtrace.c39 wait_queue_entry_t wait; in sof_wait_trace_avail() local
56 init_waitqueue_entry(&wait, current); in sof_wait_trace_avail()
58 add_wait_queue(&sdev->trace_sleep, &wait); in sof_wait_trace_avail()
64 remove_wait_queue(&sdev->trace_sleep, &wait); in sof_wait_trace_avail()
/sound/oss/dmasound/
Ddmasound_core.c623 DEFINE_WAIT(wait); in sq_write()
626 prepare_to_wait(&write_sq.action_queue, &wait, TASK_INTERRUPTIBLE); in sq_write()
629 finish_wait(&write_sq.action_queue, &wait); in sq_write()
637 finish_wait(&write_sq.action_queue, &wait); in sq_write()
642 finish_wait(&write_sq.action_queue, &wait); in sq_write()
673 static __poll_t sq_poll(struct file *file, struct poll_table_struct *wait) in sq_poll() argument
684 poll_wait(file, &write_sq.action_queue, wait); in sq_poll()
/sound/soc/intel/skylake/
Dskl-sst-cldma.c245 u32 total_size, bool wait) in skl_cldma_copy_to_buf() argument
272 if (wait) { in skl_cldma_copy_to_buf()
299 if (!wait) in skl_cldma_copy_to_buf()

123