arch/mips/txx9/rbtx4927/irq.c
Source file repositories/reference/linux-study-clean/arch/mips/txx9/rbtx4927/irq.c
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/txx9/rbtx4927/irq.c- Extension
.c- Size
- 6070 bytes
- Lines
- 199
- Domain
- Architecture Layer
- Bucket
- arch/mips
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/types.hlinux/interrupt.hlinux/irq.hasm/io.hasm/mipsregs.hasm/txx9/generic.hasm/txx9/rbtx4927.h
Detected Declarations
function toshiba_rbtx4927_irq_nestedfunction toshiba_rbtx4927_irq_ioc_enablefunction toshiba_rbtx4927_irq_ioc_disablefunction toshiba_rbtx4927_irq_ioc_initfunction rbtx4927_irq_dispatchfunction rbtx4927_irq_setup
Annotated Snippet
else if (pending & STATUSF_IP2) { /* tx4927 pic */
irq = txx9_irq();
if (irq == RBTX4927_IRQ_IOCINT)
irq = toshiba_rbtx4927_irq_nested(irq);
} else if (pending & STATUSF_IP0) /* user line 0 */
irq = MIPS_CPU_IRQ_BASE + 0;
else if (pending & STATUSF_IP1) /* user line 1 */
irq = MIPS_CPU_IRQ_BASE + 1;
else
irq = -1;
return irq;
}
void __init rbtx4927_irq_setup(void)
{
txx9_irq_dispatch = rbtx4927_irq_dispatch;
tx4927_irq_init();
toshiba_rbtx4927_irq_ioc_init();
/* Onboard 10M Ether: High Active */
irq_set_irq_type(RBTX4927_RTL_8019_IRQ, IRQF_TRIGGER_HIGH);
}
Annotation
- Immediate include surface: `linux/init.h`, `linux/types.h`, `linux/interrupt.h`, `linux/irq.h`, `asm/io.h`, `asm/mipsregs.h`, `asm/txx9/generic.h`, `asm/txx9/rbtx4927.h`.
- Detected declarations: `function toshiba_rbtx4927_irq_nested`, `function toshiba_rbtx4927_irq_ioc_enable`, `function toshiba_rbtx4927_irq_ioc_disable`, `function toshiba_rbtx4927_irq_ioc_init`, `function rbtx4927_irq_dispatch`, `function rbtx4927_irq_setup`.
- Atlas domain: Architecture Layer / arch/mips.
- 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.