STRUCT PDC_IRQ_CFG(9)
β¨ struct pdc_irq_cfg β¨
okay so bestie, welcome to the Kernel API Manual π«Ά this one's a lil struct page β struct pdc_irq_cfg, and it's literally just the bit fields for the PDC IRQ_CFG register. no cap, that's the whole NAME energy. let's get into it π
πΈ SYNOPSIS πΈ
here's the whole vibe, copied exactly so you can trust me:
struct pdc_irq_cfg {
u32 gpio_irq_sts;
u32 gpio_irq_mask;
u32 irq_enable;
u32 irq_type;
};
four u32 members, she's compact, she's tidy, she's giving "small struct, big job" energy π
π Members π
gpio_irq_stsβ this one is the bit number for theGPIO_STATUSfield. that's it, that's her whole personality β¨gpio_irq_maskβ the bit number for theGPIO_MASKfield. mask on, bestie πirq_enableβ the bit number for theIRQ_ENABLEfield. iconic little enable bit, we love to see it πirq_typeβ and this one is aGENMASKfor theIRQ_TYPEfield, so she's not a single bit, she's a whole masked range, main character energy fr fr π₯
ngl the pattern here is: three of these are bit numbers, and one of them is a GENMASK. don't mix that up or the vibe check will fail π
π¦ SEE ALSO π¦
go read these next, they're all in the Kernel file ./drivers/irqchip/qcom-pdc.c β like, all of them, same file, cute right? π
struct pdc_regs(9)struct pdc_desc(9)qcom_pdc_gic_set_type(9)qcom_pdc_gic_secondary_set_type(9)
β friendly reminder from the page itself: everything above lives in ./drivers/irqchip. that's a real path, don't @ me π
and that's the page!! π mwah, you slayed. this was from the Kernel API Manual, filed under ./drivers/irqchip, dated October 2026 β take care of her, she's small but she's doing her best ππ§π
π¦ 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