Lines Matching refs:lines
79 unsigned int lines, unsigned int lpi) in cx88_risc_field() argument
90 for (line = 0; line < lines; line++) { 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()
171 unsigned int lines, unsigned int lpi) 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()
361 unsigned int i,lines; in cx88_sram_channel_setup() local
366 lines = ch->fifo_size / bpl; in cx88_sram_channel_setup()
367 if (lines > 6) in cx88_sram_channel_setup()
368 lines = 6; in cx88_sram_channel_setup()
369 BUG_ON(lines < 2); in cx88_sram_channel_setup()
372 for (i = 0; i < lines; i++) in cx88_sram_channel_setup()
378 cx_write(ch->cmds_start + 8, (lines*16) >> 3); in cx88_sram_channel_setup()
388 cx_write(ch->cnt2_reg, (lines*16) >> 3); 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()