Lines Matching refs:lines
79 unsigned int lines, unsigned int lpi, bool jump) in cx88_risc_field() argument
95 for (line = 0; line < lines; line++) { in cx88_risc_field()
138 unsigned int bpl, unsigned int padding, unsigned int lines) in cx88_risc_buffer() argument
153 instructions = fields * (1 + ((bpl + padding) * lines) / PAGE_SIZE + lines); in cx88_risc_buffer()
165 bpl, padding, lines, 0, true); in cx88_risc_buffer()
168 bpl, padding, lines, 0, top_offset == UNSET); in cx88_risc_buffer()
178 unsigned int lines, unsigned int lpi) in cx88_risc_databuffer() argument
187 instructions = 1 + (bpl * lines) / PAGE_SIZE + lines; in cx88_risc_databuffer()
197 rp = cx88_risc_field(rp, sglist, 0, NO_SYNC_LINE, bpl, 0, lines, lpi, !lpi); in cx88_risc_databuffer()
337 unsigned int i,lines; in cx88_sram_channel_setup() local
342 lines = ch->fifo_size / bpl; in cx88_sram_channel_setup()
343 if (lines > 6) in cx88_sram_channel_setup()
344 lines = 6; in cx88_sram_channel_setup()
345 BUG_ON(lines < 2); in cx88_sram_channel_setup()
348 for (i = 0; i < lines; i++) in cx88_sram_channel_setup()
354 cx_write(ch->cmds_start + 8, (lines*16) >> 3); in cx88_sram_channel_setup()
364 cx_write(ch->cnt2_reg, (lines*16) >> 3); in cx88_sram_channel_setup()
366 dprintk(2,"sram setup %s: bpl=%d lines=%d\n", ch->name, bpl, lines); in cx88_sram_channel_setup()