Lines Matching refs:c2
816 dbdma_cmd_ptr c2 = pb->clip_cbo.start; in cmd_buff() local
901 tab_cmd_dbdma(c2++, DBDMA_NOP, 0); in cmd_buff()
902 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch2.wait_sel), in cmd_buff()
905 tab_cmd_dbdma(c2++, DBDMA_NOP | WAIT_IFCLR, 0); in cmd_buff()
907 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch2.control), in cmd_buff()
909 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch2.wait_sel), in cmd_buff()
911 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch2.br_sel), in cmd_buff()
916 jump = (interlace) ? virt_to_bus(c2 + (nlines + 1) / 2 + 2): in cmd_buff()
917 virt_to_bus(c2 + nlines + 2); in cmd_buff()
919 tab_cmd_dbdma(c2++, DBDMA_NOP | BR_IFSET, jump); in cmd_buff()
922 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch2.br_sel), in cmd_buff()
925 jump = (interlace) ? virt_to_bus(c2 + nlines + 1): in cmd_buff()
926 virt_to_bus(c2 + nlines); in cmd_buff()
928 for (i=0; i < nlines; i += stepsize, c2++) in cmd_buff()
929 tab_cmd_gen(c2, OUTPUT_MORE | KEY_STREAM0 | BR_IFSET, 96, in cmd_buff()
937 /* C */ tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch2.br_sel), in cmd_buff()
940 jump = virt_to_bus(c2 + nlines / 2); in cmd_buff()
942 for (i=1; i < nlines; i += 2, c2++) /* abort if set */ in cmd_buff()
943 tab_cmd_gen(c2, OUTPUT_MORE | KEY_STREAM0 | BR_IFSET, 96, in cmd_buff()
953 /* B */ tab_cmd_dbdma(c2++, DBDMA_NOP | WAIT_IFCLR, 0); in cmd_buff()
955 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch1.control), in cmd_buff()
957 tab_cmd_store(c2++, (unsigned)(&pb->planb_base_bus->ch1.control), in cmd_buff()
959 pb->overlay_last2 = c2; /* keep a pointer to the last command */ in cmd_buff()
961 tab_cmd_dbdma(c2, DBDMA_NOP | BR_ALWAYS, pb->clip_cbo.bus); in cmd_buff()