libsmbios_c library
Macros | Functions
smi.h File Reference
#include "smbios_c/compat.h"
#include "smbios_c/types.h"
Include dependency graph for smi.h:

Go to the source code of this file.

Macros

#define DELL_SMI_DEFAULTS   0x0000
 
#define DELL_SMI_GET_SINGLETON   0x0001
 
#define DELL_SMI_GET_NEW   0x0002
 
#define DELL_SMI_UNIT_TEST_MODE   0x0004
 
#define DELL_SMI_NO_ERR_CLEAR   0x0008
 

Functions

LIBSMBIOS_C_DLL_SPEC struct dell_smi_obj * dell_smi_factory (int flags,...)
 
LIBSMBIOS_C_DLL_SPEC void dell_smi_obj_free (struct dell_smi_obj *)
 
LIBSMBIOS_C_DLL_SPEC const char * dell_smi_obj_strerror (struct dell_smi_obj *)
 
LIBSMBIOS_C_DLL_SPEC void dell_smi_obj_set_class (struct dell_smi_obj *, u16)
 
LIBSMBIOS_C_DLL_SPEC void dell_smi_obj_set_select (struct dell_smi_obj *, u16)
 
LIBSMBIOS_C_DLL_SPEC void dell_smi_obj_set_arg (struct dell_smi_obj *, u8 argno, u32 value)
 
LIBSMBIOS_C_DLL_SPEC u32 dell_smi_obj_get_res (struct dell_smi_obj *, u8 argno)
 
LIBSMBIOS_C_DLL_SPEC u8dell_smi_obj_make_buffer_frombios_auto (struct dell_smi_obj *, u8 argno, size_t size)
 
LIBSMBIOS_C_DLL_SPEC u8dell_smi_obj_make_buffer_frombios_withheader (struct dell_smi_obj *, u8 argno, size_t size)
 
LIBSMBIOS_C_DLL_SPEC u8dell_smi_obj_make_buffer_frombios_withoutheader (struct dell_smi_obj *, u8 argno, size_t size)
 
LIBSMBIOS_C_DLL_SPEC u8dell_smi_obj_make_buffer_tobios (struct dell_smi_obj *, u8 argno, size_t size)
 
LIBSMBIOS_C_DLL_SPEC int dell_smi_obj_execute (struct dell_smi_obj *)
 

Macro Definition Documentation

◆ DELL_SMI_DEFAULTS

#define DELL_SMI_DEFAULTS   0x0000

◆ DELL_SMI_GET_NEW

#define DELL_SMI_GET_NEW   0x0002

◆ DELL_SMI_GET_SINGLETON

#define DELL_SMI_GET_SINGLETON   0x0001

◆ DELL_SMI_NO_ERR_CLEAR

#define DELL_SMI_NO_ERR_CLEAR   0x0008

◆ DELL_SMI_UNIT_TEST_MODE

#define DELL_SMI_UNIT_TEST_MODE   0x0004

Function Documentation

◆ dell_smi_factory()

LIBSMBIOS_C_DLL_SPEC struct dell_smi_obj * dell_smi_factory ( int  flags,
  ... 
)

◆ dell_smi_obj_execute()

LIBSMBIOS_C_DLL_SPEC int dell_smi_obj_execute ( struct dell_smi_obj *  )

◆ dell_smi_obj_free()

LIBSMBIOS_C_DLL_SPEC void dell_smi_obj_free ( struct dell_smi_obj *  )

◆ dell_smi_obj_get_res()

LIBSMBIOS_C_DLL_SPEC u32 dell_smi_obj_get_res ( struct dell_smi_obj *  ,
u8  argno 
)

◆ dell_smi_obj_make_buffer_frombios_auto()

LIBSMBIOS_C_DLL_SPEC u8 * dell_smi_obj_make_buffer_frombios_auto ( struct dell_smi_obj *  ,
u8  argno,
size_t  size 
)

◆ dell_smi_obj_make_buffer_frombios_withheader()

LIBSMBIOS_C_DLL_SPEC u8 * dell_smi_obj_make_buffer_frombios_withheader ( struct dell_smi_obj *  ,
u8  argno,
size_t  size 
)

◆ dell_smi_obj_make_buffer_frombios_withoutheader()

LIBSMBIOS_C_DLL_SPEC u8 * dell_smi_obj_make_buffer_frombios_withoutheader ( struct dell_smi_obj *  ,
u8  argno,
size_t  size 
)

◆ dell_smi_obj_make_buffer_tobios()

LIBSMBIOS_C_DLL_SPEC u8 * dell_smi_obj_make_buffer_tobios ( struct dell_smi_obj *  ,
u8  argno,
size_t  size 
)

◆ dell_smi_obj_set_arg()

LIBSMBIOS_C_DLL_SPEC void dell_smi_obj_set_arg ( struct dell_smi_obj *  ,
u8  argno,
u32  value 
)

◆ dell_smi_obj_set_class()

LIBSMBIOS_C_DLL_SPEC void dell_smi_obj_set_class ( struct dell_smi_obj *  ,
u16   
)

◆ dell_smi_obj_set_select()

LIBSMBIOS_C_DLL_SPEC void dell_smi_obj_set_select ( struct dell_smi_obj *  ,
u16   
)

◆ dell_smi_obj_strerror()

LIBSMBIOS_C_DLL_SPEC const char * dell_smi_obj_strerror ( struct dell_smi_obj *  )