Lines Matching refs:msgs
565 struct i2c_msg *msgs, int num) in dw_hdmi_i2c_xfer() argument
569 u8 addr = msgs[0].addr; in dw_hdmi_i2c_xfer()
574 if (msgs[i].len == 0) { in dw_hdmi_i2c_xfer()
584 if (addr == DDC_SEGMENT_ADDR && msgs[0].len == 1) in dw_hdmi_i2c_xfer()
596 i + 1, num, msgs[i].len, msgs[i].flags); in dw_hdmi_i2c_xfer()
597 if (msgs[i].addr == DDC_SEGMENT_ADDR && msgs[i].len == 1) { in dw_hdmi_i2c_xfer()
600 hdmi_writeb(hdmi, *msgs[i].buf, HDMI_I2CM_SEGPTR); in dw_hdmi_i2c_xfer()
602 if (msgs[i].flags & I2C_M_RD) in dw_hdmi_i2c_xfer()
603 ret = dw_hdmi_i2c_read(hdmi, msgs[i].buf, in dw_hdmi_i2c_xfer()
604 msgs[i].len); in dw_hdmi_i2c_xfer()
606 ret = dw_hdmi_i2c_write(hdmi, msgs[i].buf, in dw_hdmi_i2c_xfer()
607 msgs[i].len); in dw_hdmi_i2c_xfer()