regmap_del_irq_chip(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… regmap_del_irq_chip(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this one's a little cleanup queen and honestly she ate πŸŽ€


🌸 NAME 🌸

regmap_del_irq_chip β€” the girl whose whole job is stopping interrupt handling for a regmap IRQ chip. she's the "you had your fun, now go home" of the regmap world πŸ’…


✨ SYNOPSIS ✨

void regmap_del_irq_chip (int irq , struct regmap_irq_chip_data *d );

no return value, no drama, just vibes and a void 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • irq β€” the primary IRQ for the device πŸ”₯ like, the main character interrupt of the whole thing
  • d β€” the regmap_irq_chip_data that was allocated by regmap_add_irq_chip 🌈 yes, that exact one, don't be bringing her a random struct, iykyk

πŸ’– DESCRIPTION πŸ’–

so what does she actually do? she stops the interrupt handling for the regmap IRQ chip. periodt πŸ’€

and lowkey the important bit: this function also disposes of all mapped IRQs on the chip. like, all of them. every single one. she's not doing a partial cleanup, she's taking the whole vibe down with her 🧚✨


πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/base/regmap/regmap-irq.c β€” go read her, she's iconic πŸ“–

like literally the whole friend group, go say hi to all of them πŸ’œ


k bye bestie πŸ’–βœ¨ this page lives in ./drivers/base/regmap, dated October 2026, and that's the whole Kernel API Manual tea β€” slay πŸŽ€

πŸ“¦ where this page comes from