Searched refs:cp_write (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | adv7842.c | 550 static inline int cp_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cp_write() function 559 return cp_write(sd, reg, (cp_read(sd, reg) & mask) | val); in cp_write_and_or() 953 cp_write(sd, reg->reg & 0xff, val); in adv7842_s_register() 1011 cp_write(sd, 0x26, 0x00); in configure_predefined_video_timings() 1012 cp_write(sd, 0x27, 0x00); in configure_predefined_video_timings() 1013 cp_write(sd, 0x28, 0x00); in configure_predefined_video_timings() 1014 cp_write(sd, 0x29, 0x00); in configure_predefined_video_timings() 1015 cp_write(sd, 0x8f, 0x40); in configure_predefined_video_timings() 1016 cp_write(sd, 0x90, 0x00); in configure_predefined_video_timings() 1017 cp_write(sd, 0xa5, 0x00); in configure_predefined_video_timings() [all …]
|
D | adv7604.c | 578 static inline int cp_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cp_write() function 587 return cp_write(sd, reg, (cp_read(sd, reg) & ~mask) | val); in cp_write_clr_set() 946 cp_write(sd, 0x8f, 0x00); in configure_predefined_video_timings() 947 cp_write(sd, 0x90, 0x00); in configure_predefined_video_timings() 948 cp_write(sd, 0xa2, 0x00); in configure_predefined_video_timings() 949 cp_write(sd, 0xa3, 0x00); in configure_predefined_video_timings() 950 cp_write(sd, 0xa4, 0x00); in configure_predefined_video_timings() 951 cp_write(sd, 0xa5, 0x00); in configure_predefined_video_timings() 952 cp_write(sd, 0xa6, 0x00); in configure_predefined_video_timings() 953 cp_write(sd, 0xa7, 0x00); in configure_predefined_video_timings() [all …]
|
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/ |
D | adv748x-hdmi.c | 162 cp_write(state, ADV748X_CP_DE_POS_HIGH, high); in adv748x_hdmi_set_de_timings() 163 cp_write(state, ADV748X_CP_DE_POS_END_LOW, low); in adv748x_hdmi_set_de_timings() 167 cp_write(state, ADV748X_CP_DE_POS_HIGH, high); in adv748x_hdmi_set_de_timings() 168 cp_write(state, ADV748X_CP_DE_POS_START_LOW, low); in adv748x_hdmi_set_de_timings() 645 ret = cp_write(state, ADV748X_CP_BRI, ctrl->val); in adv748x_hdmi_s_ctrl() 648 ret = cp_write(state, ADV748X_CP_HUE, ctrl->val); in adv748x_hdmi_s_ctrl() 651 ret = cp_write(state, ADV748X_CP_CON, ctrl->val); in adv748x_hdmi_s_ctrl() 654 ret = cp_write(state, ADV748X_CP_SAT, ctrl->val); in adv748x_hdmi_s_ctrl() 665 ret = cp_write(state, ADV748X_CP_PAT_GEN, pattern); in adv748x_hdmi_s_ctrl()
|
D | adv748x.h | 412 #define cp_write(s, r, v) adv748x_write(s, ADV748X_PAGE_CP, r, v) macro 413 #define cp_clrset(s, r, m, v) cp_write(s, r, (cp_read(s, r) & ~(m)) | (v))
|