Searched refs:cell (Results 1 – 10 of 10) sorted by relevance
/sound/core/seq/ |
D | seq_prioq.c | 132 struct snd_seq_event_cell * cell) in snd_seq_prioq_cell_in() argument 139 if (snd_BUG_ON(!f || !cell)) in snd_seq_prioq_cell_in() 143 prior = (cell->event.flags & SNDRV_SEQ_PRIORITY_MASK); in snd_seq_prioq_cell_in() 151 if (compare_timestamp(&cell->event, &f->tail->event)) { in snd_seq_prioq_cell_in() 153 f->tail->next = cell; in snd_seq_prioq_cell_in() 154 f->tail = cell; in snd_seq_prioq_cell_in() 155 cell->next = NULL; in snd_seq_prioq_cell_in() 170 int rel = compare_timestamp_rel(&cell->event, &cur->event); in snd_seq_prioq_cell_in() 190 prev->next = cell; in snd_seq_prioq_cell_in() 191 cell->next = cur; in snd_seq_prioq_cell_in() [all …]
|
D | seq_fifo.c | 85 struct snd_seq_event_cell *cell; in snd_seq_fifo_clear() local 93 while ((cell = fifo_cell_out(f)) != NULL) { in snd_seq_fifo_clear() 94 snd_seq_cell_free(cell); in snd_seq_fifo_clear() 104 struct snd_seq_event_cell *cell; in snd_seq_fifo_event_in() local 112 err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL, NULL); /* always non-blocking */ in snd_seq_fifo_event_in() 123 f->tail->next = cell; in snd_seq_fifo_event_in() 124 f->tail = cell; in snd_seq_fifo_event_in() 126 f->head = cell; in snd_seq_fifo_event_in() 127 cell->next = NULL; in snd_seq_fifo_event_in() 144 struct snd_seq_event_cell *cell; in fifo_cell_out() local [all …]
|
D | seq_memory.c | 70 struct snd_seq_event_cell *cell; in snd_seq_dump_var_event() local 96 cell = (struct snd_seq_event_cell *)event->data.ext.ptr; in snd_seq_dump_var_event() 97 for (; len > 0 && cell; cell = cell->next) { in snd_seq_dump_var_event() 101 err = func(private_data, &cell->event, size); in snd_seq_dump_var_event() 169 struct snd_seq_event_cell *cell) in free_cell() argument 171 cell->next = pool->free; in free_cell() 172 pool->free = cell; in free_cell() 176 void snd_seq_cell_free(struct snd_seq_event_cell * cell) in snd_seq_cell_free() argument 181 if (snd_BUG_ON(!cell)) in snd_seq_cell_free() 183 pool = cell->pool; in snd_seq_cell_free() [all …]
|
D | seq_queue.c | 243 struct snd_seq_event_cell *cell; in snd_seq_check_queue() local 265 cell = snd_seq_prioq_cell_out(q->tickq, &cur_tick); in snd_seq_check_queue() 266 if (!cell) in snd_seq_check_queue() 268 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue() 276 cell = snd_seq_prioq_cell_out(q->timeq, &cur_time); in snd_seq_check_queue() 277 if (!cell) in snd_seq_check_queue() 279 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue() 300 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop) in snd_seq_enqueue_event() argument 305 if (snd_BUG_ON(!cell)) in snd_seq_enqueue_event() 307 dest = cell->event.queue; /* destination queue */ in snd_seq_enqueue_event() [all …]
|
D | seq_clientmgr.c | 405 struct snd_seq_event_cell *cell; in snd_seq_read() local 430 cell = NULL; in snd_seq_read() 439 err = snd_seq_fifo_cell_out(fifo, &cell, nonblock); in snd_seq_read() 442 if (snd_seq_ev_is_variable(&cell->event)) { in snd_seq_read() 444 tmpev = cell->event; in snd_seq_read() 452 err = snd_seq_expand_var_event(&cell->event, count, in snd_seq_read() 461 if (copy_to_user(buf, &cell->event, sizeof(struct snd_seq_event))) { in snd_seq_read() 468 snd_seq_cell_free(cell); in snd_seq_read() 469 cell = NULL; /* to be sure */ in snd_seq_read() 474 if (cell) in snd_seq_read() [all …]
|
D | seq_prioq.h | 29 int snd_seq_prioq_cell_in(struct snd_seq_prioq *f, struct snd_seq_event_cell *cell);
|
D | seq_fifo.h | 45 void snd_seq_fifo_cell_putback(struct snd_seq_fifo *f, struct snd_seq_event_cell *cell);
|
D | seq_clientmgr.h | 79 int snd_seq_dispatch_event(struct snd_seq_event_cell *cell, int atomic, int hop);
|
D | seq_memory.h | 51 void snd_seq_cell_free(struct snd_seq_event_cell *cell);
|
D | seq_queue.h | 66 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop);
|