drivers/video/fbdev/pxafb.c
Source file repositories/reference/linux-study-clean/drivers/video/fbdev/pxafb.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/video/fbdev/pxafb.c- Extension
.c- Size
- 65731 bytes
- Lines
- 2441
- Domain
- Driver Families
- Bucket
- drivers/video
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/moduleparam.hlinux/kernel.hlinux/sched.hlinux/errno.hlinux/string.hlinux/interrupt.hlinux/slab.hlinux/mm.hlinux/fb.hlinux/delay.hlinux/init.hlinux/ioport.hlinux/cpufreq.hlinux/platform_device.hlinux/dma-mapping.hlinux/clk.hlinux/err.hlinux/completion.hlinux/mutex.hlinux/kthread.hlinux/freezer.hlinux/console.hlinux/of_graph.hlinux/regulator/consumer.hlinux/soc/pxa/cpu.hvideo/of_display_timing.hvideo/videomode.hlinux/string_choices.hasm/io.hasm/irq.hasm/div64.h
Detected Declarations
function lcd_readlfunction lcd_writelfunction pxafb_schedule_workfunction chan_to_fieldfunction pxafb_setpaletteregfunction pxafb_setcolregfunction var_to_depthfunction pxafb_var_to_bppfunction pxafb_var_to_lccr3function pxafb_set_pixfmtfunction pxafb_display_dma_periodfunction pxafb_setmodefunction pxafb_adjust_timingfunction pxafb_check_varfunction pxafb_set_parfunction pxafb_pan_displayfunction pxafb_blankfunction overlay1fb_setupfunction FDADRxfunction overlay1fb_disablefunction overlay2fb_setupfunction overlay2fb_enablefunction overlay2fb_disablefunction overlayfb_openfunction overlayfb_releasefunction overlayfb_check_varfunction overlayfb_check_video_memoryfunction overlayfb_set_parfunction init_pxafb_overlayfunction pxafb_overlay_supportedfunction pxafb_overlay_map_video_memoryfunction pxafb_overlay_initfunction pxafb_overlay_exitfunction pxafb_overlay_initfunction set_hsync_timefunction setup_frame_dmafunction setup_base_framefunction setup_smart_dmafunction pxafb_smart_flushfunction pxafb_smart_queuefunction __smart_timingfunction setup_smart_timingfunction pxafb_smart_threadfunction pxafb_smart_initfunction pxafb_smart_initfunction setup_parallel_timingfunction pxafb_activate_varfunction __pxafb_backlight_power
Annotated Snippet
module_init(pxafb_init);
module_exit(pxafb_exit);
MODULE_DESCRIPTION("loadable framebuffer driver for PXA");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/moduleparam.h`, `linux/kernel.h`, `linux/sched.h`, `linux/errno.h`, `linux/string.h`, `linux/interrupt.h`, `linux/slab.h`.
- Detected declarations: `function lcd_readl`, `function lcd_writel`, `function pxafb_schedule_work`, `function chan_to_field`, `function pxafb_setpalettereg`, `function pxafb_setcolreg`, `function var_to_depth`, `function pxafb_var_to_bpp`, `function pxafb_var_to_lccr3`, `function pxafb_set_pixfmt`.
- Atlas domain: Driver Families / drivers/video.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.