STRUCT PDC_REGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 the IRQ_ENABLE_BANK register. yes, the enable bank. the vibes are: "where do we turn interrupts on" πŸ“
  • irq_cfg_reg β€” holds the location of the IRQ_CFG register. config energy fr fr βš™οΈ
  • irq_param_reg β€” holds the location of the IRQ_PARAM register. 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 🫢

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