drivers/media/rc/img-ir/img-ir-raw.h
Source file repositories/reference/linux-study-clean/drivers/media/rc/img-ir/img-ir-raw.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/rc/img-ir/img-ir-raw.h- Extension
.h- Size
- 1353 bytes
- Lines
- 62
- 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
- No C-style include directives detected by the generator.
Detected Declarations
struct img_ir_privstruct img_ir_priv_rawstruct img_ir_priv_rawfunction img_ir_raw_enabledfunction img_ir_raw_enabledfunction img_ir_isr_rawfunction img_ir_remove_raw
Annotated Snippet
struct img_ir_priv_raw {
struct rc_dev *rdev;
struct timer_list timer;
u32 last_status;
};
static inline bool img_ir_raw_enabled(struct img_ir_priv_raw *raw)
{
return raw->rdev;
};
void img_ir_isr_raw(struct img_ir_priv *priv, u32 irq_status);
void img_ir_setup_raw(struct img_ir_priv *priv);
int img_ir_probe_raw(struct img_ir_priv *priv);
void img_ir_remove_raw(struct img_ir_priv *priv);
#else
struct img_ir_priv_raw {
};
static inline bool img_ir_raw_enabled(struct img_ir_priv_raw *raw)
{
return false;
};
static inline void img_ir_isr_raw(struct img_ir_priv *priv, u32 irq_status)
{
}
static inline void img_ir_setup_raw(struct img_ir_priv *priv)
{
}
static inline int img_ir_probe_raw(struct img_ir_priv *priv)
{
return -ENODEV;
}
static inline void img_ir_remove_raw(struct img_ir_priv *priv)
{
}
#endif /* CONFIG_IR_IMG_RAW */
#endif /* _IMG_IR_RAW_H_ */
Annotation
- Detected declarations: `struct img_ir_priv`, `struct img_ir_priv_raw`, `struct img_ir_priv_raw`, `function img_ir_raw_enabled`, `function img_ir_raw_enabled`, `function img_ir_isr_raw`, `function img_ir_remove_raw`.
- 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.