Lines Matching refs:hdmi_read
573 static inline int hdmi_read(struct v4l2_subdev *sd, u8 reg) in hdmi_read() function
582 return ((hdmi_read(sd, reg) << 8) | hdmi_read(sd, reg + 1)) & mask; in hdmi_read16()
594 return hdmi_write(sd, reg, (hdmi_read(sd, reg) & ~mask) | val); in hdmi_write_clr_set()
1087 bool hdmi_signal = hdmi_read(sd, 0x05) & 0x80; in set_rgb_quantization_range()
1244 return hdmi_read(sd, 0x05) & 0x80; in is_hdmi()
1397 polarity = hdmi_read(sd, 0x05); in read_stdi()
1494 a = hdmi_read(sd, 0x06); in adv7604_read_hdmi_pixelclock()
1495 b = hdmi_read(sd, 0x3b); in adv7604_read_hdmi_pixelclock()
1502 unsigned bits_per_channel = ((hdmi_read(sd, 0x0b) & 0x60) >> 4) + 8; in adv7604_read_hdmi_pixelclock()
1514 a = hdmi_read(sd, 0x51); in adv7611_read_hdmi_pixelclock()
1515 b = hdmi_read(sd, 0x52); in adv7611_read_hdmi_pixelclock()
1562 bt->polarities = ((hdmi_read(sd, 0x05) & 0x10) ? V4L2_DV_VSYNC_POS_POL : 0) | in adv76xx_query_dv_timings()
1563 ((hdmi_read(sd, 0x05) & 0x20) ? V4L2_DV_HSYNC_POS_POL : 0); in adv76xx_query_dv_timings()
2329 (hdmi_read(sd, 0x00) & 0x03) + 'A'); in adv76xx_log_status()
2331 (hdmi_read(sd, 0x05) & 0x40) ? "true" : "false"); in adv76xx_log_status()
2333 (hdmi_read(sd, 0x04) & 0x20) ? "yes" : "no", in adv76xx_log_status()
2334 (hdmi_read(sd, 0x04) & 0x10) ? "ERROR" : ""); in adv76xx_log_status()
2336 bool audio_pll_locked = hdmi_read(sd, 0x04) & 0x01; in adv76xx_log_status()
2337 bool audio_sample_packet_detect = hdmi_read(sd, 0x18) & 0x01; in adv76xx_log_status()
2346 (hdmi_read(sd, 0x07) & 0x20) ? "multi-channel" : "stereo"); in adv76xx_log_status()
2348 v4l2_info(sd, "Audio CTS: %u\n", (hdmi_read(sd, 0x5b) << 12) + in adv76xx_log_status()
2349 (hdmi_read(sd, 0x5c) << 8) + in adv76xx_log_status()
2350 (hdmi_read(sd, 0x5d) & 0xf0)); in adv76xx_log_status()
2351 v4l2_info(sd, "Audio N: %u\n", ((hdmi_read(sd, 0x5d) & 0x0f) << 16) + in adv76xx_log_status()
2352 (hdmi_read(sd, 0x5e) << 8) + in adv76xx_log_status()
2353 hdmi_read(sd, 0x5f)); in adv76xx_log_status()
2354 v4l2_info(sd, "AV Mute: %s\n", (hdmi_read(sd, 0x04) & 0x40) ? "on" : "off"); in adv76xx_log_status()
2356 v4l2_info(sd, "Deep color mode: %s\n", deep_color_mode_txt[(hdmi_read(sd, 0x0b) & 0x60) >> 5]); in adv76xx_log_status()
2357 v4l2_info(sd, "HDMI colorspace: %s\n", hdmi_color_space_txt[hdmi_read(sd, 0x53) & 0xf]); in adv76xx_log_status()