Searched refs:sdp_write (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/media/i2c/adv748x/ |
D | adv748x-afe.c | 47 ret = sdp_write(state, ADV748X_SDP_MAP_SEL, in adv748x_afe_read_ro_map() 161 return sdp_write(state, ADV748X_SDP_INSEL, input); in adv748x_afe_s_input() 423 ret = sdp_write(state, 0x0e, 0x00); in adv748x_afe_s_ctrl() 429 ret = sdp_write(state, ADV748X_SDP_BRI, ctrl->val); in adv748x_afe_s_ctrl() 433 ret = sdp_write(state, ADV748X_SDP_HUE, -ctrl->val); in adv748x_afe_s_ctrl() 436 ret = sdp_write(state, ADV748X_SDP_CON, ctrl->val); in adv748x_afe_s_ctrl() 439 ret = sdp_write(state, ADV748X_SDP_SD_SAT_U, ctrl->val); in adv748x_afe_s_ctrl() 442 ret = sdp_write(state, ADV748X_SDP_SD_SAT_V, ctrl->val); in adv748x_afe_s_ctrl()
|
D | adv748x.h | 408 #define sdp_write(s, r, v) adv748x_write(s, ADV748X_PAGE_SDP, r, v) macro 409 #define sdp_clrset(s, r, m, v) sdp_write(s, r, (sdp_read(s, r) & ~(m)) | (v))
|
/linux-6.1.9/drivers/media/i2c/ |
D | adv7842.c | 438 static inline int sdp_write(struct v4l2_subdev *sd, u8 reg, u8 val) in sdp_write() function 447 return sdp_write(sd, reg, (sdp_read(sd, reg) & mask) | val); in sdp_write_and_or() 926 sdp_write(sd, reg->reg & 0xff, val); in adv7842_s_register() 1272 sdp_write(sd, 0x14, ctrl->val); in adv7842_s_ctrl() 1277 sdp_write(sd, 0x13, ctrl->val); in adv7842_s_ctrl() 1282 sdp_write(sd, 0x15, ctrl->val); in adv7842_s_ctrl() 1287 sdp_write(sd, 0x16, ctrl->val); in adv7842_s_ctrl() 1324 sdp_write(sd, 0xde, Y); in adv7842_s_ctrl() 1325 sdp_write(sd, 0xdf, (V & 0xf0) | ((U >> 4) & 0x0f)); in adv7842_s_ctrl() 1817 sdp_write(sd, 0x00, 0x3F); /* Autodetect PAL NTSC (not SECAM) */ in select_input() [all …]
|