drivers/platform/x86/hp/hp-bioscfg/bioscfg.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/hp/hp-bioscfg/bioscfg.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c- Extension
.c- Size
- 25701 bytes
- Lines
- 1068
- Domain
- Driver Families
- Bucket
- drivers/platform
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/fs.hlinux/module.hlinux/kernel.hlinux/printk.hlinux/string.hlinux/wmi.hbioscfg.h../../firmware_attributes_class.hlinux/nls.hlinux/errno.h
Detected Declarations
function display_name_language_code_showfunction hp_get_integer_from_bufferfunction hp_get_string_from_bufferfunction hp_get_common_data_from_bufferfunction hp_enforce_single_line_inputfunction hp_set_reboot_and_signal_eventfunction hp_calculate_string_bufferfunction hp_wmi_error_and_messagefunction pending_reboot_showfunction create_attributes_level_sysfs_filesfunction attr_name_releasefunction hp_get_wmiobj_pointerfunction hp_get_instance_countfunction hp_alloc_attributes_datafunction hp_convert_hexstr_to_strfunction hp_encode_outsize_for_pvszfunction hp_friendly_user_name_updatefunction hp_update_attribute_permissionsfunction destroy_attribute_objsfunction release_attributes_datafunction hp_add_other_attributesfunction hp_init_bios_package_attributefunction hp_init_bios_buffer_attributefunction hp_init_bios_attributesfunction hp_initfunction hp_exitmodule init hp_init
Annotated Snippet
module_init(hp_init);
module_exit(hp_exit);
Annotation
- Immediate include surface: `linux/fs.h`, `linux/module.h`, `linux/kernel.h`, `linux/printk.h`, `linux/string.h`, `linux/wmi.h`, `bioscfg.h`, `../../firmware_attributes_class.h`.
- Detected declarations: `function display_name_language_code_show`, `function hp_get_integer_from_buffer`, `function hp_get_string_from_buffer`, `function hp_get_common_data_from_buffer`, `function hp_enforce_single_line_input`, `function hp_set_reboot_and_signal_event`, `function hp_calculate_string_buffer`, `function hp_wmi_error_and_message`, `function pending_reboot_show`, `function create_attributes_level_sysfs_files`.
- Atlas domain: Driver Families / drivers/platform.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.