Searched refs:sdp_write (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/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() 422 ret = sdp_write(state, 0x0e, 0x00); in adv748x_afe_s_ctrl() 428 ret = sdp_write(state, ADV748X_SDP_BRI, ctrl->val); in adv748x_afe_s_ctrl() 432 ret = sdp_write(state, ADV748X_SDP_HUE, -ctrl->val); in adv748x_afe_s_ctrl() 435 ret = sdp_write(state, ADV748X_SDP_CON, ctrl->val); in adv748x_afe_s_ctrl() 438 ret = sdp_write(state, ADV748X_SDP_SD_SAT_U, ctrl->val); in adv748x_afe_s_ctrl() 441 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))
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | adv7842.c | 460 static inline int sdp_write(struct v4l2_subdev *sd, u8 reg, u8 val) in sdp_write() function 469 return sdp_write(sd, reg, (sdp_read(sd, reg) & mask) | val); in sdp_write_and_or() 938 sdp_write(sd, reg->reg & 0xff, val); in adv7842_s_register() 1284 sdp_write(sd, 0x14, ctrl->val); in adv7842_s_ctrl() 1289 sdp_write(sd, 0x13, ctrl->val); in adv7842_s_ctrl() 1294 sdp_write(sd, 0x15, ctrl->val); in adv7842_s_ctrl() 1299 sdp_write(sd, 0x16, ctrl->val); in adv7842_s_ctrl() 1336 sdp_write(sd, 0xde, Y); in adv7842_s_ctrl() 1337 sdp_write(sd, 0xdf, (V & 0xf0) | ((U >> 4) & 0x0f)); in adv7842_s_ctrl() 1829 sdp_write(sd, 0x00, 0x3F); /* Autodetect PAL NTSC (not SECAM) */ in select_input() [all …]
|