zynq_gpio_is_zynq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zynq_gpio_is_zynq(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” today’s main character is zynq_gpio_is_zynq(9), and honestly? It’s a tiny little vibe check for your hardware. No cap.


🌸 NAME 🌸

  • zynq_gpio_is_zynq β€” the function that tests if the HW is zynq or zynqmp. literally its whole job πŸ’–

✨ SYNOPSIS ✨

int zynq_gpio_is_zynq (struct zynq_gpio *gpio );

πŸŽ€ ARGUMENTS πŸŽ€

  • gpio β€” Pointer to driver data struct. That’s the bestie you hand over so the function can do its thing 🫢

πŸ¦‹ RETURN πŸ¦‹

It returns 0 if zynqmp, 1 if zynq. periodt. πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

The kernel file is ./drivers/gpio/gpio-zynq.c, and these are the linked faves you should also go read, fr fr:

mwah πŸ’‹ β€” source/version is ./drivers/gpio, dated October 2026. bye bestie, go slay that kernel code πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from