Lines Matching refs:WRITE_RPS1
38 WRITE_RPS1(CMD_WR_REG | (1 << 8) | (BRS_CTRL/4)); in vbi_workaround()
40 WRITE_RPS1(0xc000008c); in vbi_workaround()
44 WRITE_RPS1(CMD_PAUSE | CMD_OAN | CMD_SIG1 | CMD_E_FID_B); in vbi_workaround()
45 WRITE_RPS1(CMD_PAUSE | CMD_OAN | CMD_SIG1 | CMD_O_FID_B); in vbi_workaround()
51 WRITE_RPS1(CMD_PAUSE | MASK_10); in vbi_workaround()
54 WRITE_RPS1(CMD_UPLOAD | MASK_08); in vbi_workaround()
56 WRITE_RPS1(CMD_WR_REG | (1 << 8) | (BRS_CTRL/4)); in vbi_workaround()
58 WRITE_RPS1(((1728-(vbi_pixel_to_capture)) << 7) | MASK_19); in vbi_workaround()
60 WRITE_RPS1(CMD_PAUSE | MASK_08); in vbi_workaround()
62 WRITE_RPS1(CMD_UPLOAD | MASK_08); in vbi_workaround()
64 WRITE_RPS1(CMD_WR_REG | (1 << 8) | (NUM_LINE_BYTE3/4)); in vbi_workaround()
66 WRITE_RPS1((2 << 16) | (vbi_pixel_to_capture)); in vbi_workaround()
68 WRITE_RPS1(CMD_WR_REG | (1 << 8) | (BRS_CTRL/4)); in vbi_workaround()
70 WRITE_RPS1((540 << 7) | (5 << 19)); // 5 == vbi_start in vbi_workaround()
72 WRITE_RPS1(CMD_PAUSE | MASK_08); in vbi_workaround()
74 WRITE_RPS1(CMD_UPLOAD | MASK_08 | MASK_04); in vbi_workaround()
76 WRITE_RPS1(CMD_WR_REG | (1 << 8) | (MC1/4)); in vbi_workaround()
77 WRITE_RPS1(MASK_20 | MASK_04); in vbi_workaround()
79 WRITE_RPS1(CMD_INTERRUPT); in vbi_workaround()
81 WRITE_RPS1(CMD_STOP); in vbi_workaround()
176 WRITE_RPS1(CMD_WR_REG | (1 << 8) | (MC2/4)); in saa7146_set_vbi_capture()
177 WRITE_RPS1(MASK_28 | MASK_12); in saa7146_set_vbi_capture()
180 WRITE_RPS1(CMD_WR_REG_MASK | (MC1/4)); in saa7146_set_vbi_capture()
181 WRITE_RPS1(MASK_04 | MASK_20); /* => mask */ in saa7146_set_vbi_capture()
182 WRITE_RPS1(MASK_04 | MASK_20); /* => values */ in saa7146_set_vbi_capture()
185 WRITE_RPS1(CMD_PAUSE | o_wait); in saa7146_set_vbi_capture()
186 WRITE_RPS1(CMD_PAUSE | e_wait); in saa7146_set_vbi_capture()
189 WRITE_RPS1(CMD_INTERRUPT); in saa7146_set_vbi_capture()
192 WRITE_RPS1(CMD_STOP); in saa7146_set_vbi_capture()