/sound/core/seq/ |
D | seq_queue.c | 59 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 …]
|
D | seq_clientmgr.c | 549 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 …]
|
D | seq_timer.c | 270 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()
|
D | seq_queue.h | 20 int queue; /* queue number */ member
|
D | seq_ports.c | 461 return r->queue == s->queue; in match_subs_info()
|
/sound/virtio/ |
D | virtio_ctl_msg.c | 126 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 …]
|
D | virtio_card.c | 82 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 …]
|
D | virtio_pcm_msg.c | 338 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()
|
D | virtio_pcm_ops.c | 324 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/ |
D | seq_oss_init.c | 45 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 …]
|
D | seq_oss_timer.c | 137 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()
|
D | seq_oss_device.h | 75 int queue; /* sequencer queue number */ member 158 ev->queue = dp->queue; in snd_seq_oss_fill_addr()
|
D | seq_oss_midi.c | 373 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/ |
D | timer.c | 79 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/ |
D | dmasound.h | 237 #define WAKE_UP(queue) (wake_up_interruptible(&queue)) argument
|
/sound/firewire/tascam/ |
D | tascam.h | 95 struct snd_firewire_tascam_change queue[SND_TSCM_QUEUE_COUNT]; member
|
D | amdtp-tascam.c | 159 &tscm->queue[tscm->push_pos]; in read_status_messages()
|
D | tascam-hwdep.c | 44 struct snd_firewire_tascam_change *entries = tscm->queue; in tscm_hwdep_read_queue()
|