Lines Matching defs:chan
1465 struct esschan *chan = runtime->private_data;
1468 if (chan->memory) {
1469 if (chan->memory->buf.bytes >= size) {
1473 snd_es1968_free_memory(chip, chan->memory);
1475 chan->memory = snd_es1968_new_memory(chip, size);
1476 if (chan->memory == NULL) {
1481 snd_pcm_set_runtime_buffer(substream, &chan->memory->buf);
1490 struct esschan *chan;
1494 chan = runtime->private_data;
1495 if (chan->memory) {
1496 snd_es1968_free_memory(chip, chan->memory);
1497 chan->memory = NULL;