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()
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
146 cell = f->head; in fifo_cell_out()
147 if (cell) { in fifo_cell_out()
148 f->head = cell->next; in fifo_cell_out()
151 if (f->tail == cell) in fifo_cell_out()
154 cell->next = NULL; in fifo_cell_out()
158 return cell; in fifo_cell_out()
165 struct snd_seq_event_cell *cell; in snd_seq_fifo_cell_out() local
175 while ((cell = fifo_cell_out(f)) == NULL) { in snd_seq_fifo_cell_out()
193 *cellp = cell; in snd_seq_fifo_cell_out()
200 struct snd_seq_event_cell *cell) in snd_seq_fifo_cell_putback() argument
204 if (cell) { in snd_seq_fifo_cell_putback()
206 cell->next = f->head; in snd_seq_fifo_cell_putback()
207 f->head = cell; in snd_seq_fifo_cell_putback()
209 f->tail = cell; in snd_seq_fifo_cell_putback()
228 struct snd_seq_event_cell *cell, *next, *oldhead; in snd_seq_fifo_resize() local
259 for (cell = oldhead; cell; cell = next) { in snd_seq_fifo_resize()
260 next = cell->next; in snd_seq_fifo_resize()
261 snd_seq_cell_free(cell); in snd_seq_fifo_resize()