Home
last modified time | relevance | path

Searched refs:iidev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/char/ipmi/
H A Dipmi_ipmb.c72 static bool valid_ipmb(struct ipmi_ipmb_dev *iidev) in valid_ipmb() argument
74 u8 *msg = iidev->rcvmsg; in valid_ipmb()
77 if (iidev->overrun) in valid_ipmb()
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()
100 static void ipmi_ipmb_check_msg_done(struct ipmi_ipmb_dev *iidev) in ipmi_ipmb_check_msg_done() argument
103 u8 *msg = iidev->rcvmsg; in ipmi_ipmb_check_msg_done()
107 if (iidev->rcvlen == 0) in ipmi_ipmb_check_msg_done()
109 if (!valid_ipmb(iidev)) in ipmi_ipmb_check_msg_done()
[all …]