drivers/media/platform/samsung/exynos4-is/media-dev.c
Source file repositories/reference/linux-study-clean/drivers/media/platform/samsung/exynos4-is/media-dev.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/platform/samsung/exynos4-is/media-dev.c- Extension
.c- Size
- 39354 bytes
- Lines
- 1594
- Domain
- Driver Families
- Bucket
- drivers/media
- 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/bug.hlinux/clk.hlinux/clk-provider.hlinux/device.hlinux/errno.hlinux/i2c.hlinux/kernel.hlinux/list.hlinux/module.hlinux/of.hlinux/of_platform.hlinux/of_graph.hlinux/pinctrl/consumer.hlinux/platform_device.hlinux/pm_runtime.hlinux/types.hlinux/slab.hmedia/v4l2-async.hmedia/v4l2-ctrls.hmedia/v4l2-fwnode.hmedia/media-device.hmedia/drv-intf/exynos-fimc.hmedia-dev.hfimc-core.hfimc-is.hfimc-lite.hmipi-csis.h
Detected Declarations
function Copyrightfunction fimc_pipeline_preparefunction __subdev_set_powerfunction fimc_pipeline_s_powerfunction __fimc_pipeline_enablefunction __fimc_pipeline_openfunction __fimc_pipeline_closefunction __fimc_pipeline_s_streamfunction fimc_md_pipelines_freefunction fimc_md_parse_one_endpointfunction fimc_md_parse_port_nodefunction for_each_child_of_node_scopedfunction fimc_md_register_sensor_entitiesfunction for_each_child_of_node_scopedfunction __of_get_csis_idfunction register_fimc_lite_entityfunction register_fimc_entityfunction register_csis_entityfunction register_fimc_is_entityfunction fimc_md_register_platform_entityfunction fimc_md_register_platform_entitiesfunction for_each_available_child_of_node_scopedfunction fimc_md_unregister_entitiesfunction __fimc_md_create_fimc_sink_linksfunction __fimc_md_create_flite_source_linksfunction __fimc_md_create_fimc_is_linksfunction fimc_md_create_linksfunction CAM_BLKfunction fimc_md_get_clocksfunction __fimc_md_modify_pipelinefunction __fimc_md_modify_pipelinesfunction fimc_md_link_notifyfunction subdev_conf_mode_showfunction subdev_conf_mode_storefunction cam_clk_preparefunction cam_clk_unpreparefunction fimc_md_unregister_clk_providerfunction fimc_md_register_clk_providerfunction subdev_notifier_boundfunction subdev_notifier_completefunction fimc_md_probefunction fimc_md_removefunction fimc_md_initfunction fimc_md_exitmodule init fimc_md_init
Annotated Snippet
module_init(fimc_md_init);
module_exit(fimc_md_exit);
MODULE_AUTHOR("Sylwester Nawrocki <s.nawrocki@samsung.com>");
MODULE_DESCRIPTION("S5P FIMC camera host interface/video postprocessor driver");
MODULE_LICENSE("GPL");
MODULE_VERSION("2.0.1");
Annotation
- Immediate include surface: `linux/bug.h`, `linux/clk.h`, `linux/clk-provider.h`, `linux/device.h`, `linux/errno.h`, `linux/i2c.h`, `linux/kernel.h`, `linux/list.h`.
- Detected declarations: `function Copyright`, `function fimc_pipeline_prepare`, `function __subdev_set_power`, `function fimc_pipeline_s_power`, `function __fimc_pipeline_enable`, `function __fimc_pipeline_open`, `function __fimc_pipeline_close`, `function __fimc_pipeline_s_stream`, `function fimc_md_pipelines_free`, `function fimc_md_parse_one_endpoint`.
- Atlas domain: Driver Families / drivers/media.
- 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.