drivers/media/platform/amd/isp4/isp4_debug.h
Source file repositories/reference/linux-study-clean/drivers/media/platform/amd/isp4/isp4_debug.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/platform/amd/isp4/isp4_debug.h- Extension
.h- Size
- 1198 bytes
- Lines
- 42
- Domain
- Driver Families
- Bucket
- drivers/media
- Inferred role
- Driver Families: implementation source
- Status
- source 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/dev_printk.hlinux/printk.hisp4_subdev.h
Detected Declarations
struct isp4_device
Annotated Snippet
#ifndef _ISP4_DEBUG_H_
#define _ISP4_DEBUG_H_
#include <linux/dev_printk.h>
#include <linux/printk.h>
#include "isp4_subdev.h"
#ifdef CONFIG_DEBUG_FS
struct isp4_device;
void isp_debugfs_create(struct isp4_device *isp_dev);
void isp_debugfs_remove(struct isp4_device *isp_dev);
void isp_fw_log_print(struct isp4_subdev *isp);
#else
/* to avoid checkpatch warning */
#define isp_debugfs_create(cam) ((void)(cam))
#define isp_debugfs_remove(cam) ((void)(cam))
#define isp_fw_log_print(isp) ((void)(isp))
#endif /* CONFIG_DEBUG_FS */
void isp4dbg_show_bufmeta_info(struct device *dev, char *pre, void *p,
void *orig_buf /* struct sys_img_buf_handle */);
char *isp4dbg_get_img_fmt_str(int fmt /* enum _image_format_t */);
char *isp4dbg_get_out_ch_str(int ch /* enum _isp_pipe_out_ch_t */);
char *isp4dbg_get_cmd_str(u32 cmd);
char *isp4dbg_get_buf_type(u32 type);/* enum _buffer_type_t */
char *isp4dbg_get_resp_str(u32 resp);
char *isp4dbg_get_buf_src_str(u32 src);
char *isp4dbg_get_buf_done_str(u32 status);
char *isp4dbg_get_if_stream_str(u32 stream);
#endif /* _ISP4_DEBUG_H_ */
Annotation
- Immediate include surface: `linux/dev_printk.h`, `linux/printk.h`, `isp4_subdev.h`.
- Detected declarations: `struct isp4_device`.
- Atlas domain: Driver Families / drivers/media.
- Implementation status: source 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.