Lines Matching defs:buffer

293 	u32 dvma_buffer;	/* Device view of ALSA DMA buffer */
294 int size; /* Size of DMA buffer */
295 size_t offset; /* offset in user buffer */
539 #define DBRI_TD_CNT(v) ((v) << 16) /* Number of valid bytes in the buffer */
546 #define DBRI_TD_TBC (1 << 0) /* Transmit buffer Complete */
548 /* Maximum buffer size per TD: almost 8KB */
553 #define DBRI_RD_C (1 << 30) /* Completed buffer */
562 #define DBRI_RD_CNT(v) (((v) >> 16) & 0x1fff) /* Valid bytes in the buffer */
619 A circular command buffer is used here. A new command is being added
629 dbri->dma->cmd buffer. After this, the commands can be written to
630 the buffer, and dbri_cmdsend() is called with the final pointer value
654 printk(KERN_ERR "DBRI: Chip never completed command buffer\n");
656 dprintk(D_CMD, "Chip completed command buffer (%d)\n",
774 * Initialize the interrupt ring buffer.
989 * expected to change much, and which we don't need to buffer.
1073 * with a DMA buffer.
1077 * This function takes a stream number pointing to a data buffer,
1082 * All descriptors create a ring buffer.
1132 /* Make sure buffer size is multiple of four */
1693 buffer. When an interrupt is signaled, the CPU walks through the
1694 buffer and calls dbri_process_one_interrupt() for each interrupt word.
1772 * Walks through the pipe's list of transmit buffer descriptors and marks
1776 * The DMA buffers are not released. They form a ring buffer and
1909 * buffer until it finds a zero word (indicating nothing more to do
2167 * whole DMA buffer.
2470 struct snd_info_buffer *buffer)
2474 snd_iprintf(buffer, "REG0: 0x%x\n", sbus_readl(dbri->regs + REG0));
2475 snd_iprintf(buffer, "REG2: 0x%x\n", sbus_readl(dbri->regs + REG2));
2476 snd_iprintf(buffer, "REG8: 0x%x\n", sbus_readl(dbri->regs + REG8));
2477 snd_iprintf(buffer, "REG9: 0x%x\n", sbus_readl(dbri->regs + REG9));
2482 struct snd_info_buffer *buffer)
2486 snd_iprintf(buffer, "debug=%d\n", dbri_debug);
2491 snd_iprintf(buffer,