Lines Matching refs:rcvlen
68 unsigned int rcvlen; member
81 if (iidev->rcvlen < 7) in valid_ipmb()
88 if (iidev->rcvlen < 8) in valid_ipmb()
94 if (ipmb_checksum(msg + 3, iidev->rcvlen - 3) != 0) in valid_ipmb()
107 if (iidev->rcvlen == 0) in ipmi_ipmb_check_msg_done()
156 memcpy(imsg->rsp + 1, msg + 3, iidev->rcvlen - 4); in ipmi_ipmb_check_msg_done()
157 imsg->rsp_size = iidev->rcvlen - 3; in ipmi_ipmb_check_msg_done()
164 memcpy(imsg->rsp + 1, msg + 5, iidev->rcvlen - 6); in ipmi_ipmb_check_msg_done()
165 imsg->rsp_size = iidev->rcvlen - 5; in ipmi_ipmb_check_msg_done()
173 iidev->rcvlen = 0; in ipmi_ipmb_check_msg_done()
194 iidev->rcvlen = 1; in ipmi_ipmb_slave_cb()
198 if (iidev->rcvlen >= sizeof(iidev->rcvmsg)) in ipmi_ipmb_slave_cb()
201 iidev->rcvmsg[iidev->rcvlen++] = *val; in ipmi_ipmb_slave_cb()