Lines Matching refs:cell

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()
103 struct snd_seq_event_cell *cell; in snd_seq_fifo_event_in() local
110 err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL, NULL); /* always non-blocking */ in snd_seq_fifo_event_in()
120 f->tail->next = cell; in snd_seq_fifo_event_in()
121 f->tail = cell; in snd_seq_fifo_event_in()
123 f->head = cell; in snd_seq_fifo_event_in()
124 cell->next = NULL; in snd_seq_fifo_event_in()
139 struct snd_seq_event_cell *cell; in fifo_cell_out() local
141 cell = f->head; in fifo_cell_out()
142 if (cell) { in fifo_cell_out()
143 f->head = cell->next; in fifo_cell_out()
146 if (f->tail == cell) in fifo_cell_out()
149 cell->next = NULL; in fifo_cell_out()
153 return cell; in fifo_cell_out()
160 struct snd_seq_event_cell *cell; in snd_seq_fifo_cell_out() local
170 while ((cell = fifo_cell_out(f)) == NULL) { in snd_seq_fifo_cell_out()
188 *cellp = cell; in snd_seq_fifo_cell_out()
195 struct snd_seq_event_cell *cell) in snd_seq_fifo_cell_putback() argument
197 if (cell) { in snd_seq_fifo_cell_putback()
199 cell->next = f->head; in snd_seq_fifo_cell_putback()
200 f->head = cell; in snd_seq_fifo_cell_putback()
202 f->tail = cell; in snd_seq_fifo_cell_putback()
221 struct snd_seq_event_cell *cell, *next, *oldhead; in snd_seq_fifo_resize() local
252 for (cell = oldhead; cell; cell = next) { in snd_seq_fifo_resize()
253 next = cell->next; in snd_seq_fifo_resize()
254 snd_seq_cell_free(cell); in snd_seq_fifo_resize()