Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 18 of 18) sorted by relevance

/sound/core/seq/
Dseq_queue.c59 q->queue = i; in queue_list_add()
108 q->queue = -1; in queue_new()
161 static void queue_use(struct snd_seq_queue *queue, int client, int use);
307 dest = cell->event.queue; /* destination queue */ in snd_seq_enqueue_event()
439 struct snd_seq_queue *queue; in snd_seq_queue_timer_open() local
442 queue = queueptr(queueid); in snd_seq_queue_timer_open()
443 if (queue == NULL) in snd_seq_queue_timer_open()
445 tmr = queue->timer; in snd_seq_queue_timer_open()
446 result = snd_seq_timer_open(queue); in snd_seq_queue_timer_open()
449 result = snd_seq_timer_open(queue); in snd_seq_queue_timer_open()
[all …]
Dseq_clientmgr.c549 bounce_ev.queue = SNDRV_SEQ_QUEUE_DIRECT; in bounce_error_event()
573 int queue, int real_time) in update_timestamp_of_queue() argument
577 q = queueptr(queue); in update_timestamp_of_queue()
580 event->queue = queue; in update_timestamp_of_queue()
691 update_timestamp_of_queue(event, subs->info.queue, in deliver_to_subscribers()
826 if (event->queue == SNDRV_SEQ_ADDRESS_SUBSCRIBERS || in snd_seq_deliver_event()
830 else if (event->queue == SNDRV_SEQ_ADDRESS_BROADCAST || in snd_seq_deliver_event()
936 if (event->queue == SNDRV_SEQ_ADDRESS_SUBSCRIBERS) { in snd_seq_client_enqueue_event()
938 event->queue = SNDRV_SEQ_QUEUE_DIRECT; in snd_seq_client_enqueue_event()
941 if (event->queue == SNDRV_SEQ_ADDRESS_BROADCAST) { in snd_seq_client_enqueue_event()
[all …]
Dseq_timer.c270 sprintf(str, "sequencer queue %i", q->queue); in snd_seq_timer_open()
281 err = snd_timer_open(t, &tmr->alsa_id, q->queue); in snd_seq_timer_open()
291 err = snd_timer_open(t, &tid, q->queue); in snd_seq_timer_open()
496 snd_iprintf(buffer, "Timer for queue %i : %s\n", q->queue, ti->timer->name); in snd_seq_info_timer_read()
Dseq_queue.h20 int queue; /* queue number */ member
Dseq_ports.c461 return r->queue == s->queue; in match_subs_info()
/sound/virtio/
Dvirtio_ctl_msg.c126 struct virtio_snd_queue *queue = virtsnd_control_queue(snd); in virtsnd_ctl_msg_send() local
150 spin_lock_irqsave(&queue->lock, flags); in virtsnd_ctl_msg_send()
151 rc = virtqueue_add_sgs(queue->vqueue, psgs, nouts, nins, msg, in virtsnd_ctl_msg_send()
154 notify = virtqueue_kick_prepare(queue->vqueue); in virtsnd_ctl_msg_send()
158 spin_unlock_irqrestore(&queue->lock, flags); in virtsnd_ctl_msg_send()
174 virtqueue_notify(queue->vqueue); in virtsnd_ctl_msg_send()
235 struct virtio_snd_queue *queue = virtsnd_control_queue(snd); in virtsnd_ctl_msg_cancel_all() local
238 spin_lock_irqsave(&queue->lock, flags); in virtsnd_ctl_msg_cancel_all()
246 spin_unlock_irqrestore(&queue->lock, flags); in virtsnd_ctl_msg_cancel_all()
296 struct virtio_snd_queue *queue = virtsnd_control_queue(snd); in virtsnd_ctl_notify_cb() local
[all …]
Dvirtio_card.c82 struct virtio_snd_queue *queue = virtsnd_event_queue(snd); in virtsnd_event_notify_cb() local
87 spin_lock_irqsave(&queue->lock, flags); in virtsnd_event_notify_cb()
97 spin_unlock_irqrestore(&queue->lock, flags); in virtsnd_event_notify_cb()
164 struct virtio_snd_queue *queue = virtsnd_event_queue(snd); in virtsnd_enable_event_vq() local
166 if (!virtqueue_enable_cb(queue->vqueue)) in virtsnd_enable_event_vq()
167 virtsnd_event_notify_cb(queue->vqueue); in virtsnd_enable_event_vq()
178 struct virtio_snd_queue *queue = virtsnd_event_queue(snd); in virtsnd_disable_event_vq() local
183 if (queue->vqueue) { in virtsnd_disable_event_vq()
184 spin_lock_irqsave(&queue->lock, flags); in virtsnd_disable_event_vq()
185 virtqueue_disable_cb(queue->vqueue); in virtsnd_disable_event_vq()
[all …]
Dvirtio_pcm_msg.c338 static inline void virtsnd_pcm_notify_cb(struct virtio_snd_queue *queue) in virtsnd_pcm_notify_cb() argument
344 spin_lock_irqsave(&queue->lock, flags); in virtsnd_pcm_notify_cb()
346 virtqueue_disable_cb(queue->vqueue); in virtsnd_pcm_notify_cb()
347 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb()
349 if (unlikely(virtqueue_is_broken(queue->vqueue))) in virtsnd_pcm_notify_cb()
351 } while (!virtqueue_enable_cb(queue->vqueue)); in virtsnd_pcm_notify_cb()
352 spin_unlock_irqrestore(&queue->lock, flags); in virtsnd_pcm_notify_cb()
Dvirtio_pcm_ops.c324 struct virtio_snd_queue *queue; in virtsnd_pcm_trigger() local
332 queue = virtsnd_pcm_queue(vss); in virtsnd_pcm_trigger()
334 spin_lock_irqsave(&queue->lock, flags); in virtsnd_pcm_trigger()
340 spin_unlock_irqrestore(&queue->lock, flags); in virtsnd_pcm_trigger()
/sound/core/seq/oss/
Dseq_oss_init.c45 static int delete_seq_queue(int queue);
183 dp->queue = -1; in snd_seq_oss_open()
273 delete_seq_queue(dp->queue); in snd_seq_oss_open()
360 dp->queue = qinfo.queue; in alloc_seq_queue()
368 delete_seq_queue(int queue) in delete_seq_queue() argument
373 if (queue < 0) in delete_seq_queue()
376 qinfo.queue = queue; in delete_seq_queue()
379 pr_err("ALSA: seq_oss: unable to delete queue %d (%d)\n", queue, rc); in delete_seq_queue()
408 int queue; in snd_seq_oss_release() local
419 queue = dp->queue; in snd_seq_oss_release()
[all …]
Dseq_oss_timer.c137 ev.queue = dp->queue; in send_timer_event()
138 ev.data.queue.queue = dp->queue; in send_timer_event()
139 ev.data.queue.param.value = value; in send_timer_event()
156 tmprec.queue = dp->queue; in snd_seq_oss_timer_start()
Dseq_oss_device.h75 int queue; /* sequencer queue number */ member
158 ev->queue = dp->queue; in snd_seq_oss_fill_addr()
Dseq_oss_midi.c373 subs.queue = dp->queue; /* queue for timestamps */ in snd_seq_oss_midi_open()
478 ev.queue = dp->queue; in snd_seq_oss_midi_reset()
/sound/core/
Dtimer.c79 struct snd_timer_read *queue; member
96 unsigned int queue; /* used queue size */ member
108 unsigned int queue; /* used queue size */ member
1331 r = &tu->queue[prev]; in snd_timer_user_interrupt()
1340 r = &tu->queue[tu->qtail++]; in snd_timer_user_interrupt()
1462 struct snd_timer_read *queue = NULL; in realloc_user_queue() local
1470 queue = kcalloc(size, sizeof(*queue), GFP_KERNEL); in realloc_user_queue()
1471 if (!queue) in realloc_user_queue()
1476 kfree(tu->queue); in realloc_user_queue()
1479 tu->queue = queue; in realloc_user_queue()
[all …]
/sound/oss/dmasound/
Ddmasound.h237 #define WAKE_UP(queue) (wake_up_interruptible(&queue)) argument
/sound/firewire/tascam/
Dtascam.h95 struct snd_firewire_tascam_change queue[SND_TSCM_QUEUE_COUNT]; member
Damdtp-tascam.c159 &tscm->queue[tscm->push_pos]; in read_status_messages()
Dtascam-hwdep.c44 struct snd_firewire_tascam_change *entries = tscm->queue; in tscm_hwdep_read_queue()