STRUCT PRUSS_INTC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct pruss_intc: PRUSS interrupt controller structure πŸ’–

✨ NAME ✨

struct pruss_intc β€” PRUSS interrupt controller structure. This is the struct pruss_intc(9) page from the Kernel API Manual, and bestie, it’s literally the controller’s whole data vibe wrapped up in one C struct πŸ’…βœ¨

🌸 SYNOPSIS 🌸

       struct pruss_intc {
           struct pruss_intc_map_record event_channel[MAX_PRU_SYS_EVENTS];
           struct pruss_intc_map_record channel_host[MAX_PRU_CHANNELS];
           unsigned int irqs[MAX_NUM_HOST_IRQS];
           void __iomem *base;
           struct irq_domain *domain;
           const struct pruss_intc_match_data *soc_config;
           struct device *dev;
           struct mutex lock;
        };

πŸ’… Members πŸ’…

okay so these are the members, and we are doing all of them, no skipping, no cap:

  • event_channel β€” current state of system event to channel mappings. The receipts for where every system event is headed 🫢
  • channel_host β€” current state of channel to host mappings. Keeping track of which channel is chatting with which host πŸ’Œ
  • irqs β€” kernel irq numbers corresponding to PRUSS host interrupts. The actual irq number lineup, looking iconic πŸ”₯
  • base β€” base virtual address of INTC register space. The address where the register space starts, periodt πŸ“
  • domain β€” irq domain for this interrupt controller. This controller’s irq-domain situation, very main character energy πŸ‘‘
  • soc_config β€” cached PRUSS INTC IP configuration data. Cached config data, sitting there being useful 🌸
  • dev β€” PRUSS INTC device pointer. The device pointer for this PRUSS INTC, slay πŸŽ€
  • lock β€” mutex to serialize interrupts mapping. The mutex that keeps interrupts mapping from getting messy, thank u πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/irqchip/irq-pruss-intc.c β€” struct pruss_intc_map_record(9), struct pruss_intc_match_data(9), struct pruss_host_irq_data(9), pruss_intc_map(9), and pruss_intc_unmap(9) are all right there for your reading pleasure πŸ‘€βœ¨


xoxo, this page comes from ./drivers/irqchip and is dated October 2026 β€” sending main character energy from the Kernel API Manual, struct pruss_intc(9) style πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from