STRUCT OWL_PINCTRL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct owl_pinctrl(9) πŸ’–

okay so bestie, this page is straight out of the Kernel API Manual, and it's all about struct owl_pinctrl β€” the pinctrl state of the device. no cap, it's giving very "kernel internals but make it cute" energy πŸŽ€

πŸ’– NAME πŸ’–

struct owl_pinctrl β€” pinctrl state of the device.

✨ SYNOPSIS ✨

       struct owl_pinctrl {
           struct device *dev;
           struct pinctrl_dev *pctrldev;
           struct gpio_chip chip;
           raw_spinlock_t lock;
           struct clk *clk;
           const struct owl_pinctrl_soc_data *soc;
           void __iomem *base;
           unsigned int num_irq;
           unsigned int *irq;
        };

🫢 Members 🫢

  • dev β€” device handle, the whole device situation πŸ’…
  • pctrldev β€” pinctrl handle, literally the pinctrl one
  • chip β€” gpio chip, iconic gpio energy πŸ¦‹
  • lock β€” spinlock to protect registers, periodt πŸ”’
  • clk β€” clock control, the clock vibes are handled here ⏰
  • soc β€” reference to soc_data, iykyk 🌸
  • base β€” pinctrl register base address, the home base of the registers 🏠
  • num_irq β€” number of possible interrupts, the count fr fr πŸ”’
  • irq β€” interrupt numbers, the actual interrupt numbers themselves ⚑

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/pinctrl/actions/pinctrl-owl.c β€” that's the source file to go read, bestie, it's right there πŸ“–

mwah πŸ’‹ this little page is brought to you by source/version ./drivers/pinctrl/actions, dated October 2026, and titled struct owl_pinctrl(9) β€” slay πŸŽ€πŸ’…

πŸ“¦ where this page comes from