Searched refs:cp_read (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/media/i2c/
H A Dadv7842.c549 static inline int cp_read(struct v4l2_subdev *sd, u8 reg) cp_read() function
565 return cp_write(sd, reg, (cp_read(sd, reg) & mask) | val); cp_write_and_or()
919 reg->val = cp_read(sd, reg->reg & 0xff); adv7842_g_register()
1157 offset_buf[0]= (cp_read(sd, 0x77) & 0xc0) | ((offset_a & 0x3f0) >> 4); adv7842_set_offset()
1369 return ((cp_read(sd, 0xb5) & 0xd0) != 0xd0) || !(cp_read(sd, 0xb1) & 0x80); no_cp_signal()
1396 if ((cp_read(sd, 0xb5) & 0xd0) != 0xd0 || adv7842_g_input_status()
1397 !(cp_read(sd, 0xb1) & 0x80)) adv7842_g_input_status()
1474 stdi->bl = ((cp_read(sd, 0xb1) & 0x3f) << 8) | cp_read(sd, 0xb2); read_stdi()
1475 stdi->lcf = ((cp_read(sd, 0xb3) & 0x7) << 8) | cp_read(sd, 0xb4); read_stdi()
1476 stdi->lcvs = cp_read(sd, 0xb3) >> 3; read_stdi()
1478 if ((cp_read(sd, 0xb5) & 0x80) && ((cp_read(sd, 0xb5) & 0x03) == 0x01)) { read_stdi()
1479 stdi->hs_pol = ((cp_read(sd, 0xb5) & 0x10) ? read_stdi()
1480 ((cp_read(sd, 0xb5) & 0x08) ? '+' : '-') : 'x'); read_stdi()
1481 stdi->vs_pol = ((cp_read(sd, 0xb5) & 0x40) ? read_stdi()
1482 ((cp_read(sd, 0xb5) & 0x20) ? '+' : '-') : 'x'); read_stdi()
1487 stdi->interlaced = (cp_read(sd, 0xb1) & 0x40) ? true : false; read_stdi()
2519 (!!(cp_read(sd, 0xff) & 0x10) ? "on" : "off")); adv7842_cp_log_status()
2528 u32 bl = ((cp_read(sd, 0xb1) & 0x3f) << 8) | cp_read(sd, 0xb2); adv7842_cp_log_status()
2529 u32 lcf = ((cp_read(sd, 0xb3) & 0x7) << 8) | cp_read(sd, 0xb4); adv7842_cp_log_status()
2530 u32 lcvs = cp_read(sd, 0xb3) >> 3; adv7842_cp_log_status()
2531 u32 fcl = ((cp_read(sd, 0xb8) & 0x1f) << 8) | cp_read(sd, 0xb9); adv7842_cp_log_status()
2532 char hs_pol = ((cp_read(sd, 0xb5) & 0x10) ? adv7842_cp_log_status()
2533 ((cp_read(sd, 0xb5) & 0x08) ? '+' : '-') : 'x'); adv7842_cp_log_status()
2534 char vs_pol = ((cp_read(sd, 0xb5) & 0x40) ? adv7842_cp_log_status()
2535 ((cp_read(sd, 0xb5) & 0x20) ? '+' : '-') : 'x'); adv7842_cp_log_status()
2539 (cp_read(sd, 0xb1) & 0x40) ? adv7842_cp_log_status()
2565 csc_coeff_sel_rb[cp_read(sd, 0xf4) >> 4]); adv7842_cp_log_status()
H A Dadv7604.c604 static inline int cp_read(struct v4l2_subdev *sd, u8 reg) cp_read() function
613 return ((cp_read(sd, reg) << 8) | cp_read(sd, reg + 1)) & mask; cp_read16()
625 return cp_write(sd, reg, (cp_read(sd, reg) & ~mask) | val); cp_write_clr_set()
1042 offset_buf[0] = (cp_read(sd, 0x77) & 0xc0) | ((offset_a & 0x3f0) >> 4); adv76xx_set_offset()
1259 return ((cp_read(sd, 0xb5) & 0xd0) != 0xd0); no_lock_sspd()
1265 return !(cp_read(sd, 0xb1) & 0x80); no_lock_stdi()
1299 return cp_read(sd, 0xff) & 0x10; in_free_run()
1381 stdi->lcvs = cp_read(sd, 0xb3) >> 3; read_stdi()
1386 polarity = cp_read(sd, 0xb5); read_stdi()
2322 csc_coeff_sel_rb[cp_read(sd, info->cp_csc) >> 4]); adv76xx_log_status()

Completed in 159 milliseconds