STRUCT SPEAR_PWM_CHIP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct spear_pwm_chip β€” okay so this is literally the struct that represents a pwm chip, bestie πŸ’… that's it, that's the whole vibe, it's a kernel API manual entry from the Kernel API Manual and we are so here for it πŸŽ€


🌸 SYNOPSIS 🌸

Here's the whole thing, no cap, exact characters, don't @ me:

struct spear_pwm_chip {
    void __iomem *mmio_base;
    struct clk *clk;
};

Two members. Two. And honestly? Iconic minimalism 🫢


πŸ¦‹ Members πŸ¦‹

  • mmio_base β€” the base address of the pwm chip, fr fr, that's where it lives ✨
  • clk β€” a pointer to the clk structure of the pwm chip, like it's holding hands with its clock the whole time πŸ˜­πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/pwm/pwm-spear.c β€” go read the source, iykyk πŸ‘‘

okay that's the whole page, it's short and sweet and honestly a little slay πŸ’€ no warnings, no exit statuses, no bugs listed β€” just vibes and two struct members 🌈

mwah πŸ’‹ that's a wrap β€” brought to you by the fine folks at ./drivers/pwm, dated October 2026, and yeah the page is literally named struct spear_pwm_chip(9) because we keep it consistent around here βœ¨πŸŽ€

πŸ“¦ where this page comes from