Lines Matching defs:cell
257 struct snd_seq_event_cell *cell;
274 while ((cell = snd_seq_prioq_cell_peek(q->tickq)) != NULL) {
276 &cell->event.time.tick)) {
277 cell = snd_seq_prioq_cell_out(q->tickq);
278 if (cell)
279 snd_seq_dispatch_event(cell, atomic, hop);
288 while ((cell = snd_seq_prioq_cell_peek(q->timeq)) != NULL) {
290 &cell->event.time.time)) {
291 cell = snd_seq_prioq_cell_out(q->timeq);
292 if (cell)
293 snd_seq_dispatch_event(cell, atomic, hop);
313 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop)
318 if (snd_BUG_ON(!cell))
320 dest = cell->event.queue; /* destination queue */
325 if ((cell->event.flags & SNDRV_SEQ_TIME_MODE_MASK) == SNDRV_SEQ_TIME_MODE_REL) {
326 switch (cell->event.flags & SNDRV_SEQ_TIME_STAMP_MASK) {
328 cell->event.time.tick += q->timer->tick.cur_tick;
332 snd_seq_inc_real_time(&cell->event.time.time,
336 cell->event.flags &= ~SNDRV_SEQ_TIME_MODE_MASK;
337 cell->event.flags |= SNDRV_SEQ_TIME_MODE_ABS;
340 switch (cell->event.flags & SNDRV_SEQ_TIME_STAMP_MASK) {
342 err = snd_seq_prioq_cell_in(q->tickq, cell);
347 err = snd_seq_prioq_cell_in(q->timeq, cell);