Home
last modified time | relevance | path

Searched refs:cp_write (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/media/i2c/
Dadv7842.c528 static inline int cp_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cp_write() function
537 return cp_write(sd, reg, (cp_read(sd, reg) & mask) | val); in cp_write_and_or()
941 cp_write(sd, reg->reg & 0xff, val); in adv7842_s_register()
999 cp_write(sd, 0x26, 0x00); in configure_predefined_video_timings()
1000 cp_write(sd, 0x27, 0x00); in configure_predefined_video_timings()
1001 cp_write(sd, 0x28, 0x00); in configure_predefined_video_timings()
1002 cp_write(sd, 0x29, 0x00); in configure_predefined_video_timings()
1003 cp_write(sd, 0x8f, 0x40); in configure_predefined_video_timings()
1004 cp_write(sd, 0x90, 0x00); in configure_predefined_video_timings()
1005 cp_write(sd, 0xa5, 0x00); in configure_predefined_video_timings()
[all …]
Dadv7604.c592 static inline int cp_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cp_write() function
601 return cp_write(sd, reg, (cp_read(sd, reg) & ~mask) | val); in cp_write_clr_set()
960 cp_write(sd, 0x8f, 0x00); in configure_predefined_video_timings()
961 cp_write(sd, 0x90, 0x00); in configure_predefined_video_timings()
962 cp_write(sd, 0xa2, 0x00); in configure_predefined_video_timings()
963 cp_write(sd, 0xa3, 0x00); in configure_predefined_video_timings()
964 cp_write(sd, 0xa4, 0x00); in configure_predefined_video_timings()
965 cp_write(sd, 0xa5, 0x00); in configure_predefined_video_timings()
966 cp_write(sd, 0xa6, 0x00); in configure_predefined_video_timings()
967 cp_write(sd, 0xa7, 0x00); in configure_predefined_video_timings()
[all …]
/linux-6.12.1/drivers/media/i2c/adv748x/
Dadv748x-hdmi.c162 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()
656 ret = cp_write(state, ADV748X_CP_BRI, ctrl->val); in adv748x_hdmi_s_ctrl()
659 ret = cp_write(state, ADV748X_CP_HUE, ctrl->val); in adv748x_hdmi_s_ctrl()
662 ret = cp_write(state, ADV748X_CP_CON, ctrl->val); in adv748x_hdmi_s_ctrl()
665 ret = cp_write(state, ADV748X_CP_SAT, ctrl->val); in adv748x_hdmi_s_ctrl()
676 ret = cp_write(state, ADV748X_CP_PAT_GEN, pattern); in adv748x_hdmi_s_ctrl()
Dadv748x.h410 #define cp_write(s, r, v) adv748x_write(s, ADV748X_PAGE_CP, r, v) macro
411 #define cp_clrset(s, r, m, v) cp_write(s, r, (cp_read(s, r) & ~(m)) | (v))