Lines Matching refs:coff
455 output->dma->coff = 0; in ddb_output_start()
515 input->dma->coff = 0; in ddb_input_start()
580 (output->dma->size - output->dma->coff <= (2 * 188))) in ddb_output_free()
584 diff = off - output->dma->coff; in ddb_output_free()
601 len = output->dma->size - output->dma->coff; in ddb_output_write()
609 if (off > output->dma->coff) { in ddb_output_write()
610 len = off - output->dma->coff; in ddb_output_write()
620 output->dma->coff, in ddb_output_write()
630 output->dma->coff += len; in ddb_output_write()
631 if (output->dma->coff == output->dma->size) { in ddb_output_write()
632 output->dma->coff = 0; in ddb_output_write()
638 (output->dma->coff >> 7), in ddb_output_write()
676 free = input->dma->size - input->dma->coff; in ddb_input_read()
685 input->dma->coff, free); in ddb_input_read()
688 input->dma->coff += free; in ddb_input_read()
689 if (input->dma->coff == input->dma->size) { in ddb_input_read()
690 input->dma->coff = 0; in ddb_input_read()
697 (input->dma->cbuf << 11) | (input->dma->coff >> 7), in ddb_input_read()
2115 output->dma->coff = (input->dma->stat & 0x7ff) << 7; in input_write_output()