Lines Matching refs:msgs
496 struct i2c_msg *msgs, int num) in dw_hdmi_i2c_xfer() argument
500 u8 addr = msgs[0].addr; in dw_hdmi_i2c_xfer()
506 if (msgs[i].len == 0) { in dw_hdmi_i2c_xfer()
519 if (addr == DDC_SEGMENT_ADDR && msgs[0].len == 1) in dw_hdmi_i2c_xfer()
532 i + 1, num, msgs[i].len, msgs[i].flags); in dw_hdmi_i2c_xfer()
534 if (msgs[i].addr == DDC_SEGMENT_ADDR && msgs[i].len == 1) { in dw_hdmi_i2c_xfer()
538 hdmi_modb(hdmi, *msgs[i].buf << 7, I2CM_SEG_PTR, in dw_hdmi_i2c_xfer()
541 if (msgs[i].flags & I2C_M_RD) in dw_hdmi_i2c_xfer()
542 ret = dw_hdmi_i2c_read(hdmi, msgs[i].buf, in dw_hdmi_i2c_xfer()
543 msgs[i].len); in dw_hdmi_i2c_xfer()
545 ret = dw_hdmi_i2c_write(hdmi, msgs[i].buf, in dw_hdmi_i2c_xfer()
546 msgs[i].len); in dw_hdmi_i2c_xfer()