26 if (ret !=
sizeof(*rsp)) {
45 printk(
BIOS_ERR,
"IPMI: Cannot find PNP device port: %x, device %x\n",
87 switch (selftestrsp.
result) {
cb_err
coreboot error codes
@ CB_ERR
Generic error code.
@ CB_SUCCESS
Call completed successfully.
#define printk(level,...)
void mdelay(unsigned int msecs)
DEVTREE_CONST struct device * dev_find_slot_pnp(u16 port, u16 device)
Given a PnP port and a device number, find the device structure.
static int stopwatch_expired(struct stopwatch *sw)
static void stopwatch_init_msecs_expire(struct stopwatch *sw, long ms)
int ipmi_kcs_message(int port, int netfn, int lun, int cmd, const unsigned char *inmsg, int inlen, unsigned char *outmsg, int outlen)
#define IPMI_APP_SELFTEST_NOT_IMPLEMENTED
#define IPMI_APP_SELFTEST_RESERVED
#define IPMI_NETFN_APPLICATION
#define IPMI_BMC_GET_SELFTEST_RESULTS
#define IPMI_APP_SELFTEST_ERROR
#define IPMI_APP_SELFTEST_FATAL_HW_ERROR
#define IPMI_APP_SELFTEST_NO_ERROR
static int ipmi_get_bmc_self_test_result(const struct device *dev, struct ipmi_selftest_rsp *rsp)
enum cb_err ipmi_kcs_premem_init(const u16 port, const u16 device)
#define BIOS_INFO
BIOS_INFO - Expected events.
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
DEVTREE_CONST void * chip_info