zynq_gpio_irq_mask(9)
π 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:
struct zynq_gpio(9)struct zynq_platform_data(9)zynq_gpio_is_zynq(9)gpio_data_ro_bug(9)zynq_gpio_get_bank_pin(9)zynq_gpio_get_value(9)zynq_gpio_set_value(9)zynq_gpio_dir_in(9)zynq_gpio_dir_out(9)zynq_gpio_get_direction(9)zynq_gpio_irq_unmask(9)zynq_gpio_irq_ack(9)zynq_gpio_irq_enable(9)zynq_gpio_set_irq_type(9)zynq_gpio_irqhandler(9)zynq_gpio_probe(9)zynq_gpio_remove(9)
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
- 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