Home
last modified time | relevance | path

Searched refs:cp_read (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/i2c/
Dadv7842.c543 static inline int cp_read(struct v4l2_subdev *sd, u8 reg) in cp_read() function
559 return cp_write(sd, reg, (cp_read(sd, reg) & mask) | val); in cp_write_and_or()
903 reg->val = cp_read(sd, reg->reg & 0xff); in adv7842_g_register()
1132 offset_buf[0]= (cp_read(sd, 0x77) & 0xc0) | ((offset_a & 0x3f0) >> 4); in adv7842_set_offset()
1368 return ((cp_read(sd, 0xb5) & 0xd0) != 0xd0) || !(cp_read(sd, 0xb1) & 0x80); in no_cp_signal()
1395 if ((cp_read(sd, 0xb5) & 0xd0) != 0xd0 || in adv7842_g_input_status()
1396 !(cp_read(sd, 0xb1) & 0x80)) in adv7842_g_input_status()
1473 stdi->bl = ((cp_read(sd, 0xb1) & 0x3f) << 8) | cp_read(sd, 0xb2); in read_stdi()
1474 stdi->lcf = ((cp_read(sd, 0xb3) & 0x7) << 8) | cp_read(sd, 0xb4); in read_stdi()
1475 stdi->lcvs = cp_read(sd, 0xb3) >> 3; in read_stdi()
[all …]
Dadv7604.c566 static inline int cp_read(struct v4l2_subdev *sd, u8 reg) in cp_read() function
575 return ((cp_read(sd, reg) << 8) | cp_read(sd, reg + 1)) & mask; in cp_read16()
587 return cp_write(sd, reg, (cp_read(sd, reg) & ~mask) | val); in cp_write_clr_set()
1054 offset_buf[0] = (cp_read(sd, 0x77) & 0xc0) | ((offset_a & 0x3f0) >> 4); in adv76xx_set_offset()
1296 return ((cp_read(sd, 0xb5) & 0xd0) != 0xd0); in no_lock_sspd()
1302 return !(cp_read(sd, 0xb1) & 0x80); in no_lock_stdi()
1336 return cp_read(sd, 0xff) & 0x10; in in_free_run()
1424 stdi->lcvs = cp_read(sd, 0xb3) >> 3; in read_stdi()
1429 polarity = cp_read(sd, 0xb5); in read_stdi()
2600 csc_coeff_sel_rb[cp_read(sd, info->cp_csc) >> 4]); in adv76xx_log_status()
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/
Dadv748x.h411 #define cp_read(s, r) adv748x_read(s, ADV748X_PAGE_CP, r) macro
413 #define cp_clrset(s, r, m, v) cp_write(s, r, (cp_read(s, r) & ~(m)) | (v))