STRUCT PDC_REGS(9)
β¨ struct pdc_regs β PDC Registers Location β¨
okay bestie, this is a page from the Kernel API Manual, and it's a short one β but it's lowkey important if you're poking at the Qualcomm PDC irqchip, so let's get into it π«Ά
πΈ SYNOPSIS πΈ
struct pdc_regs {
u32 irq_en_reg;
u32 irq_cfg_reg;
u32 irq_param_reg;
};
it's giving three little u32s holding register locations, and honestly? iconic. no cap. β¨
π Members π
so here's the breakdown of every member, one by one, because we do not skip details in this house π
irq_en_regβ this one holds the location of theIRQ_ENABLE_BANKregister. yes, the enable bank. the vibes are: "where do we turn interrupts on" πirq_cfg_regβ holds the location of theIRQ_CFGregister. config energy fr fr βοΈirq_param_regβ holds the location of theIRQ_PARAMregister. the parameter one. she's the third member and she ate π
lowkey note: each of these is just a register location β that's the whole point of the struct. don't go expecting anything fancier, bestie π
π¦ SEE ALSO π¦
go check out the kernel file ./drivers/irqchip/qcom-pdc.c β and while you're in the neighborhood, here's the whole friend group π«Ά
struct pdc_irq_cfg(9)struct pdc_desc(9)qcom_pdc_gic_set_type(9)qcom_pdc_gic_secondary_set_type(9)
all of them live in ./drivers/irqchip, iykyk π
and that's the whole page, bestie β short, sweet, and every single member accounted for π
sign-off szn: this one came out of ./drivers/irqchip, dated October 2026, and it's filed under struct pdc_regs(9) in the Kernel API Manual. slay, go read the source, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms