Lines Matching refs:bpl
72 unsigned int bpl, unsigned int padding, in cx88_risc_field() argument
98 if (bpl <= sg_dma_len(sg) - offset) { in cx88_risc_field()
101 RISC_EOL | bpl); in cx88_risc_field()
103 offset += bpl; in cx88_risc_field()
106 todo = bpl; in cx88_risc_field()
133 unsigned int bpl, unsigned int padding, unsigned int lines) in cx88_risc_buffer() argument
150 instructions = fields * (1 + ((bpl + padding) * lines) / in cx88_risc_buffer()
164 bpl, padding, lines, 0, true); in cx88_risc_buffer()
167 bpl, padding, lines, 0, in cx88_risc_buffer()
178 struct scatterlist *sglist, unsigned int bpl, in cx88_risc_databuffer() argument
190 instructions = 1 + (bpl * lines) / PAGE_SIZE + lines; in cx88_risc_databuffer()
201 rp = cx88_risc_field(rp, sglist, 0, NO_SYNC_LINE, bpl, 0, in cx88_risc_databuffer()
344 unsigned int bpl, u32 risc) in cx88_sram_channel_setup() argument
349 bpl = (bpl + 7) & ~7; /* alignment */ in cx88_sram_channel_setup()
351 lines = ch->fifo_size / bpl; in cx88_sram_channel_setup()
358 cx_write(cdt + 16 * i, ch->fifo_start + bpl * i); in cx88_sram_channel_setup()
372 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx88_sram_channel_setup()
375 dprintk(2, "sram setup %s: bpl=%d lines=%d\n", ch->name, bpl, lines); in cx88_sram_channel_setup()
782 int bpl = cx88_sram_channels[SRAM_CH25].fifo_size / 4; in cx88_start_audio_dma() local
791 cx88_sram_channel_setup(core, &cx88_sram_channels[SRAM_CH25], bpl, 0); in cx88_start_audio_dma()
792 cx88_sram_channel_setup(core, &cx88_sram_channels[SRAM_CH26], bpl, 0); in cx88_start_audio_dma()
796 cx_write(MO_AUDD_LNGTH, bpl); /* fifo bpl size */ in cx88_start_audio_dma()