drivers/ps3/ps3av.c
Source file repositories/reference/linux-study-clean/drivers/ps3/ps3av.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/ps3/ps3av.c- Extension
.c- Size
- 27667 bytes
- Lines
- 1063
- 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.
- 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/kernel.hlinux/module.hlinux/delay.hlinux/notifier.hlinux/ioctl.hlinux/slab.hasm/firmware.hasm/ps3av.hasm/ps3.hvideo/cmdline.hvuart.h
Detected Declarations
function ps3av_parse_event_packetfunction ps3av_vuart_writefunction ps3av_vuart_readfunction ps3av_send_cmd_pktfunction ps3av_process_reply_packetfunction ps3av_set_hdrfunction ps3av_do_pktfunction ps3av_set_av_video_mutefunction ps3av_set_video_disable_sigfunction ps3av_set_audio_mutefunction ps3av_set_audio_modefunction ps3av_set_videomodefunction ps3av_set_videomode_packetfunction ps3av_set_videomode_contfunction ps3avdfunction ps3av_resbit2idfunction ps3av_hdmi_get_idfunction ps3av_monitor_info_dumpfunction ps3av_fixup_monitor_infofunction ps3av_auto_videomodefunction ps3av_get_hw_conffunction ps3av_set_video_modefunction ps3av_get_auto_modefunction ps3av_get_modefunction ps3av_video_mode2resfunction ps3av_video_mutefunction ps3av_audio_mute_analogfunction ps3av_audio_mutefunction ps3av_probefunction ps3av_removefunction ps3av_shutdownfunction ps3av_module_initfunction ps3av_module_exitmodule init ps3av_module_initexport ps3av_set_audio_modeexport ps3av_set_video_modeexport ps3av_get_auto_modeexport ps3av_get_modeexport ps3av_video_mode2resexport ps3av_video_muteexport ps3av_audio_mute_analogexport ps3av_audio_mute
Annotated Snippet
subsys_initcall(ps3av_module_init);
module_exit(ps3av_module_exit);
MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("PS3 AV Settings Driver");
MODULE_AUTHOR("Sony Computer Entertainment Inc.");
MODULE_ALIAS(PS3_MODULE_ALIAS_AV_SETTINGS);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/delay.h`, `linux/notifier.h`, `linux/ioctl.h`, `linux/slab.h`, `asm/firmware.h`, `asm/ps3av.h`.
- Detected declarations: `function ps3av_parse_event_packet`, `function ps3av_vuart_write`, `function ps3av_vuart_read`, `function ps3av_send_cmd_pkt`, `function ps3av_process_reply_packet`, `function ps3av_set_hdr`, `function ps3av_do_pkt`, `function ps3av_set_av_video_mute`, `function ps3av_set_video_disable_sig`, `function ps3av_set_audio_mute`.
- 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.