• Home
  • Raw
  • Download

Lines Matching refs:bpl

78 			    unsigned int bpl, unsigned int padding,  in cx88_risc_field()  argument
99 if (bpl <= sg_dma_len(sg)-offset) { in cx88_risc_field()
101 *(rp++)=cpu_to_le32(RISC_WRITE|sol|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
149 instructions = fields * (1 + ((bpl + padding) * lines) / PAGE_SIZE + lines); in cx88_risc_buffer()
158 bpl, padding, lines, 0); in cx88_risc_buffer()
161 bpl, padding, lines, 0); in cx88_risc_buffer()
170 struct scatterlist *sglist, unsigned int bpl, in cx88_risc_databuffer() argument
181 instructions = 1 + (bpl * lines) / PAGE_SIZE + lines; in cx88_risc_databuffer()
188 rp = cx88_risc_field(rp, sglist, 0, NO_SYNC_LINE, bpl, 0, lines, lpi); in cx88_risc_databuffer()
359 unsigned int bpl, u32 risc) in cx88_sram_channel_setup() argument
364 bpl = (bpl + 7) & ~7; /* alignment */ in cx88_sram_channel_setup()
366 lines = ch->fifo_size / bpl; in cx88_sram_channel_setup()
373 cx_write(cdt + 16*i, ch->fifo_start + bpl*i); in cx88_sram_channel_setup()
387 cx_write(ch->cnt1_reg, (bpl >> 3) -1); in cx88_sram_channel_setup()
390 dprintk(2,"sram setup %s: bpl=%d lines=%d\n", ch->name, bpl, lines); in cx88_sram_channel_setup()
813 int bpl = cx88_sram_channels[SRAM_CH25].fifo_size/4; in cx88_start_audio_dma() local
822 cx88_sram_channel_setup(core, &cx88_sram_channels[SRAM_CH25], bpl, 0); in cx88_start_audio_dma()
823 cx88_sram_channel_setup(core, &cx88_sram_channels[SRAM_CH26], bpl, 0); in cx88_start_audio_dma()
827 cx_write(MO_AUDD_LNGTH, bpl); /* fifo bpl size */ in cx88_start_audio_dma()