Lines Matching defs:cp_write

592 static inline int cp_write(struct v4l2_subdev *sd, u8 reg, u8 val)
601 return cp_write(sd, reg, (cp_read(sd, reg) & ~mask) | val);
960 cp_write(sd, 0x8f, 0x00);
961 cp_write(sd, 0x90, 0x00);
962 cp_write(sd, 0xa2, 0x00);
963 cp_write(sd, 0xa3, 0x00);
964 cp_write(sd, 0xa4, 0x00);
965 cp_write(sd, 0xa5, 0x00);
966 cp_write(sd, 0xa6, 0x00);
967 cp_write(sd, 0xa7, 0x00);
968 cp_write(sd, 0xab, 0x00);
969 cp_write(sd, 0xac, 0x00);
1027 cp_write(sd, 0xa2, (cp_start_sav >> 4) & 0xff);
1028 cp_write(sd, 0xa3, ((cp_start_sav & 0x0f) << 4) |
1030 cp_write(sd, 0xa4, cp_start_eav & 0xff);
1033 cp_write(sd, 0xa5, (cp_start_vbi >> 4) & 0xff);
1034 cp_write(sd, 0xa6, ((cp_start_vbi & 0xf) << 4) |
1036 cp_write(sd, 0xa7, cp_end_vbi & 0xff);
1047 cp_write(sd, 0x8f, (ch1_fr_ll >> 8) & 0x7);
1048 cp_write(sd, 0x90, ch1_fr_ll & 0xff);
1049 cp_write(sd, 0xab, (height >> 4) & 0xff);
1050 cp_write(sd, 0xac, (height & 0x0f) << 4);
1218 cp_write(sd, 0x3c, ctrl->val);
1221 cp_write(sd, 0x3a, ctrl->val);
1224 cp_write(sd, 0x3b, ctrl->val);
1227 cp_write(sd, 0x3d, ctrl->val);
1248 cp_write(sd, 0xc0, (ctrl->val & 0xff0000) >> 16);
1249 cp_write(sd, 0xc1, (ctrl->val & 0x00ff00) >> 8);
1250 cp_write(sd, 0xc2, (u8)(ctrl->val & 0x0000ff));
1801 cp_write(sd, 0x3e, 0x00); /* CP core pre-gain control */
1802 cp_write(sd, 0xc3, 0x39); /* CP coast control. Graphics mode */
1803 cp_write(sd, 0x40, 0x80); /* CP core pre-gain control. Graphics mode */
2836 cp_write(sd, 0xcf, 0x01); /* Power down macrovision */
2857 cp_write(sd, 0x69, 0x30); /* Enable CP CSC */
2868 cp_write(sd, 0xba, (pdata->hdmi_free_run_mode << 1) | 0x01); /* HDMI free run */
2869 cp_write(sd, 0xf3, 0xdc); /* Low threshold to enter/exit free run mode */
2870 cp_write(sd, 0xf9, 0x23); /* STDI ch. 1 - LCVS change threshold -
2872 cp_write(sd, 0x45, 0x23); /* STDI ch. 2 - LCVS change threshold -
2874 cp_write(sd, 0xc9, 0x2d); /* use prim_mode and vid_std as free run resolution