qcom_pdc_gi...ary_set_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ qcom_pdc_gic_secondary_set_type β€” the Kernel API Manual, but make it make sense ✨

okay bestie, so this page lives in the Kernel API Manual and it's literally all about qcom_pdc_gic_secondary_set_type β€” one tiny function, one big job. she's out here configuring the PDC for an interrupt that's running in secondary mode, and honestly? iconic of her. πŸŽ€


πŸ’– NAME πŸ’–

qcom_pdc_gic_secondary_set_type β€” Configure PDC for the interrupt in secondary mode

like, that's the whole vibe. PDC gets configured, the interrupt is in secondary mode, and she's the one doing it. no cap. ✨


🌸 SYNOPSIS 🌸

int qcom_pdc_gic_secondary_set_type (struct irq_data *d , unsigned int type );

returns an int, takes two args. that's it, that's the whole signature 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • d β€” the interrupt data. she's a struct irq_data *, she carries the tea πŸ’…
  • type β€” the interrupt type. this is the vibe of the interrupt, and spoiler alert: it's about to get overridden (see below, iykyk) πŸ‘€

⭐ DESCRIPTION ⭐

so here's the thing. All type are forwarded as level high type to parent GIC. literally all of them. every type you hand over gets passed up to the parent GIC as level high type. no exceptions, no negotiations, no "but what if my type is different" β€” she doesn't care, it's level high, periodt. πŸ”₯

that's genuinely the whole description and honestly it ate. πŸ™ˆ


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/irqchip/qcom-pdc.c β€” the actual source, go read it, she's right there πŸ’œ
  • struct pdc_regs(9)
  • struct pdc_irq_cfg(9)
  • struct pdc_desc(9)
  • qcom_pdc_gic_set_type(9) β€” the sibling, the main character (this one's the secondary, but in a cool way) πŸ‘‘

lowkey reminder: this is the secondary variant β€” if you were looking for the grown-up non-secondary one, that's qcom_pdc_gic_set_type(9) up in SEE ALSO. don't be the person who mixes them up bestie 😭

okay that's the page!! mwah πŸ’‹ it lives under ./drivers/irqchip in the Kernel API Manual, dated October 2026 β€” so like, October 2026 fr fr, keep that in your notes πŸ—“οΈβœ¨ and yes the title up top and the header line are her, that's the same girl. slay, you read the whole thing, proud of you πŸ«ΆπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from