Lines Matching refs:hdmi_read
535 static inline int hdmi_read(struct v4l2_subdev *sd, u8 reg)
544 return ((hdmi_read(sd, reg) << 8) | hdmi_read(sd, reg + 1)) & mask;
556 return hdmi_write(sd, reg, (hdmi_read(sd, reg) & ~mask) | val);
1099 bool hdmi_signal = hdmi_read(sd, 0x05) & 0x80;
1281 return hdmi_read(sd, 0x05) & 0x80;
1440 polarity = hdmi_read(sd, 0x05);
1508 a = hdmi_read(sd, 0x06);
1509 b = hdmi_read(sd, 0x3b);
1520 a = hdmi_read(sd, 0x51);
1521 b = hdmi_read(sd, 0x52);
1537 bits_per_channel = ((hdmi_read(sd, 0x0b) & 0x60) >> 4) + 8;
1538 pixelrepetition = (hdmi_read(sd, 0x05) & 0x0f) + 1;
1574 bool hdmi_signal = hdmi_read(sd, 0x05) & 0x80;
1601 bt->polarities = ((hdmi_read(sd, 0x05) & 0x10) ? V4L2_DV_VSYNC_POS_POL : 0) |
1602 ((hdmi_read(sd, 0x05) & 0x20) ? V4L2_DV_HSYNC_POS_POL : 0);
2607 (hdmi_read(sd, 0x00) & 0x03) + 'A');
2609 (hdmi_read(sd, 0x05) & 0x40) ? "true" : "false");
2611 (hdmi_read(sd, 0x04) & 0x20) ? "yes" : "no",
2612 (hdmi_read(sd, 0x04) & 0x10) ? "ERROR" : "");
2614 bool audio_pll_locked = hdmi_read(sd, 0x04) & 0x01;
2615 bool audio_sample_packet_detect = hdmi_read(sd, 0x18) & 0x01;
2624 (hdmi_read(sd, 0x07) & 0x20) ? "multi-channel" : "stereo");
2626 v4l2_info(sd, "Audio CTS: %u\n", (hdmi_read(sd, 0x5b) << 12) +
2627 (hdmi_read(sd, 0x5c) << 8) +
2628 (hdmi_read(sd, 0x5d) & 0xf0));
2629 v4l2_info(sd, "Audio N: %u\n", ((hdmi_read(sd, 0x5d) & 0x0f) << 16) +
2630 (hdmi_read(sd, 0x5e) << 8) +
2631 hdmi_read(sd, 0x5f));
2632 v4l2_info(sd, "AV Mute: %s\n", (hdmi_read(sd, 0x04) & 0x40) ? "on" : "off");
2634 v4l2_info(sd, "Deep color mode: %s\n", deep_color_mode_txt[(hdmi_read(sd, 0x0b) & 0x60) >> 5]);
2635 v4l2_info(sd, "HDMI colorspace: %s\n", hdmi_color_space_txt[hdmi_read(sd, 0x53) & 0xf]);