drivers/ps3/ps3-sys-manager.c
Source file repositories/reference/linux-study-clean/drivers/ps3/ps3-sys-manager.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/ps3/ps3-sys-manager.c- Extension
.c- Size
- 20325 bytes
- Lines
- 757
- Domain
- Driver Families
- Bucket
- drivers/ps3
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/module.hlinux/workqueue.hlinux/reboot.hlinux/sched/signal.hasm/firmware.hasm/lv1call.hasm/ps3.hvuart.h
Detected Declarations
struct ps3_sys_manager_headerenum ps3_sys_manager_service_idenum ps3_sys_manager_attrenum ps3_sys_manager_eventenum ps3_sys_manager_button_eventenum ps3_sys_manager_next_openum ps3_sys_manager_wake_sourceenum ps3_sys_manager_cmdfunction _dump_sm_headerfunction ps3_sys_manager_writefunction ps3_sys_manager_send_attrfunction ps3_sys_manager_send_next_opfunction ps3_sys_manager_send_request_shutdownfunction ps3_sys_manager_send_responsefunction ps3_sys_manager_handle_eventfunction ps3_sys_manager_handle_cmdfunction ps3_sys_manager_handle_msgfunction ps3_sys_manager_finfunction ps3_sys_manager_handle_msgfunction ps3_sys_manager_handle_msgfunction ps3_sys_manager_get_wolfunction ps3_sys_manager_set_wolfunction ps3_sys_manager_workfunction ps3_sys_manager_probefunction ps3_sys_manager_removefunction ps3_sys_manager_shutdownfunction ps3_sys_manager_initmodule init ps3_sys_manager_initexport ps3_sys_manager_get_wolexport ps3_sys_manager_set_wol
Annotated Snippet
module_init(ps3_sys_manager_init);
/* Module remove not supported. */
MODULE_AUTHOR("Sony Corporation");
MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("PS3 System Manager");
MODULE_ALIAS(PS3_MODULE_ALIAS_SYSTEM_MANAGER);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/workqueue.h`, `linux/reboot.h`, `linux/sched/signal.h`, `asm/firmware.h`, `asm/lv1call.h`, `asm/ps3.h`.
- Detected declarations: `struct ps3_sys_manager_header`, `enum ps3_sys_manager_service_id`, `enum ps3_sys_manager_attr`, `enum ps3_sys_manager_event`, `enum ps3_sys_manager_button_event`, `enum ps3_sys_manager_next_op`, `enum ps3_sys_manager_wake_source`, `enum ps3_sys_manager_cmd`, `function _dump_sm_header`, `function ps3_sys_manager_write`.
- Atlas domain: Driver Families / drivers/ps3.
- 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.