libhd  5.0
Functions
Hardware abstraction (HAL) information

Functions

static void read_hal (hd_data_t *hd_data)
 
static void add_pci (hd_data_t *hd_data)
 
static void link_hal_tree (hd_data_t *hd_data)
 
static int hal_match_str (hal_prop_t *prop, const char *key, const char *val)
 
static int check_udi (const char *udi)
 
static FILE * hd_open_properties (const char *udi, const char *mode)
 
static char * skip_space (char *s)
 
static char * skip_non_eq_or_space (char *s)
 
static char * skip_nonquote (char *s)
 
static void parse_property (hal_prop_t *prop, char *str)
 
static void find_udi (hd_data_t *hd_data, hd_t *hd, int match)
 
void hd_scan_hal (hd_data_t *hd_data)
 
void hd_scan_hal_basic (hd_data_t *hd_data)
 
hal_device_thal_find_device (hd_data_t *hd_data, char *udi)
 
void hal_invalidate (hal_prop_t *prop)
 
void hal_invalidate_all (hal_prop_t *prop, const char *key)
 
hal_prop_thal_get_any (hal_prop_t *prop, const char *key)
 
hal_prop_thal_get_bool (hal_prop_t *prop, const char *key)
 
hal_prop_thal_get_int32 (hal_prop_t *prop, const char *key)
 
hal_prop_thal_get_str (hal_prop_t *prop, const char *key)
 
char * hal_get_useful_str (hal_prop_t *prop, const char *key)
 
hal_prop_thal_get_list (hal_prop_t *prop, const char *key)
 
hal_prop_thal_add_new (hal_prop_t **prop)
 
char * hd_hal_print_prop (hal_prop_t *prop)
 
int hd_write_properties (const char *udi, hal_prop_t *prop)
 
hal_prop_thd_read_properties (const char *udi)
 
void hd_scan_hal_assign_udi (hd_data_t *hd_data)
 

Detailed Description

Function Documentation

◆ add_pci()

void add_pci ( hd_data_t hd_data)
static

◆ check_udi()

int check_udi ( const char *  udi)
static

◆ find_udi()

void find_udi ( hd_data_t hd_data,
hd_t hd,
int  match 
)
static

◆ hal_add_new()

hal_prop_t* hal_add_new ( hal_prop_t **  prop)

References hal_invalidate(), new_mem(), and hal_prop_s::next.

Referenced by set_probe_val().

◆ hal_find_device()

hal_device_t* hal_find_device ( hd_data_t hd_data,
char *  udi 
)

◆ hal_get_any()

hal_prop_t* hal_get_any ( hal_prop_t prop,
const char *  key 
)

◆ hal_get_bool()

hal_prop_t* hal_get_bool ( hal_prop_t prop,
const char *  key 
)

◆ hal_get_int32()

hal_prop_t* hal_get_int32 ( hal_prop_t prop,
const char *  key 
)

◆ hal_get_list()

hal_prop_t* hal_get_list ( hal_prop_t prop,
const char *  key 
)

◆ hal_get_str()

hal_prop_t* hal_get_str ( hal_prop_t prop,
const char *  key 
)

◆ hal_get_useful_str()

char* hal_get_useful_str ( hal_prop_t prop,
const char *  key 
)

◆ hal_invalidate()

void hal_invalidate ( hal_prop_t prop)

◆ hal_invalidate_all()

void hal_invalidate_all ( hal_prop_t prop,
const char *  key 
)

◆ hal_match_str()

int hal_match_str ( hal_prop_t prop,
const char *  key,
const char *  val 
)
static

References hal_get_str().

Referenced by add_pci().

◆ hd_hal_print_prop()

char* hd_hal_print_prop ( hal_prop_t prop)

◆ hd_open_properties()

FILE * hd_open_properties ( const char *  udi,
const char *  mode 
)
static

◆ hd_read_properties()

hal_prop_t* hd_read_properties ( const char *  udi)

◆ hd_scan_hal()

void hd_scan_hal ( hd_data_t hd_data)

◆ hd_scan_hal_assign_udi()

void hd_scan_hal_assign_udi ( hd_data_t hd_data)

◆ hd_scan_hal_basic()

void hd_scan_hal_basic ( hd_data_t hd_data)

◆ hd_write_properties()

int hd_write_properties ( const char *  udi,
hal_prop_t prop 
)

◆ link_hal_tree()

void link_hal_tree ( hd_data_t hd_data)
static

◆ parse_property()

void parse_property ( hal_prop_t prop,
char *  str 
)
static

◆ read_hal()

void read_hal ( hd_data_t hd_data)
static

◆ skip_non_eq_or_space()

char * skip_non_eq_or_space ( char *  s)
static

Referenced by parse_property().

◆ skip_nonquote()

char * skip_nonquote ( char *  s)
static

Referenced by parse_property().

◆ skip_space()

char * skip_space ( char *  s)
static

Referenced by parse_property().