Lines Matching refs:i2c_rd8
339 static u8 i2c_rd8(struct v4l2_subdev *sd, u16 reg) in i2c_rd8() function
384 return i2c_rd8(sd, SYS_STATUS) & MASK_S_HDMI; in is_hdmi()
389 return i2c_rd8(sd, SYS_STATUS) & MASK_S_DDC5V; in tx_5v_power_present()
394 return !(i2c_rd8(sd, SYS_STATUS) & MASK_S_TMDS); in no_signal()
399 return !(i2c_rd8(sd, SYS_STATUS) & MASK_S_SYNC); in no_sync()
404 return i2c_rd8(sd, AU_STATUS0) & MASK_S_A_SAMPLE; in audio_present()
418 return code_to_rate[i2c_rd8(sd, FS_SET) & MASK_FS]; in get_audio_sampling_rate()
452 bt->interlaced = i2c_rd8(sd, VI_STATUS1) & MASK_S_V_INTERLACE ? in tc35874x_get_detected_timings()
455 width = ((i2c_rd8(sd, DE_WIDTH_H_HI) & 0x1f) << 8) + in tc35874x_get_detected_timings()
456 i2c_rd8(sd, DE_WIDTH_H_LO); in tc35874x_get_detected_timings()
457 height = ((i2c_rd8(sd, DE_WIDTH_V_HI) & 0x1f) << 8) + in tc35874x_get_detected_timings()
458 i2c_rd8(sd, DE_WIDTH_V_LO); in tc35874x_get_detected_timings()
459 frame_width = ((i2c_rd8(sd, H_SIZE_HI) & 0x1f) << 8) + in tc35874x_get_detected_timings()
460 i2c_rd8(sd, H_SIZE_LO); in tc35874x_get_detected_timings()
461 frame_height = (((i2c_rd8(sd, V_SIZE_HI) & 0x3f) << 8) + in tc35874x_get_detected_timings()
462 i2c_rd8(sd, V_SIZE_LO)) / 2; in tc35874x_get_detected_timings()
465 frame_interval = ((i2c_rd8(sd, FV_CNT_HI) & 0x3) << 8) + in tc35874x_get_detected_timings()
466 i2c_rd8(sd, FV_CNT_LO); in tc35874x_get_detected_timings()
1097 u8 audio_int_mask = i2c_rd8(sd, AUDIO_INTM); in tc35874x_hdmi_audio_int_handler()
1098 u8 audio_int = i2c_rd8(sd, AUDIO_INT) & ~audio_int_mask; in tc35874x_hdmi_audio_int_handler()
1118 u8 misc_int_mask = i2c_rd8(sd, MISC_INTM); in tc35874x_hdmi_misc_int_handler()
1119 u8 misc_int = i2c_rd8(sd, MISC_INT) & ~misc_int_mask; in tc35874x_hdmi_misc_int_handler()
1150 u8 cbit_int_mask = i2c_rd8(sd, CBIT_INTM); in tc35874x_hdmi_cbit_int_handler()
1151 u8 cbit_int = i2c_rd8(sd, CBIT_INT) & ~cbit_int_mask; in tc35874x_hdmi_cbit_int_handler()
1187 u8 clk_int_mask = i2c_rd8(sd, CLK_INTM); in tc35874x_hdmi_clk_int_handler()
1188 u8 clk_int = i2c_rd8(sd, CLK_INT) & ~clk_int_mask; in tc35874x_hdmi_clk_int_handler()
1223 u8 sys_int_mask = i2c_rd8(sd, SYS_INTM); in tc35874x_hdmi_sys_int_handler()
1224 u8 sys_int = i2c_rd8(sd, SYS_INT) & ~sys_int_mask; in tc35874x_hdmi_sys_int_handler()
1309 uint8_t hdmi_sys_status = i2c_rd8(sd, SYS_STATUS); in tc35874x_log_status()
1311 u8 vi_status3 = i2c_rd8(sd, VI_STATUS3); in tc35874x_log_status()
1332 (i2c_rd8(sd, EDID_MODE) & MASK_EDID_MODE_E_DDC) ? in tc35874x_log_status()
1335 (i2c_rd8(sd, HPD_CTL) & MASK_HPD_OUT0) ? in tc35874x_log_status()
1390 deep_color_mode[(i2c_rd8(sd, VI_STATUS1) & in tc35874x_log_status()
1481 u8 hdmi_int0 = i2c_rd8(sd, HDMI_INT0); in tc35874x_isr()
1482 u8 hdmi_int1 = i2c_rd8(sd, HDMI_INT1); in tc35874x_isr()
1764 u8 vi_rep = i2c_rd8(sd, VI_REP); in tc35874x_get_fmt()