Lines Matching defs:buffer
292 u32 dvma_buffer; /* Device view of ALSA DMA buffer */
293 int size; /* Size of DMA buffer */
294 size_t offset; /* offset in user buffer */
538 #define DBRI_TD_CNT(v) ((v) << 16) /* Number of valid bytes in the buffer */
545 #define DBRI_TD_TBC (1 << 0) /* Transmit buffer Complete */
547 /* Maximum buffer size per TD: almost 8KB */
552 #define DBRI_RD_C (1 << 30) /* Completed buffer */
561 #define DBRI_RD_CNT(v) (((v) >> 16) & 0x1fff) /* Valid bytes in the buffer */
618 A circular command buffer is used here. A new command is being added
628 dbri->dma->cmd buffer. After this, the commands can be written to
629 the buffer, and dbri_cmdsend() is called with the final pointer value
653 printk(KERN_ERR "DBRI: Chip never completed command buffer\n");
655 dprintk(D_CMD, "Chip completed command buffer (%d)\n",
773 * Initialize the interrupt ring buffer.
988 * expected to change much, and which we don't need to buffer.
1072 * with a DMA buffer.
1076 * This function takes a stream number pointing to a data buffer,
1081 * All descriptors create a ring buffer.
1131 /* Make sure buffer size is multiple of four */
1692 buffer. When an interrupt is signaled, the CPU walks through the
1693 buffer and calls dbri_process_one_interrupt() for each interrupt word.
1771 * Walks through the pipe's list of transmit buffer descriptors and marks
1775 * The DMA buffers are not released. They form a ring buffer and
1908 * buffer until it finds a zero word (indicating nothing more to do
2166 * 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,