qcom_pdc_gic_set_type(9)
π qcom_pdc_gic_set_type(9) β like, the Kernel API Manual page bestie π
okay so this is a page straight outta the Kernel API Manual, and it's literally about telling the PDC how to handle your interrupt. no cap, it's a whole mood. π
β¨ NAME β¨
qcom_pdc_gic_set_type β configure the PDC for the interrupt π¦
β¨ SYNOPSIS β¨
int qcom_pdc_gic_set_type (struct irq_data *d , unsigned int type );
β¨ ARGUMENTS β¨
dβ the interrupt data. iconic. it's the irq_data, the whole main character of the call. πtypeβ the interrupt type. yeah. that's the vibe check we're doing. π
β¨ DESCRIPTION β¨
okay so here's the tea π: if type is edge triggered, this function forwards that as a rising edge, because the PDC takes care of converting all edge types to a rising edge signal. literally all of them. not me being obsessed with the PDC's commitment to the rising edge aesthetic πβ¨
and if type is level, then it forwards that as level high, because β you guessed it β the PDC takes care of converting all level types to a level high signal. it's giving "the PDC handles the conversion, you just tell it edge or level." periodt. πΈ
so fr fr: edge in β rising edge out, level in β level high out. that's the whole conversion arc and the PDC is the one slaying it, not you. π«Ά
β¨ SEE ALSO β¨
- the Kernel file
./drivers/irqchip/qcom-pdc.cβ go read it iykyk π struct pdc_regs(9)struct pdc_irq_cfg(9)struct pdc_desc(9)qcom_pdc_gic_secondary_set_type(9)
π that's the whole page bestie, no notes, ate and left no crumbs. this one's comin' at you from the ./drivers/irqchip source, dated October 2026 β yeah, the future. ππβ¨
π¦ 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