drivers/acpi/acpi_video.c
Source file repositories/reference/linux-study-clean/drivers/acpi/acpi_video.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/acpi/acpi_video.c- Extension
.c- Size
- 59330 bytes
- Lines
- 2235
- Domain
- Driver Families
- Bucket
- drivers/acpi
- 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/auxiliary_bus.hlinux/kernel.hlinux/module.hlinux/init.hlinux/types.hlinux/list.hlinux/mutex.hlinux/input.hlinux/backlight.hlinux/thermal.hlinux/sort.hlinux/pci.hlinux/pci_ids.hlinux/slab.hlinux/dmi.hlinux/suspend.hlinux/acpi.hacpi/video.hlinux/uaccess.hlinux/string_choices.h
Detected Declarations
struct acpi_video_bus_flagsstruct acpi_video_bus_capstruct acpi_video_device_attribstruct acpi_video_enumerated_devicestruct acpi_video_busstruct acpi_video_device_flagsstruct acpi_video_device_capstruct acpi_video_deviceenum acpi_video_level_idxfunction acpi_video_get_brightnessfunction acpi_video_set_brightnessfunction video_get_max_statefunction video_get_cur_statefunction video_set_cur_statefunction acpi_video_device_lcd_query_levelsfunction acpi_video_device_lcd_set_levelfunction video_set_bqc_offsetfunction video_set_device_id_schemefunction video_enable_only_lcdfunction video_set_report_key_eventsfunction video_hw_changes_brightnessfunction acpi_video_bqc_value_to_levelfunction acpi_video_device_lcd_get_level_currentfunction acpi_video_device_EDIDfunction acpi_video_bus_DOSfunction acpi_video_cmp_levelfunction acpi_video_bqc_quirkfunction acpi_video_get_levelsfunction acpi_video_init_brightnessfunction acpi_video_device_find_capfunction acpi_video_bus_find_capfunction acpi_video_bus_checkfunction acpi_video_get_device_attrfunction acpi_video_get_device_typefunction acpi_video_bus_get_one_devicefunction acpi_video_device_rebindfunction acpi_video_device_bindfunction acpi_video_device_in_dodfunction acpi_video_device_enumeratefunction acpi_video_get_next_levelfunction acpi_video_switch_brightnessfunction acpi_video_get_edidfunction acpi_video_bus_put_devicesfunction devm_acpi_video_bus_get_devicesfunction acpi_video_bus_start_devicesfunction acpi_video_bus_stop_devicesfunction acpi_video_bus_notifyfunction brightness_switch_event
Annotated Snippet
module_init(acpi_video_init);
module_exit(acpi_video_exit);
Annotation
- Immediate include surface: `linux/auxiliary_bus.h`, `linux/kernel.h`, `linux/module.h`, `linux/init.h`, `linux/types.h`, `linux/list.h`, `linux/mutex.h`, `linux/input.h`.
- Detected declarations: `struct acpi_video_bus_flags`, `struct acpi_video_bus_cap`, `struct acpi_video_device_attrib`, `struct acpi_video_enumerated_device`, `struct acpi_video_bus`, `struct acpi_video_device_flags`, `struct acpi_video_device_cap`, `struct acpi_video_device`, `enum acpi_video_level_idx`, `function acpi_video_get_brightness`.
- Atlas domain: Driver Families / drivers/acpi.
- 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.