libhd
5.0
|
Modules | |
Debug flags | |
hd_data_t debug flags | |
ID macros | |
Macros to handle device and vendor ids. | |
Device class enums | |
Device base classes and bus types. | |
General data types | |
General types used all over the library. | |
Device information structs | |
Standard device structs, compared to Hardware information. | |
SMBIOS structures | |
Structures holding decoded SMBIOS information. | |
Hardware information | |
Some hardware doesn't fit into the hd_t scheme or there is info we gathered during the scan process but that no-one really cares about. | |
Resource structures | |
definitions for the various resource types | |
Misc resource data | |
data gathered by the misc module; basically resources from /proc | |
Driver information | |
Driver information structures and union. | |
Manual hardware configuration | |
Handle manually configured hardware (in /var/lib/hardware/) | |
ISDN interface | |
Handle ISDN devices. | |
Data Structures | |
struct | hd_status_t |
Hardware status. More... | |
struct | s_udevinfo_t |
udev database info More... | |
struct | s_sysfsdrv_t |
sysfs driver info More... | |
struct | hd_dev_num_t |
device number; type is either 0 or 'b' or 'c'. More... | |
struct | hddb_data_t |
Hardware DB (v1) data. More... | |
struct | hddb_list_s |
Hardware DB list item. More... | |
struct | hddb2_data_t |
Hardware DB (v2) data. More... | |
struct | modinfo_t |
module.alias information More... | |
struct | hal_prop_s |
HAL device properties. More... | |
struct | hal_device_s |
HAL device. More... | |
struct | s_serial_t |
Serial device resource and hardware information. More... | |
struct | s_ser_device_t |
Serial device configuration information. More... | |
struct | hd_detail_pci_t |
struct | hd_detail_usb_t |
struct | hd_detail_isapnp_t |
struct | hd_detail_cdrom_t |
struct | hd_detail_floppy_t |
struct | hd_detail_bios_t |
struct | hd_detail_cpu_t |
struct | hd_detail_prom_t |
struct | hd_detail_monitor_s |
struct | hd_detail_sys_t |
struct | hd_detail_scsi_t |
struct | hd_detail_devtree_t |
struct | hd_detail_ccw_t |
struct | hd_detail_joystick_t |
union | hd_detail_t |
struct | hd_manual_s |
Manually configured hardware information. More... | |
struct | s_hd_t |
Individual hardware item. More... | |
struct | hd_data_t |
Holds all data accumulated during hardware probing. More... | |
Macros | |
#define | HD_VERSION 0 /* will be set during install */ |
Interface version. More... | |
#define | HD_MINOR_VERSION 0 /* will be set during install */ |
#define | HD_FULL_VERSION (HD_VERSION * 1000 + HD_MINOR_VERSION) |
#define | HARDWARE_DIR "/var/lib/hardware" |
libhd's directory More... | |
Typedefs | |
typedef enum probe_feature | hd_probe_feature_t |
flags to control the probing. More... | |
typedef enum hw_item | hd_hw_item_t |
list types for hd_list() More... | |
typedef struct s_udevinfo_t | hd_udevinfo_t |
udev database info More... | |
typedef struct s_sysfsdrv_t | hd_sysfsdrv_t |
sysfs driver info More... | |
typedef enum cpu_arch | hd_cpu_arch_t |
CPU architecture. More... | |
typedef enum boot_arch | hd_boot_arch_t |
typedef uint32_t | hddb_entry_mask_t |
Hardware DB item entry mask. More... | |
typedef struct hddb_list_s | hddb_list_t |
Hardware DB list item. More... | |
typedef enum modinfo_type_e | modinfo_type_t |
module information type More... | |
typedef struct hal_prop_s | hal_prop_t |
HAL device properties. More... | |
typedef struct hal_device_s | hal_device_t |
HAL device. More... | |
typedef enum resource_types | hd_resource_types_t |
resource types: see Resource structures More... | |
typedef enum size_units | hd_size_units_t |
size units (cf. More... | |
typedef enum access_flags | hd_access_flags_t |
access types for I/O and memory resources More... | |
typedef enum yes_no_flag | hd_yes_no_flag_t |
typedef enum geo_types | hd_geo_types_t |
typedef struct s_serial_t | serial_t |
Serial device resource and hardware information. More... | |
typedef struct s_ser_device_t | ser_device_t |
Serial device configuration information. More... | |
typedef struct s_hd_t | hd_t |
Individual hardware item. More... | |
#define HARDWARE_DIR "/var/lib/hardware" |
libhd's directory
Referenced by hd_get_hddb_dir().
#define HD_FULL_VERSION (HD_VERSION * 1000 + HD_MINOR_VERSION) |
#define HD_MINOR_VERSION 0 /* will be set during install */ |
#define HD_VERSION 0 /* will be set during install */ |
Interface version.
typedef struct hal_device_s hal_device_t |
HAL device.
typedef struct hal_prop_s hal_prop_t |
HAL device properties.
typedef enum access_flags hd_access_flags_t |
access types for I/O and memory resources
typedef enum boot_arch hd_boot_arch_t |
typedef enum cpu_arch hd_cpu_arch_t |
CPU architecture.
typedef struct hd_detail_monitor_s hd_detail_monitor_t |
typedef enum geo_types hd_geo_types_t |
typedef enum hw_item hd_hw_item_t |
list types for hd_list()
if you want to modify this: cf. manual.c::hw_items[]
Note: hw_tv must be < hw_display! Sync with check_hd and convert_hd!
typedef enum probe_feature hd_probe_feature_t |
flags to control the probing.
typedef enum resource_types hd_resource_types_t |
resource types: see Resource structures
typedef enum size_units hd_size_units_t |
size units (cf.
(res_size_t).unit)
typedef struct s_sysfsdrv_t hd_sysfsdrv_t |
sysfs driver info
Individual hardware item.
Every hardware component gets an hd_t entry. A list of all hardware items is in hd_data_t::hd.
typedef struct s_udevinfo_t hd_udevinfo_t |
udev database info
typedef enum yes_no_flag hd_yes_no_flag_t |
typedef uint32_t hddb_entry_mask_t |
Hardware DB item entry mask.
typedef struct hddb_list_s hddb_list_t |
Hardware DB list item.
typedef enum modinfo_type_e modinfo_type_t |
module information type
typedef struct s_ser_device_t ser_device_t |
Serial device configuration information.
typedef struct s_serial_t serial_t |
Serial device resource and hardware information.
enum access_flags |
enum boot_arch |
Enumerator | |
---|---|
boot_unknown | |
boot_lilo | |
boot_milo | |
boot_aboot | |
boot_silo | |
boot_ppc | |
boot_elilo | |
boot_s390 | |
boot_mips | |
boot_grub | |
boot_uboot |
enum cpu_arch |
enum geo_types |
enum hal_prop_type_t |
enum hd_hotplug_t |
enum hd_status_value_t |
enum hw_item |
list types for hd_list()
if you want to modify this: cf. manual.c::hw_items[]
Note: hw_tv must be < hw_display! Sync with check_hd and convert_hd!
enum modinfo_type_e |
enum probe_feature |
flags to control the probing.
enum resource_types |
resource types: see Resource structures
enum size_units |
size units (cf.
(res_size_t).unit)
Enumerator | |
---|---|
size_unit_cm | |
size_unit_cinch | |
size_unit_byte | |
size_unit_sectors | |
size_unit_kbyte | |
size_unit_mbyte | |
size_unit_gbyte | |
size_unit_mm |
enum yes_no_flag |
References add_hd_entry2(), s_hd_t::base_class, bc_display, bc_multimedia, hd_data_t::hd, hd_copy(), hd_data, hd_list(), hd_id_t::id, new_mem(), s_hd_t::next, sc_multi_video, and s_hd_t::sub_class.
References hd_data_t::boot, and hd_data.
unsigned hd_boot_disk | ( | hd_data_t * | hd_data, |
int * | matches | ||
) |
References ADD2LOG, add_disk_entry(), s_hd_t::base_class, bc_storage_device, s_hd_t::block0, disk_s::crc, disk_s::crc_match, disk_s::data, hd_data_t::data, hd_data_t::debug, disk_s::dev_name, dev_name_duplicate(), free_disk_list(), free_mem(), get_cmd_param(), get_disk_crc(), hd_data_t::hd, hd_data, HD_DEB_BOOT, disk_s::hd_idx, hd_log_hex(), hex(), hd_id_t::id, s_hd_t::idx, new_mem(), disk_s::next, s_hd_t::next, sc_sdev_disk, s_hd_t::sub_class, and s_hd_t::unix_dev_name.
References add_hd_entry2(), s_hd_t::bus, hd_data_t::hd, hd_copy(), hd_data, hd_list(), hd_id_t::id, new_mem(), and s_hd_t::next.
const char* hd_busid_to_hwcfg | ( | int | busid | ) |
int hd_change_config_status | ( | hd_data_t * | hd_data, |
const char * | id, | ||
hd_status_t | status, | ||
const char * | config_string | ||
) |
References hd_status_t::available, s_hd_t::config_string, hd_status_t::configured, free_mem(), hd_data, hd_free_hd_list(), hd_read_config(), hd_write_config(), hd_status_t::invalid, hd_status_t::needed, new_str(), and s_hd_t::status.
Referenced by hd_change_status().
int hd_change_status | ( | const char * | id, |
hd_status_t | status, | ||
const char * | config_string | ||
) |
References free_mem(), hd_change_config_status(), hd_data, hd_free_hd_data(), and new_mem().
void hd_clear_probe_feature | ( | hd_data_t * | hd_data, |
enum probe_feature | feature | ||
) |
References feature, hd_clear_probe_feature(), hd_data, pr_flags_t::mask, pr_flags_t::parent, pr_flags, pr_flags_by_id(), and hd_data_t::probe.
Referenced by hd_clear_probe_feature(), hd_list(), hd_list2(), hd_list_with_status(), and hd_list_with_status2().
int hd_color | ( | hd_data_t * | hd_data | ) |
References s_hd_t::base_class, bc_internal, prom_info_t::color, hd_data_t::color_code, hd_detail_prom_t::data, s_hd_t::detail, prom_info_t::has_color, hd_data_t::hd, hd_data, hd_detail_prom, hd_id_t::id, s_hd_t::next, hd_detail_t::prom, sc_int_prom, s_hd_t::sub_class, and hd_detail_t::type.
Referenced by hd_mac_color().
References arch_68k, arch_aarch64, arch_alpha, arch_arm, arch_ia64, arch_intel, arch_ppc, arch_riscv, arch_s390, arch_s390x, arch_sparc, arch_unknown, arch_x86_64, cpu_info_t::architecture, s_hd_t::base_class, bc_internal, hd_detail_t::cpu, hd_detail_cpu_t::data, s_hd_t::detail, hd_data_t::hd, hd_data, hd_detail_cpu, hd_id_t::id, s_hd_t::next, sc_int_cpu, s_hd_t::sub_class, and hd_detail_t::type.
Referenced by kbd_driver().
unsigned hd_display_adapter | ( | hd_data_t * | hd_data | ) |
References driver_info_u::any, s_hd_t::base_class, bc_display, s_hd_t::bus, bus_pci, bus_sbus, di_x11, hd_data_t::display, s_hd_t::driver_info, hd_data_t::hd, hd_data, hd_get_device_by_idx(), hddb_add_info(), hd_id_t::id, s_hd_t::idx, s_hd_t::next, sc_dis_vga, driver_info_x11_t::server, s_hd_t::sub_class, driver_info_any_t::type, and driver_info_u::x11.
References hd_status_t::active, s_hd_t::is_s::agp, cdrom_info_s::application, s_hd_t::attached_to, hd_status_t::available, s_hd_t::base_class, bc_internal, bc_storage_device, cdrom_info_s::bootable, s_hd_t::bus, cdrom_info_s::catalog, hd_detail_t::ccw, cdrom_info_s::cdrom, hd_detail_t::cdrom, s_hd_t::child_ids, s_hd_t::config_string, hd_status_t::configured, s_hd_t::count, cdrom_info_s::creation_date, ccw_s::cu_model, hd_detail_cdrom_t::data, hd_detail_ccw_t::data, hd_data_t::debug, s_hd_t::detail, ccw_s::dev_model, hd_data_t::flag_struct::dformat, dump_bios(), dump_cpu(), dump_line, dump_line0, dump_line_str, dump_normal(), dump_prom(), cdrom_info_s::el_torito, s_hd_t::extra_info, hd_data_t::flags, free_mem(), s_hd_t::func, cdrom_info_s::geo, s_hd_t::hal_prop, hd_data, HD_DEB_CREATION, hd_detail_ccw, hd_detail_cdrom, hd_get_device_by_idx(), hd_hal_print_prop(), hd_hw_item_name(), hd_is_hw_class(), hd_join(), hd_status_value_name(), hw_all, s_hd_t::hw_class, hw_unknown, hd_id_t::id, cdrom_info_s::id_string, s_hd_t::idx, ind, hd_status_t::invalid, s_hd_t::is, s_hd_t::is_s::isapnp, cdrom_info_s::iso9660, cdrom_info_s::label, ccw_s::lcss, s_hd_t::line, cdrom_info_s::load_address, cdrom_info_s::load_count, s_hd_t::is_s::manual, cdrom_info_s::media_type, mod_name_by_idx(), s_hd_t::module, hd_id_t::name, hd_status_t::needed, new_str(), s_str_list_t::next, hal_prop_s::next, s_hd_t::next, s_hd_t::is_s::notready, cdrom_info_s::ok, s_hd_t::old_unique_id, s_hd_t::parent_id, s_hd_t::parent_udi, s_hd_t::persistent_prop, cdrom_info_s::platform, cdrom_info_s::preparer, s_hd_t::prog_if, cdrom_info_s::publisher, sc_int_bios, sc_int_cpu, sc_int_prom, sc_sdev_cdrom, s_hd_t::slot, s_hd_t::is_s::softraiddisk, cdrom_info_s::speed, cdrom_info_s::start, s_hd_t::status, s_str_list_t::str, str_printf(), s_hd_t::sub_class, s_hd_t::sysfs_bus_id, s_hd_t::sysfs_device_link, s_hd_t::sysfs_id, hd_detail_ccw_t::type, hd_detail_t::type, s_hd_t::udi, s_hd_t::unique_id, and cdrom_info_s::volume.
hal_prop_t* hd_free_hal_properties | ( | hal_prop_t * | prop | ) |
References free_mem(), s_str_list_t::free_str_list(), hal_prop_s::key, hal_prop_s::list, hal_prop_s::next, p_list, p_string, hal_prop_s::str, hal_prop_s::type, and hal_prop_s::val.
Referenced by free_hd_entry(), hd_free_hal_devices(), and hd_free_hd_data().
Free all data.
References add_hd_entry2(), modinfo_t::alias, hd_data_t::bios_ebda, hd_data_t::bios_ram, hd_data_t::bios_rom, hd_data_t::cdroms, hd_data_t::cmd_line, hd_data_t::cpu, memory_range_t::data, hd_data_t::devtree, hd_data_t::disks, hd_data_t::edd, hd_data_t::floppy, free_devtree(), free_mem(), free_misc(), free_old_hd_entries(), s_str_list_t::free_str_list(), hd_data_t::hal, hd_data_t::hd, hd_data, hd_free_hal_devices(), hd_free_hal_properties(), hd_free_hd_list(), hd_free_sysfsdrv(), hd_free_udevinfo(), hd_shm_done(), hd_data_t::hddb2, hddb2_data_t::ids, hd_data_t::isapnp, hd_data_t::klog, hd_data_t::klog_raw, hd_data_t::kmods, hd_data_t::last_idx, hddb2_data_t::list, hd_data_t::log, hd_data_t::lsscsi, hd_data_t::manual, hd_data_t::misc, hd_data_t::modinfo, hd_data_t::modinfo_ext, modinfo_t::module, hd_data_t::net, hd_data_t::old_hd, hd_data_t::only, hd_data_t::partitions, hd_data_t::probe_val, hd_data_t::proc_usb, hd_data_t::scanner_db, hd_data_t::smbios, smbios_free(), hddb2_data_t::strings, edd_info_t::sysfs_id, hd_data_t::sysfsdrv, modinfo_t::type, hd_data_t::udevinfo, and hd_data_t::xtra_hd.
Referenced by hd_change_status().
Free hardware items returned by e.g. hd_list().
References free_hd_entry(), free_mem(), s_hd_t::tag_s::freeit, s_hd_t::next, s_hd_t::ref, and s_hd_t::tag.
Referenced by hd_change_config_status(), hd_free_hd_data(), hd_is_uml(), hd_module_list(), hd_scan_manual(), and hd_smp_support().
hd_manual_t* hd_free_manual | ( | hd_manual_t * | manual | ) |
References hd_data_t::hd, hd_data, s_hd_t::idx, and s_hd_t::next.
Referenced by add_scsi_sysfs_info(), add_serial_modem(), hd_display_adapter(), hd_dump_entry(), hd_scan(), hd_scan_net(), and pcmcia_ctrl_read_data().
int hd_has_pcmcia | ( | hd_data_t * | hd_data | ) |
References hd_data_t::hd, hd_data, is_pcmcia_ctrl(), and s_hd_t::next.
char* hd_hw_item_name | ( | hd_hw_item_t | item | ) |
References hw_items, and key2value().
Referenced by create_model_name(), hd_dump_entry(), and hddb_dump_skey().
hd_hw_item_t hd_hw_item_type | ( | char * | name | ) |
References hw_items, hw_none, and value2key().
Referenced by add_entry().
int hd_is_hw_class | ( | hd_t * | hd, |
hd_hw_item_t | hw_class | ||
) |
References hw_all, and s_hd_t::hw_class_list.
Referenced by assign_hw_class(), has_hw_class(), hd_dump_entry(), hd_list(), hd_list_with_status(), and hd_scan_wlan().
int hd_is_sgi_altix | ( | hd_data_t * | hd_data | ) |
Referenced by hd_scan_net().
int hd_is_uml | ( | hd_data_t * | hd_data | ) |
References s_hd_t::base_class, bc_internal, hd_detail_t::cpu, hd_detail_cpu_t::data, s_hd_t::detail, hd_data_t::flags, hd_data_t::hd, hd_data, hd_detail_cpu, hd_free_hd_list(), hd_list(), hd_scan_cpu(), hd_set_probe_feature(), hw_cpu, hd_id_t::id, hd_data_t::flag_struct::internal, cpu_info_t::model_name, hd_data_t::module, s_hd_t::next, pr_cpu, hd_data_t::probe, sc_int_cpu, s_hd_t::sub_class, and hd_detail_t::type.
Referenced by hd_scan_kbd().
int hd_is_xen | ( | hd_data_t * | hd_data | ) |
Referenced by hd_read_xen().
hd_t* hd_list | ( | hd_data_t * | hd_data, |
hd_hw_item_t | item, | ||
int | rescan, | ||
hd_t * | hd_old | ||
) |
References add_hd_entry2(), hd_status_t::available, hd_status_t::available_orig, cmp_hd(), hd_data_t::flag_struct::fast, hd_data_t::flags, hd_data_t::hal, hd_data_t::hd, hd_clear_probe_feature(), hd_copy(), hd_data, hd_is_hw_class(), hd_list(), hd_report_this(), hd_scan(), hd_set_probe_feature(), hd_set_probe_feature_hw(), hw_manual, hd_data_t::flag_struct::list_all, new_mem(), s_hd_t::next, pr_all, pr_sys, hd_data_t::probe, s_hd_t::status, status_unknown, and status_yes.
Referenced by hd_base_class_list(), hd_bus_list(), hd_is_uml(), hd_list(), hd_list2(), hd_list_with_status(), hd_list_with_status2(), hd_smp_support(), and hd_sub_class_list().
hd_t* hd_list2 | ( | hd_data_t * | hd_data, |
hd_hw_item_t * | items, | ||
int | rescan | ||
) |
References add_hd_entry2(), hd_status_t::available, hd_status_t::available_orig, hd_data_t::flag_struct::fast, hd_data_t::flags, hd_data_t::hal, has_hw_class(), has_item(), hd_data_t::hd, hd_clear_probe_feature(), hd_copy(), hd_data, hd_list(), hd_report_this(), hd_scan(), hd_set_probe_feature(), hd_set_probe_feature_hw(), hw_manual, hd_data_t::flag_struct::list_all, mod_manual, s_hd_t::module, new_mem(), s_hd_t::next, pr_all, pr_sys, hd_data_t::probe, s_hd_t::status, status_unknown, and status_yes.
hd_t* hd_list_with_status | ( | hd_data_t * | hd_data, |
hd_hw_item_t | item, | ||
hd_status_t | status | ||
) |
hd_t* hd_list_with_status2 | ( | hd_data_t * | hd_data, |
hd_hw_item_t * | items, | ||
hd_status_t | status | ||
) |
int hd_mac_color | ( | hd_data_t * | hd_data | ) |
References hd_color(), and hd_data.
int hd_manual_write_entry | ( | hd_data_t * | hd_data, |
hd_manual_t * | entry | ||
) |
int hd_module_is_active | ( | hd_data_t * | hd_data, |
char * | mod | ||
) |
References free_mem(), s_str_list_t::free_str_list(), hd_data, hd_data_t::klog, new_str(), s_str_list_t::next, read_kmods(), and s_str_list_t::str.
Referenced by add_xpnet(), do_zip(), expand_driver_info(), hd_read_xen(), hd_scan_serial(), load_module_with_params(), probe_module(), and unload_module().
int hd_probe_feature | ( | hd_data_t * | hd_data, |
enum probe_feature | feature | ||
) |
References feature, hd_data, pr_default, and hd_data_t::probe.
Referenced by add_cdrom_info(), add_scsi_sysfs_info(), do_zip(), expand_driver_info(), get_block_devs(), get_serial_modem(), hd_scan(), hd_scan_braille(), hd_scan_cpu(), hd_scan_dsl(), hd_scan_fb(), hd_scan_floppy(), hd_scan_hal(), hd_scan_input(), hd_scan_int(), hd_scan_isdn(), hd_scan_kbd(), hd_scan_manual(), hd_scan_memory(), hd_scan_misc(), hd_scan_misc2(), hd_scan_modem(), hd_scan_monitor(), hd_scan_mouse(), hd_scan_net(), hd_scan_parallel(), hd_scan_pcmcia(), hd_scan_pppoe(), hd_scan_serial(), hd_scan_sys(), hd_scan_sysfs_block(), hd_scan_sysfs_pci(), hd_scan_sysfs_scsi(), hd_scan_sysfs_usb(), and hd_scan_wlan().
enum probe_feature hd_probe_feature_by_name | ( | char * | name | ) |
References pr_flags_by_name().
char* hd_probe_feature_by_value | ( | enum probe_feature | feature | ) |
References feature, pr_flags_t::name, and pr_flags_by_id().
cdrom_info_t* hd_read_cdrom_info | ( | hd_data_t * | hd_data, |
hd_t * | hd | ||
) |
References ADD2LOG, cdrom_info_s::application, cdrom_info_s::bootable, canon_str(), cdrom_info_s::catalog, cdrom_info_s::cdrom, hd_detail_t::cdrom, cdrom_info_s::creation_date, hd_detail_cdrom_t::data, s_hd_t::detail, cdrom_info_s::el_torito, free_hd_detail(), free_mem(), cdrom_info_s::geo, hd_detail_cdrom, cdrom_info_s::id_string, s_hd_t::is, cdrom_info_s::iso9660, cdrom_info_s::label, cdrom_info_s::load_address, cdrom_info_s::load_count, cdrom_info_s::media_type, cdrom_info_s::name, new_mem(), s_hd_t::is_s::notready, cdrom_info_s::ok, cdrom_info_s::platform, cdrom_info_s::preparer, cdrom_info_s::publisher, cdrom_info_s::start, hd_detail_t::type, s_hd_t::unix_dev_name, and cdrom_info_s::volume.
Referenced by add_cdrom_info().
References s_hd_t::tag_s::freeit, hd_data, hd_data_t::hddb2, hddb_init(), s_hd_t::idx, hd_data_t::last_idx, s_hd_t::line, s_hd_t::module, hd_data_t::module, new_mem(), s_hd_t::persistent_prop, prop2hd(), read_properties(), and s_hd_t::tag.
Referenced by hd_change_config_status(), and hd_scan_manual().
int hd_read_mmap | ( | hd_data_t * | hd_data, |
char * | name, | ||
unsigned char * | buf, | ||
off_t | start, | ||
unsigned | size | ||
) |
hal_prop_t* hd_read_properties | ( | const char * | udi | ) |
References check_udi(), free_mem(), s_str_list_t::free_str_list(), hd_get_hddb_path(), hal_prop_s::key, new_mem(), s_str_list_t::next, p_invalid, parse_property(), read_file(), s_str_list_t::str, and str_printf().
Referenced by hd_scan_with_hal(), and read_properties().
void hd_scan | ( | hd_data_t * | hd_data | ) |
the actual hardware scan
References ADD2LOG, s_str_list_t::add_str_list(), assign_hw_class(), s_hd_t::attached_to, hd_data_t::flag_struct::biosvram, s_hd_t::child_ids, hd_data_t::flag_struct::cpuemu, create_model_name(), hd_data_t::debug, dump_klog(), fix_probe_features(), s_hd_t::tag_s::fixed, hd_data_t::flags, free_mem(), s_str_list_t::free_str_list(), get_kernel_version(), get_probe_env(), get_probe_val_int(), get_probe_val_list(), get_probe_val_str(), hd_data_t::hal, hd_data_t::hd, hd_add_id(), hd_data, hd_get_device_by_id(), hd_get_device_by_idx(), hd_get_hddb_dir(), hd_join(), hd_probe_feature(), hd_scan_hal_basic(), hd_scan_int(), hd_scan_manual2(), hd_scan_no_hal(), hd_scan_with_hal(), hd_set_probe_feature(), hd_shm_init(), HD_VERSION_STRING, hddb_init(), s_hd_t::idx, hd_data_t::flag_struct::internal, hd_data_t::klog, hd_data_t::kmods, hd_data_t::last_idx, mod_manual, mod_none, hd_data_t::module, pr_flags_t::name, new_str(), s_str_list_t::next, s_hd_t::next, hd_data_t::flag_struct::nobioscrc, hd_data_t::flag_struct::nofork, hd_data_t::flag_struct::nosysfs, hd_data_t::ok, hd_data_t::only, p_int32, p_list, p_string, s_hd_t::parent_id, hd_data_t::flag_struct::pata, pr_bios_acpi, pr_bios_crc, pr_bios_vram, pr_cpuemu, pr_default, pr_flags_by_id(), pr_fork, pr_int, pr_modules_pata, pr_sysfs, pr_udev, pr_x86emu, hd_data_t::probe, PROC_MODULES, read_file(), remove_hd_entries(), set_probe_val(), hd_data_t::shm, s_str_list_t::str, str_printf(), s_hd_t::tag, pr_flags_t::type, hd_data_t::flag_struct::udev, s_hd_t::unique_id, update_irq_usage(), and hd_data_t::used_irqs.
Referenced by hd_list(), hd_list2(), hd_list_with_status(), and hd_list_with_status2().
void hd_set_hw_class | ( | hd_t * | hd, |
hd_hw_item_t | hw_class | ||
) |
References s_hd_t::hw_class_list.
Referenced by add_other_sysfs_info(), assign_hw_class(), get_input_devices(), hd_scan_monitor(), hd_scan_net(), hddb_add_info(), int_fix_usb_scsi(), and set_class_entries().
void hd_set_probe_feature | ( | hd_data_t * | hd_data, |
enum probe_feature | feature | ||
) |
References feature, fix_probe_features(), hd_data, hd_set_probe_feature(), pr_flags_t::mask, pr_flags_t::parent, pr_flags, pr_flags_by_id(), and hd_data_t::probe.
Referenced by hd_is_uml(), hd_list(), hd_list2(), hd_scan(), hd_set_probe_feature(), and hd_set_probe_feature_hw().
void hd_set_probe_feature_hw | ( | hd_data_t * | hd_data, |
hd_hw_item_t | item | ||
) |
References hd_data_t::flag_struct::fast, hd_data_t::flags, hd_data, hd_set_probe_feature(), hw_all, hw_bios, hw_block, hw_bluetooth, hw_braille, hw_bridge, hw_camera, hw_cdrom, hw_chipcard, hw_cpu, hw_disk, hw_display, hw_dsl, hw_dvb, hw_fingerprint, hw_floppy, hw_framebuffer, hw_hotplug, hw_hotplug_ctrl, hw_hub, hw_ide, hw_ieee1394, hw_ieee1394_ctrl, hw_isapnp, hw_isdn, hw_joystick, hw_keyboard, hw_manual, hw_memory, hw_mmc_ctrl, hw_modem, hw_monitor, hw_mouse, hw_network, hw_network_ctrl, hw_none, hw_partition, hw_pci, hw_pcmcia, hw_pcmcia_ctrl, hw_pppoe, hw_printer, hw_redasd, hw_scanner, hw_scsi, hw_sound, hw_storage_ctrl, hw_sys, hw_tape, hw_tv, hw_unknown, hw_usb, hw_usb_ctrl, hw_vbe, hw_wlan, hw_zip, is_kms_active(), pr_bios, pr_bios_ddc, pr_bios_fb, pr_bios_mode, pr_block, pr_block_cdrom, pr_block_mods, pr_block_part, pr_braille_alva, pr_braille_baum, pr_braille_fhp, pr_braille_ht, pr_cpu, pr_default, pr_edd_mod, pr_fb, pr_floppy, pr_input, pr_int, pr_isapnp, pr_isapnp_mod, pr_isdn, pr_kbd, pr_manual, pr_memory, pr_misc, pr_misc_floppy, pr_misc_par, pr_misc_serial, pr_modem, pr_modem_usb, pr_monitor, pr_mouse, pr_net, pr_parallel_lp, pr_parallel_zip, pr_pci, pr_pcmcia, pr_pppoe, pr_prom, pr_s390, pr_s390disks, pr_sbus, pr_scsi, pr_serial, pr_sys, pr_usb, and pr_wlan.
Referenced by hd_list(), and hd_list2().
int hd_smp_support | ( | hd_data_t * | hd_data | ) |
References hd_data_t::bios_ram, hd_detail_t::cpu, memory_range_t::data, hd_detail_cpu_t::data, s_hd_t::detail, detect_smp_bios(), detect_smp_prom(), hd_data_t::devtree, hd_data_t::flags, hd_data, hd_detail_cpu, hd_free_hd_list(), hd_list(), hw_cpu, hw_sys, hd_data_t::flag_struct::internal, s_hd_t::next, hd_detail_t::type, and cpu_info_t::units.
char* hd_status_value_name | ( | hd_status_value_t | status | ) |
References key2value(), and status_names.
Referenced by hd_dump_entry().
References add_hd_entry2(), s_hd_t::base_class, hd_data_t::hd, hd_copy(), hd_data, hd_list(), hd_id_t::id, new_mem(), s_hd_t::next, and s_hd_t::sub_class.
int hd_usb_support | ( | hd_data_t * | hd_data | ) |
char* hd_version | ( | void | ) |
References HD_VERSION_STRING.
References hd2prop(), hd_data, hd_report_this(), hd_write_properties(), s_hd_t::persistent_prop, s_hd_t::udi, and s_hd_t::unique_id.
Referenced by hd_change_config_status().
int hd_write_properties | ( | const char * | udi, |
hal_prop_t * | prop | ||
) |
References hd_hal_print_prop(), hd_open_properties(), hal_prop_s::next, p_invalid, and hal_prop_s::type.
Referenced by hd_write_config().
References hddb_search_t::base_class, s_hd_t::base_class, bc_keyboard, bc_monitor, hddb_search_t::bus, s_hd_t::bus, hd_detail_t::ccw, s_hd_t::compat_device, s_hd_t::compat_vendor, hddb_search_t::cu_model, ccw_s::cu_model, hd_detail_ccw_t::data, s_hd_t::detail, hddb_search_t::device, s_hd_t::device, hddb_search_t::driver, s_hd_t::driver_info, dsl_driver(), expand_driver_info(), s_hd_t::tag_s::fixed, free_driver_info(), free_mem(), s_str_list_t::free_str_list(), get_dsl_info(), get_isdn_info(), hd_data, hd_modinfo_db(), hd_set_hw_class(), hd_split(), hddb_search(), hddb_to_device_driver(), he_baseclass_id, he_baseclass_name, he_bus_id, he_bus_name, he_detail_ccw_data_cu_model, he_device_id, he_device_name, he_driver, he_hwclass, he_progif_id, he_progif_name, he_requires, he_rev_id, he_rev_name, he_serial, he_subclass_id, he_subclass_name, he_subdevice_id, he_subdevice_name, he_subvendor_id, he_subvendor_name, he_vendor_id, he_vendor_name, hddb_search_t::hwclass, hd_id_t::id, s_hd_t::is, isdn_driver(), kbd_driver(), hddb_search_t::key, cdb_isdn_card::lname, MAKE_ID, s_hd_t::model, hd_data_t::modinfo, hd_data_t::modinfo_ext, monitor_driver(), hd_id_t::name, new_str(), hddb_search_t::prog_if, s_hd_t::prog_if, s_hd_t::ref, hddb_search_t::requires, s_hd_t::requires, hddb_search_t::revision, s_hd_t::revision, hddb_search_t::serial, s_hd_t::serial, hddb_search_t::sub_class, s_hd_t::sub_class, hddb_search_t::sub_device, s_hd_t::sub_device, hddb_search_t::sub_vendor, s_hd_t::sub_vendor, s_hd_t::tag, TAG_SPECIAL, hddb_search_t::value, hddb_search_t::vendor, s_hd_t::vendor, and s_hd_t::is_s::with_acpi.
Referenced by hd_display_adapter(), hd_module_list(), hd_scan_int(), int_wlan(), and prop2hd().
void hddb_dump | ( | hddb2_data_t * | hddb, |
FILE * | f | ||
) |
void hddb_dump_raw | ( | hddb2_data_t * | hddb, |
FILE * | f | ||
) |
References DATA_FLAG, DATA_VALUE, eisa_vendor_str(), FLAG_ID, FLAG_MASK, FLAG_RANGE, FLAG_STRING, hid_tag_name(), ID_TAG, ID_VALUE, hddb2_data_t::ids, hddb2_data_t::ids_len, hddb2_data_t::ids_max, hddb_list_s::key, hddb_list_s::key_mask, hddb2_data_t::list, hddb2_data_t::list_len, hddb2_data_t::list_max, hddb2_data_t::strings, hddb2_data_t::strings_len, hddb2_data_t::strings_max, TAG_EISA, hddb_list_s::value, and hddb_list_s::value_mask.
str_list_t* hddb_get_packages | ( | hd_data_t * | hd_data | ) |