Lines Matching refs:lines
442 unsigned int i, lines; in cx25821_sram_channel_setup() local
455 lines = ch->fifo_size / bpl; in cx25821_sram_channel_setup()
457 if (lines > 4) in cx25821_sram_channel_setup()
458 lines = 4; in cx25821_sram_channel_setup()
460 BUG_ON(lines < 2); in cx25821_sram_channel_setup()
467 for (i = 0; i < lines; i++) { in cx25821_sram_channel_setup()
486 cx_write(ch->cmds_start + 12, (lines * 16) >> 3); in cx25821_sram_channel_setup()
500 cx_write(ch->cnt2_reg, (lines * 16) >> 3); in cx25821_sram_channel_setup()
510 unsigned int i, lines; in cx25821_sram_channel_setup_audio() local
523 lines = ch->fifo_size / bpl; in cx25821_sram_channel_setup_audio()
525 if (lines > 3) in cx25821_sram_channel_setup_audio()
526 lines = 3; /* for AUDIO */ in cx25821_sram_channel_setup_audio()
528 BUG_ON(lines < 2); in cx25821_sram_channel_setup_audio()
535 for (i = 0; i < lines; i++) { in cx25821_sram_channel_setup_audio()
550 cx_write(ch->cmds_start + 12, (lines * 16) >> 3); in cx25821_sram_channel_setup_audio()
566 cx_write(ch->cnt2_reg, (lines * 16) >> 3); in cx25821_sram_channel_setup_audio()
985 unsigned int lines) in cx25821_risc_field() argument
996 for (line = 0; line < lines; line++) { in cx25821_risc_field()
1041 unsigned int padding, unsigned int lines) in cx25821_risc_buffer() argument
1059 instructions = fields * (1 + ((bpl + padding) * lines) / PAGE_SIZE + in cx25821_risc_buffer()
1060 lines); in cx25821_risc_buffer()
1072 lines); in cx25821_risc_buffer()
1077 padding, lines); in cx25821_risc_buffer()
1090 unsigned int lines, unsigned int lpi) in cx25821_risc_field_audio() argument
1101 for (line = 0; line < lines; line++) { in cx25821_risc_field_audio()
1152 unsigned int lines, unsigned int lpi) in cx25821_risc_databuffer_audio() argument
1163 instructions = 1 + (bpl * lines) / PAGE_SIZE + lines; in cx25821_risc_databuffer_audio()
1173 lines, lpi); in cx25821_risc_databuffer_audio()