Lines Matching refs:hdmi_read
549 static inline int hdmi_read(struct v4l2_subdev *sd, u8 reg)
558 return ((hdmi_read(sd, reg) << 8) | hdmi_read(sd, reg + 1)) & mask;
570 return hdmi_write(sd, reg, (hdmi_read(sd, reg) & ~mask) | val);
1113 bool hdmi_signal = hdmi_read(sd, 0x05) & 0x80;
1295 return hdmi_read(sd, 0x05) & 0x80;
1454 polarity = hdmi_read(sd, 0x05);
1522 a = hdmi_read(sd, 0x06);
1523 b = hdmi_read(sd, 0x3b);
1534 a = hdmi_read(sd, 0x51);
1535 b = hdmi_read(sd, 0x52);
1551 bits_per_channel = ((hdmi_read(sd, 0x0b) & 0x60) >> 4) + 8;
1552 pixelrepetition = (hdmi_read(sd, 0x05) & 0x0f) + 1;
1588 bool hdmi_signal = hdmi_read(sd, 0x05) & 0x80;
1615 bt->polarities = ((hdmi_read(sd, 0x05) & 0x10) ? V4L2_DV_VSYNC_POS_POL : 0) |
1616 ((hdmi_read(sd, 0x05) & 0x20) ? V4L2_DV_HSYNC_POS_POL : 0);
2639 (hdmi_read(sd, 0x00) & 0x03) + 'A');
2641 (hdmi_read(sd, 0x05) & 0x40) ? "true" : "false");
2643 (hdmi_read(sd, 0x04) & 0x20) ? "yes" : "no",
2644 (hdmi_read(sd, 0x04) & 0x10) ? "ERROR" : "");
2646 bool audio_pll_locked = hdmi_read(sd, 0x04) & 0x01;
2647 bool audio_sample_packet_detect = hdmi_read(sd, 0x18) & 0x01;
2656 (hdmi_read(sd, 0x07) & 0x20) ? "multi-channel" : "stereo");
2658 v4l2_info(sd, "Audio CTS: %u\n", (hdmi_read(sd, 0x5b) << 12) +
2659 (hdmi_read(sd, 0x5c) << 8) +
2660 (hdmi_read(sd, 0x5d) & 0xf0));
2661 v4l2_info(sd, "Audio N: %u\n", ((hdmi_read(sd, 0x5d) & 0x0f) << 16) +
2662 (hdmi_read(sd, 0x5e) << 8) +
2663 hdmi_read(sd, 0x5f));
2664 v4l2_info(sd, "AV Mute: %s\n", (hdmi_read(sd, 0x04) & 0x40) ? "on" : "off");
2666 v4l2_info(sd, "Deep color mode: %s\n", deep_color_mode_txt[(hdmi_read(sd, 0x0b) & 0x60) >> 5]);
2667 v4l2_info(sd, "HDMI colorspace: %s\n", hdmi_color_space_txt[hdmi_read(sd, 0x53) & 0xf]);