blob: 61d786107b01eddb73063d96f0e7fc5b6dd5f6f6 [file] [log] [blame]
Eric Biederman992cd002004-10-14 21:10:23 +00001#ifndef DEVICE_SMBUS_DEF_H
2#define DEVICE_SMBUS_DEF_H
3
Nico Huber58173862017-08-01 17:09:35 +02004#include <types.h>
5
Eric Biederman992cd002004-10-14 21:10:23 +00006/* Error results are negative success is >= 0 */
Nico Huber58173862017-08-01 17:09:35 +02007#define SMBUS_ERROR CB_ERR
8#define SMBUS_WAIT_UNTIL_READY_TIMEOUT CB_I2C_BUSY
9#define SMBUS_WAIT_UNTIL_DONE_TIMEOUT CB_I2C_TIMEOUT
10#define SMBUS_WAIT_UNTIL_ACTIVE_TIMEOUT CB_I2C_NO_DEVICE
Eric Biederman992cd002004-10-14 21:10:23 +000011
12#endif /* DEVICE_SMBUS_DEF_H */