drivers/sh/intc/internals.h
Source file repositories/reference/linux-study-clean/drivers/sh/intc/internals.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/sh/intc/internals.h- Extension
.h- Size
- 5643 bytes
- Lines
- 192
- Domain
- Driver Families
- Bucket
- drivers/sh
- Inferred role
- Driver Families: operation-table or driver-model contract
- Status
- pattern 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 an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/sh_intc.hlinux/irq.hlinux/irqdomain.hlinux/list.hlinux/kernel.hlinux/types.hlinux/radix-tree.hlinux/device.h
Detected Declarations
struct intc_handle_intstruct intc_windowstruct intc_map_entrystruct intc_subgroup_entrystruct intc_desc_intfunction activate_irqfunction intc_handle_int_cmpfunction intc_balancing_enable
Annotated Snippet
extern const struct bus_type intc_subsys;
unsigned int intc_get_dfl_prio_level(void);
unsigned int intc_get_prio_level(unsigned int irq);
void intc_set_prio_level(unsigned int irq, unsigned int level);
/* handle.c */
unsigned int intc_get_mask_handle(struct intc_desc *desc,
struct intc_desc_int *d,
intc_enum enum_id, int do_grps);
unsigned int intc_get_prio_handle(struct intc_desc *desc,
struct intc_desc_int *d,
intc_enum enum_id, int do_grps);
unsigned int intc_get_sense_handle(struct intc_desc *desc,
struct intc_desc_int *d,
intc_enum enum_id);
void intc_set_ack_handle(unsigned int irq, struct intc_desc *desc,
struct intc_desc_int *d, intc_enum id);
unsigned long intc_get_ack_handle(unsigned int irq);
void intc_enable_disable_enum(struct intc_desc *desc, struct intc_desc_int *d,
intc_enum enum_id, int enable);
/* irqdomain.c */
void intc_irq_domain_init(struct intc_desc_int *d, struct intc_hw_desc *hw);
/* virq.c */
void intc_subgroup_init(struct intc_desc *desc, struct intc_desc_int *d);
void intc_irq_xlate_set(unsigned int irq, intc_enum id, struct intc_desc_int *d);
struct intc_map_entry *intc_irq_xlate_get(unsigned int irq);
Annotation
- Immediate include surface: `linux/sh_intc.h`, `linux/irq.h`, `linux/irqdomain.h`, `linux/list.h`, `linux/kernel.h`, `linux/types.h`, `linux/radix-tree.h`, `linux/device.h`.
- Detected declarations: `struct intc_handle_int`, `struct intc_window`, `struct intc_map_entry`, `struct intc_subgroup_entry`, `struct intc_desc_int`, `function activate_irq`, `function intc_handle_int_cmp`, `function intc_balancing_enable`.
- Atlas domain: Driver Families / drivers/sh.
- Implementation status: pattern 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.