drivers/input/keyboard/atkbd.c
Source file repositories/reference/linux-study-clean/drivers/input/keyboard/atkbd.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/input/keyboard/atkbd.c- Extension
.c- Size
- 49780 bytes
- Lines
- 1958
- Domain
- Driver Families
- Bucket
- drivers/input
- 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.
- 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/delay.hlinux/module.hlinux/slab.hlinux/interrupt.hlinux/init.hlinux/input.hlinux/input/vivaldi-fmap.hlinux/serio.hlinux/workqueue.hlinux/libps2.hlinux/mutex.hlinux/dmi.hlinux/property.hhpps2atkbd.h
Detected Declarations
struct atkbdfunction atkbd_show_function_row_physmapfunction atkbd_attr_is_visiblefunction atkbd_need_xlatefunction atkbd_calculate_xl_bitfunction atkbd_compat_scancodefunction atkbd_handle_frame_errorfunction atkbd_pre_receive_bytefunction atkbd_receive_bytefunction atkbd_set_repeat_ratefunction atkbd_set_ledsfunction atkbd_event_workfunction atkbd_schedule_event_workfunction atkbd_eventfunction atkbd_enablefunction atkbd_disablefunction atkbd_activatefunction atkbd_deactivatefunction atkbd_is_portable_devicefunction atkbd_skip_getidfunction atkbd_skip_getidfunction atkbd_probefunction atkbd_select_setfunction atkbd_reset_statefunction atkbd_cleanupfunction atkbd_disconnectfunction atkbd_apply_forced_release_keylistfunction atkbd_oqo_01plus_scancode_fixupfunction atkbd_get_keymap_from_fwnodefunction atkbd_set_keycode_tablefunction atkbd_set_device_attrsfunction atkbd_parse_fwnode_datafunction atkbd_connectfunction atkbd_reconnectfunction atkbd_attr_show_helperfunction atkbd_attr_set_helperfunction scoped_guardfunction atkbd_show_extrafunction atkbd_set_extrafunction atkbd_show_force_releasefunction atkbd_set_force_releasefunction atkbd_show_scrollfunction atkbd_set_scrollfunction atkbd_show_setfunction atkbd_set_setfunction atkbd_show_softrepeatfunction atkbd_set_softrepeatfunction atkbd_show_softraw
Annotated Snippet
module_init(atkbd_init);
module_exit(atkbd_exit);
Annotation
- Immediate include surface: `linux/delay.h`, `linux/module.h`, `linux/slab.h`, `linux/interrupt.h`, `linux/init.h`, `linux/input.h`, `linux/input/vivaldi-fmap.h`, `linux/serio.h`.
- Detected declarations: `struct atkbd`, `function atkbd_show_function_row_physmap`, `function atkbd_attr_is_visible`, `function atkbd_need_xlate`, `function atkbd_calculate_xl_bit`, `function atkbd_compat_scancode`, `function atkbd_handle_frame_error`, `function atkbd_pre_receive_byte`, `function atkbd_receive_byte`, `function atkbd_set_repeat_rate`.
- Atlas domain: Driver Families / drivers/input.
- Implementation status: integration implementation candidate.
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.