Lines Matching refs:xmitmsg
64 u8 xmitmsg[IPMB_MAX_MSG_LEN]; member
250 iidev->xmitmsg[0] = msg->data[1]; in ipmi_ipmb_format_for_xmit()
251 iidev->xmitmsg[1] = msg->data[0]; in ipmi_ipmb_format_for_xmit()
252 memcpy(iidev->xmitmsg + 4, msg->data + 2, msg->data_size - 2); in ipmi_ipmb_format_for_xmit()
255 iidev->xmitmsg[0] = iidev->bmcaddr; in ipmi_ipmb_format_for_xmit()
256 iidev->xmitmsg[1] = msg->data[0]; in ipmi_ipmb_format_for_xmit()
257 iidev->xmitmsg[4] = 0; in ipmi_ipmb_format_for_xmit()
258 memcpy(iidev->xmitmsg + 5, msg->data + 1, msg->data_size - 1); in ipmi_ipmb_format_for_xmit()
261 iidev->xmitmsg[3] = iidev->slave->addr << 1; in ipmi_ipmb_format_for_xmit()
264 iidev->xmitmsg[4] = ((iidev->xmitmsg[4] & 0x03) | in ipmi_ipmb_format_for_xmit()
268 iidev->xmitmsg[2] = ipmb_checksum(iidev->xmitmsg, 2); in ipmi_ipmb_format_for_xmit()
269 iidev->xmitmsg[iidev->xmitlen] = in ipmi_ipmb_format_for_xmit()
270 ipmb_checksum(iidev->xmitmsg + 3, iidev->xmitlen - 3); in ipmi_ipmb_format_for_xmit()
311 i2c_msg.addr = iidev->xmitmsg[0] >> 1; in ipmi_ipmb_thread()
313 i2c_msg.buf = iidev->xmitmsg + 1; in ipmi_ipmb_thread()