Home
last modified time | relevance | path

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

123

/sound/core/seq/
A Dseq_fifo.c165 wait_queue_entry_t wait; in snd_seq_fifo_cell_out() local
171 init_waitqueue_entry(&wait, current); in snd_seq_fifo_cell_out()
180 add_wait_queue(&f->input_sleep, &wait); in snd_seq_fifo_cell_out()
184 remove_wait_queue(&f->input_sleep, &wait); in snd_seq_fifo_cell_out()
213 poll_table *wait) in snd_seq_fifo_poll_wait() argument
215 poll_wait(file, &f->input_sleep, wait); in snd_seq_fifo_poll_wait()
A Dseq_memory.c275 wait_queue_entry_t wait; in snd_seq_cell_alloc() local
282 init_waitqueue_entry(&wait, current); in snd_seq_cell_alloc()
292 add_wait_queue(&pool->output_sleep, &wait); in snd_seq_cell_alloc()
300 remove_wait_queue(&pool->output_sleep, &wait); in snd_seq_cell_alloc()
427 poll_table *wait) in snd_seq_pool_poll_wait() argument
429 poll_wait(file, &pool->output_sleep, wait); in snd_seq_pool_poll_wait()
/sound/firewire/dice/
A 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/digi00x/
A 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/bebob/
A 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()
53 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
58 poll_wait(file, &bebob->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/oxfw/
A 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()
53 poll_table *wait) in hwdep_poll() argument
58 poll_wait(file, &oxfw->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/fireface/
A Dff-hwdep.c30 DEFINE_WAIT(wait); in hwdep_read()
35 prepare_to_wait(&ff->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
38 finish_wait(&ff->hwdep_wait, &wait); in hwdep_read()
72 poll_table *wait) in hwdep_poll() argument
77 poll_wait(file, &ff->hwdep_wait, wait); in hwdep_poll()
/sound/soc/qcom/qdsp6/
A 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()
A Dq6prm.c22 wait_queue_head_t wait; member
55 NULL, &prm->wait, pkt, rsp_opcode); in q6prm_send_cmd_sync()
206 wake_up(&prm->wait); in prm_callback()
227 init_waitqueue_head(&cc->wait); in prm_probe()
A 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()
A Dq6afe.c380 wait_queue_head_t wait; member
634 wait_queue_head_t wait; member
988 wake_up(&port->wait); in q6afe_callback()
992 wake_up(&afe->wait); in q6afe_callback()
1004 wake_up(&afe->wait); in q6afe_callback()
1032 wait_queue_head_t *wait; in afe_apr_send_pkt() local
1038 wait = &port->wait; in afe_apr_send_pkt()
1042 wait = &afe->wait; in afe_apr_send_pkt()
1055 ret = wait_event_timeout(*wait, (result->opcode == rsp_opcode), in afe_apr_send_pkt()
1813 init_waitqueue_head(&port->wait); in q6afe_port_get_from_id()
[all …]
/sound/firewire/tascam/
A Dtascam-hwdep.c102 DEFINE_WAIT(wait); in hwdep_read()
107 prepare_to_wait(&tscm->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
110 finish_wait(&tscm->hwdep_wait, &wait); in hwdep_read()
130 poll_table *wait) in hwdep_poll() argument
135 poll_wait(file, &tscm->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/motu/
A Dmotu-hwdep.c31 DEFINE_WAIT(wait); in hwdep_read()
37 prepare_to_wait(&motu->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
40 finish_wait(&motu->hwdep_wait, &wait); in hwdep_read()
100 poll_table *wait) in hwdep_poll() argument
105 poll_wait(file, &motu->hwdep_wait, wait); in hwdep_poll()
/sound/firewire/
A 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/firewire/fireworks/
A 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()
A 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()
/sound/pci/mixart/
A Dmixart_core.c224 wait_queue_entry_t wait; in snd_mixart_send_msg() local
227 init_waitqueue_entry(&wait, current); in snd_mixart_send_msg()
238 add_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg()
241 remove_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg()
271 wait_queue_entry_t wait; in snd_mixart_send_msg_wait_notif() local
281 init_waitqueue_entry(&wait, current); in snd_mixart_send_msg_wait_notif()
292 add_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg_wait_notif()
295 remove_wait_queue(&mgr->msg_sleep, &wait); in snd_mixart_send_msg_wait_notif()
/sound/core/
A 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()
A Drawmidi.c439 wait_queue_entry_t wait; in snd_rawmidi_open() local
481 init_waitqueue_entry(&wait, current); in snd_rawmidi_open()
482 add_wait_queue(&rmidi->open_wait, &wait); in snd_rawmidi_open()
1289 wait_queue_entry_t wait; in snd_rawmidi_read() local
1295 init_waitqueue_entry(&wait, current); in snd_rawmidi_read()
1606 wait_queue_entry_t wait; in snd_rawmidi_write() local
1612 init_waitqueue_entry(&wait, current); in snd_rawmidi_write()
1641 wait_queue_entry_t wait; in snd_rawmidi_write() local
1644 init_waitqueue_entry(&wait, current); in snd_rawmidi_write()
1671 poll_wait(file, &runtime->sleep, wait); in snd_rawmidi_poll()
[all …]
/sound/core/seq/oss/
A Dseq_oss_rw.c185 snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait) in snd_seq_oss_poll() argument
191 if (snd_seq_oss_readq_poll(dp->readq, file, wait)) in snd_seq_oss_poll()
197 if (snd_seq_kernel_client_write_poll(dp->cseq, file, wait)) in snd_seq_oss_poll()
A Dseq_oss.c49 static __poll_t odev_poll(struct file *file, poll_table * wait);
201 odev_poll(struct file *file, poll_table * wait) in odev_poll() argument
207 return snd_seq_oss_poll(dp, file, wait); in odev_poll()
A 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/hda/core/
A Dcontroller.c329 wait_queue_entry_t wait; in snd_hdac_bus_get_response_rirb() local
332 init_wait_entry(&wait, 0); in snd_hdac_bus_get_response_rirb()
338 prepare_to_wait(&bus->rirb_wq, &wait, in snd_hdac_bus_get_response_rirb()
346 finish_wait(&bus->rirb_wq, &wait); in snd_hdac_bus_get_response_rirb()
372 finish_wait(&bus->rirb_wq, &wait); in snd_hdac_bus_get_response_rirb()
/sound/oss/dmasound/
A Ddmasound_core.c619 DEFINE_WAIT(wait); in sq_write()
622 prepare_to_wait(&write_sq.action_queue, &wait, TASK_INTERRUPTIBLE); in sq_write()
625 finish_wait(&write_sq.action_queue, &wait); in sq_write()
633 finish_wait(&write_sq.action_queue, &wait); in sq_write()
638 finish_wait(&write_sq.action_queue, &wait); in sq_write()
669 static __poll_t sq_poll(struct file *file, struct poll_table_struct *wait) in sq_poll() argument
680 poll_wait(file, &write_sq.action_queue, wait); in sq_poll()
/sound/soc/sof/
A Dipc4-mtrace.c153 wait_queue_entry_t wait; in sof_wait_mtrace_avail() local
160 init_waitqueue_entry(&wait, current); in sof_wait_mtrace_avail()
162 add_wait_queue(&core_data->trace_sleep, &wait); in sof_wait_mtrace_avail()
168 remove_wait_queue(&core_data->trace_sleep, &wait); in sof_wait_mtrace_avail()

Completed in 53 milliseconds

123