drivers/hwmon/f71805f.c
Source file repositories/reference/linux-study-clean/drivers/hwmon/f71805f.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/hwmon/f71805f.c- Extension
.c- Size
- 48577 bytes
- Lines
- 1648
- Domain
- Driver Families
- Bucket
- drivers/hwmon
- 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/module.hlinux/init.hlinux/slab.hlinux/jiffies.hlinux/platform_device.hlinux/hwmon.hlinux/hwmon-sysfs.hlinux/err.hlinux/mutex.hlinux/sysfs.hlinux/ioport.hlinux/acpi.hlinux/io.h
Detected Declarations
struct f71805f_auto_pointstruct f71805f_datastruct f71805f_sio_dataenum kindsfunction superio_inbfunction superio_inwfunction superio_selectfunction superio_enterfunction superio_exitfunction in_from_regfunction in_to_regfunction in0_from_regfunction in0_to_regfunction fan_from_regfunction fan_to_regfunction pwm_freq_from_regfunction pwm_freq_to_regfunction pwm_mode_from_regfunction temp_from_regfunction temp_to_regfunction f71805f_read8function f71805f_write8function f71805f_read16function f71805f_write16function show_in0function show_in0_maxfunction show_in0_minfunction set_in0_maxfunction set_in0_minfunction show_infunction show_in_maxfunction show_in_minfunction set_in_maxfunction set_in_minfunction show_fanfunction show_fan_minfunction show_fan_targetfunction set_fan_minfunction set_fan_targetfunction show_pwmfunction show_pwm_enablefunction show_pwm_freqfunction show_pwm_modefunction set_pwmfunction set_pwm_enablefunction set_pwm_freqfunction show_pwm_auto_point_tempfunction set_pwm_auto_point_temp
Annotated Snippet
module_init(f71805f_init);
module_exit(f71805f_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/init.h`, `linux/slab.h`, `linux/jiffies.h`, `linux/platform_device.h`, `linux/hwmon.h`, `linux/hwmon-sysfs.h`, `linux/err.h`.
- Detected declarations: `struct f71805f_auto_point`, `struct f71805f_data`, `struct f71805f_sio_data`, `enum kinds`, `function superio_inb`, `function superio_inw`, `function superio_select`, `function superio_enter`, `function superio_exit`, `function in_from_reg`.
- Atlas domain: Driver Families / drivers/hwmon.
- 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.