|
Defines |
#define | CMOS_DEFAULTS 0x0000 |
#define | CMOS_GET_SINGLETON 0x0001 |
#define | CMOS_GET_NEW 0x0002 |
#define | CMOS_UNIT_TEST_MODE 0x0004 |
#define | CMOS_NO_ERR_CLEAR 0x0008 |
Typedefs |
typedef int(* | cmos_write_callback )(const struct cmos_access_obj *, bool, void *) |
Functions |
DLL_SPEC struct cmos_access_obj * | cmos_obj_factory (int flags,...) |
DLL_SPEC void | cmos_obj_free (struct cmos_access_obj *) |
DLL_SPEC int | cmos_obj_read_byte (const struct cmos_access_obj *, u8 *byte, u32 indexPort, u32 dataPort, u32 offset) |
DLL_SPEC int | cmos_obj_write_byte (const struct cmos_access_obj *, u8 byte, u32 indexPort, u32 dataPort, u32 offset) |
DLL_SPEC const char * | cmos_obj_strerror (const struct cmos_access_obj *m) |
DLL_SPEC void | cmos_obj_register_write_callback (struct cmos_access_obj *, cmos_write_callback, void *, void(*destruct)(void *)) |
DLL_SPEC int | cmos_obj_run_callbacks (const struct cmos_access_obj *m, bool do_update) |