zynq_gpio_irq_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zynq_gpio_irq_mask(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this one's a tiny little function page and honestly it's giving "small but mighty" β€” let's get into it 🫢


🌸 NAME 🌸

zynq_gpio_irq_mask β€” disable the interrupts for a gpio pin πŸ’… that's it, that's the whole job, and she does it flawlessly no cap


✨ SYNOPSIS ✨

void zynq_gpio_irq_mask (struct irq_data *irq_data );

literally one function, one argument, returns nothing (void, she gives nothing back and we respect that) πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • irq_data β€” the per irq and chip data that gets passed down to the chip functions πŸ“¨ it's the little info packet that rides the whole way down the stack, iykyk

πŸ’œ DESCRIPTION πŸ’œ

so here's the vibe 🌈 this function works out the gpio pin number from the irq number, then sets the corresponding bit in the Interrupt Disable register of the matching bank β€” which is the fancy way of saying it turns the interrupts off for that pin πŸ™ˆβœ¨

one pin, one bit, one bank, done. main character energy tbh πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, no gatekeeping πŸ’– β€” check out the kernel file ./drivers/gpio/gpio-zynq.c plus all of these:


and that's the whole page!! πŸŽ€ source lives in ./drivers/gpio, dated October 2026 β€” mwah, go read the rest of the squad, love u bye πŸ’‹πŸ’–

πŸ“¦ where this page comes from